Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / components / cloud_devices / common / cloud_devices_urls.h
blob5040d76bf0135cd426353a31ede7b28d9bc2fe2e
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_
8 #include <string>
10 #include "url/gurl.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_