| Index: components/cloud_devices/common/cloud_devices_urls.cc
|
| diff --git a/components/cloud_devices/common/cloud_devices_urls.cc b/components/cloud_devices/common/cloud_devices_urls.cc
|
| index 76454292e71d37def6119cf248baa1c66e509bf0..33f6acc3185134f0ee0a2ecd8aaa1ef503a58db3 100644
|
| --- a/components/cloud_devices/common/cloud_devices_urls.cc
|
| +++ b/components/cloud_devices/common/cloud_devices_urls.cc
|
| @@ -85,7 +85,7 @@ GURL GetCloudPrintEnableURL(const std::string& proxy_id) {
|
| return url;
|
| }
|
|
|
| -GURL GetCloudPrintEnableURLWithSignin(const std::string& proxy_id) {
|
| +GURL GetCloudPrintEnableWithSigninURL(const std::string& proxy_id) {
|
| GURL url(GaiaUrls::GetInstance()->service_login_url());
|
| url = net::AppendQueryParameter(url, "service", "cloudprint");
|
| url = net::AppendQueryParameter(url, "sarp", "1");
|
| @@ -93,6 +93,13 @@ GURL GetCloudPrintEnableURLWithSignin(const std::string& proxy_id) {
|
| return net::AppendQueryParameter(url, "continue", continue_str);
|
| }
|
|
|
| +GURL GetCloudPrintManageDeviceURL(const std::string& device_id) {
|
| + std::string ref = "printers/" + device_id;
|
| + GURL::Replacements replacements;
|
| + replacements.SetRefStr(ref);
|
| + return GetCloudPrintURL().ReplaceComponents(replacements);
|
| +}
|
| +
|
| GURL GetCloudDevicesURL() {
|
| const CommandLine* command_line = CommandLine::ForCurrentProcess();
|
| GURL cloud_print_url(
|
|
|