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