1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_ 6 #define COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_ 7 8 #include <string> 9 10 #include "url/gurl.h" 11 12 namespace cloud_devices { 13 14 extern const char kCloudPrintAuthScope[]; 15 extern const char kCloudDevicesAuthScope[]; 16 extern const char kCloudPrintLearnMoreURL[]; 17 extern const char kCloudPrintTestPageURL[]; 18 19 GURL GetCloudPrintURL(); 20 GURL GetCloudPrintRelativeURL(const std::string& relative_path); 21 GURL GetCloudPrintEnableURL(const std::string& proxy_id); 22 GURL GetCloudPrintEnableWithSigninURL(const std::string& proxy_id); 23 GURL GetCloudPrintManageDeviceURL(const std::string& device_id); 24 GURL GetCloudPrintSigninURL(); 25 GURL GetCloudPrintAddAccountURL(); 26 27 GURL GetCloudDevicesURL(); 28 GURL GetCloudDevicesRelativeURL(const std::string& relative_path); 29 30 } // namespace cloud_devices 31 32 #endif // COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_ 33