summaryrefslogtreecommitdiff
path: root/chromium/components/cloud_devices/common/cloud_devices_urls.h
blob: 6cb761acfedd23ba31fe4619aebc6d0ed48bb647 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_
#define COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_

#include <string>

#include "url/gurl.h"

namespace cloud_devices {

extern const char kCloudPrintAuthScope[];
extern const char kCloudPrintLearnMoreURL[];
extern const char kCloudPrintTestPageURL[];

GURL GetCloudPrintURL();
GURL GetCloudPrintRelativeURL(const std::string& relative_path);
GURL GetCloudPrintEnableURL(const std::string& proxy_id);
GURL GetCloudPrintEnableWithSigninURL(const std::string& proxy_id);
GURL GetCloudPrintManageDeviceURL(const std::string& device_id);
GURL GetCloudPrintSigninURL();
GURL GetCloudPrintAddAccountURL();
bool IsCloudPrintURL(const GURL& url);

}  // namespace cloud_devices

#endif  // COMPONENTS_CLOUD_DEVICES_COMMON_CLOUD_DEVICES_URLS_H_