diff options
author | Vitaly Buka <vitalybuka@google.com> | 2015-11-17 17:04:01 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2015-11-18 21:40:31 +0000 |
commit | 88272d5b9e88dfd253c18aea4792fe57ee51696d (patch) | |
tree | 9335dff7ec310bbe690ec179ef3935e082ad8b0f /src/device_registration_info.h | |
parent | efee3a281cddd7975d4f732bf8179b1e32ce6806 (diff) | |
download | libweave-88272d5b9e88dfd253c18aea4792fe57ee51696d.tar.gz |
Replace clouddevices with weave in documentation and tests
Removed OAuth scope parameter as optional.
BUG:25627281
Change-Id: I1b2bce5b86fd7a0be89c446b5a13cc9c49244992
Reviewed-on: https://weave-review.googlesource.com/1538
Reviewed-by: Alex Vakulenko <avakulenko@google.com>
Diffstat (limited to 'src/device_registration_info.h')
-rw-r--r-- | src/device_registration_info.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/device_registration_info.h b/src/device_registration_info.h index f3bacc6..9d9d21f 100644 --- a/src/device_registration_info.h +++ b/src/device_registration_info.h @@ -85,20 +85,20 @@ class DeviceRegistrationInfo : public NotificationDelegate, // Returns the GCD service request URL. If |subpath| is specified, it is // appended to the base URL which is normally - // https://www.googleapis.com/clouddevices/v1/". + // https://www.googleapis.com/weave/v1/". // If |params| are specified, each key-value pair is formatted using // WebParamsEncode() and appended to URL as a query // string. // So, calling: // GetServiceURL("ticket", {{"key","apiKey"}}) // will return something like: - // https://www.googleapis.com/clouddevices/v1/ticket?key=apiKey + // https://www.googleapis.com/weave/v1/ticket?key=apiKey std::string GetServiceURL(const std::string& subpath = {}, const WebParamList& params = {}) const; // Returns a service URL to access the registered device on GCD server. // The base URL used to construct the full URL looks like this: - // https://www.googleapis.com/clouddevices/v1/devices/<cloud_id>/ + // https://www.googleapis.com/weave/v1/devices/<cloud_id>/ std::string GetDeviceURL(const std::string& subpath = {}, const WebParamList& params = {}) const; |