| 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 33f6acc3185134f0ee0a2ecd8aaa1ef503a58db3..9e1090e3093daf503b9cce9cda887b4a7aab6992 100644
|
| --- a/components/cloud_devices/common/cloud_devices_urls.cc
|
| +++ b/components/cloud_devices/common/cloud_devices_urls.cc
|
| @@ -33,6 +33,7 @@ namespace {
|
| const char kCloudPrintURL[] = "https://www.google.com/cloudprint";
|
|
|
| const char kCloudDevicesUrl[] = "https://www.googleapis.com/clouddevices/v1";
|
| +
|
| }
|
|
|
| // Returns the root service URL for the cloud print service. The default is to
|
| @@ -50,7 +51,7 @@ GURL GetCloudPrintURL() {
|
| GURL GetCloudPrintRelativeURL(const std::string& relative_path) {
|
| GURL url = GetCloudPrintURL();
|
| std::string path;
|
| - const char kURLPathSeparator[] = "/";
|
| + static const char kURLPathSeparator[] = "/";
|
| base::TrimString(url.path(), kURLPathSeparator, &path);
|
| std::string trimmed_path;
|
| base::TrimString(relative_path, kURLPathSeparator, &trimmed_path);
|
|
|