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.
5 #ifndef COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_
6 #define COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_
12 namespace cloud_devices
{
14 extern const char kCloudPrintAuthScope
[];
15 extern const char kCloudDevicesAuthScope
[];
16 extern const char kCloudPrintLearnMoreURL
[];
17 extern const char kCloudPrintTestPageURL
[];
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 bool IsCloudPrintURL(const GURL
& url
);
28 GURL
GetCloudDevicesURL();
29 GURL
GetCloudDevicesRelativeURL(const std::string
& relative_path
);
31 } // namespace cloud_devices
33 #endif // COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_