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>
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 @@
 
   // 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;