diff options
author | noamsml@chromium.org <noamsml@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-23 23:53:28 +0000 |
---|---|---|
committer | noamsml@chromium.org <noamsml@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-23 23:53:28 +0000 |
commit | 90f6a58d8feebbbf9de5f868e98a8f833a31abf7 (patch) | |
tree | 4e874481ecc26cdb307bffa266a6912a9508c4b7 /chrome/common/cloud_print | |
parent | 8aa03286b8473f4fdbc8c4b727eecfd4cdf34736 (diff) | |
download | chromium_src-90f6a58d8feebbbf9de5f868e98a8f833a31abf7.zip chromium_src-90f6a58d8feebbbf9de5f868e98a8f833a31abf7.tar.gz chromium_src-90f6a58d8feebbbf9de5f868e98a8f833a31abf7.tar.bz2 |
Implement server-side confirm request for privet registration
This implements the confirm request side of privet registration that sends an
authenticated request to the cloud print server to claim the device.
BUG=245375
Review URL: https://chromiumcodereview.appspot.com/19788004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213277 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/cloud_print')
-rw-r--r-- | chrome/common/cloud_print/cloud_print_constants.cc | 2 | ||||
-rw-r--r-- | chrome/common/cloud_print/cloud_print_constants.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/cloud_print/cloud_print_constants.cc b/chrome/common/cloud_print/cloud_print_constants.cc index b25773b..1541946 100644 --- a/chrome/common/cloud_print/cloud_print_constants.cc +++ b/chrome/common/cloud_print/cloud_print_constants.cc @@ -9,6 +9,7 @@ namespace cloud_print { const char kCloudPrintUserAgent[] = "GoogleCloudPrintProxy"; const char kChromeCloudPrintProxyHeader[] = "X-CloudPrint-Proxy: Chrome"; const char kCloudPrintPushNotificationsSource[] = "cloudprint.google.com"; +const char kCloudPrintAuth[] = "https://www.googleapis.com/auth/cloudprint"; const char kProxyIdValue[] = "proxy"; const char kPrinterNameValue[] = "printer"; @@ -57,4 +58,3 @@ const char kJobFetchReasonFailure[] = "failure"; const char kJobFetchReasonRetry[] = "retry"; } // namespace cloud_print - diff --git a/chrome/common/cloud_print/cloud_print_constants.h b/chrome/common/cloud_print/cloud_print_constants.h index c9933cd..0f5a582 100644 --- a/chrome/common/cloud_print/cloud_print_constants.h +++ b/chrome/common/cloud_print/cloud_print_constants.h @@ -15,6 +15,8 @@ extern const char kCloudPrintUserAgent[]; extern const char kChromeCloudPrintProxyHeader[]; // The source of cloud print notifications. extern const char kCloudPrintPushNotificationsSource[]; +// The cloud print OAuth2 scope. +extern const char kCloudPrintAuth[]; // Values used to register or update a printer with the cloud print service. extern const char kProxyIdValue[]; @@ -115,4 +117,3 @@ const int kJobWaitTimeExponentialMultiplier = 2; } // namespace cloud_print #endif // CHROME_COMMON_CLOUD_PRINT_CLOUD_PRINT_CONSTANTS_H_ - |