| Index: remoting/webapp/crd/js/host_list_api.js
|
| diff --git a/remoting/webapp/crd/js/host_list_api.js b/remoting/webapp/crd/js/host_list_api.js
|
| index 4e6cd72babb97d6fdfb9bb4cc44e44acf5a6ef04..2dd4b018351fc79f4921ed530aa8af196d9f4f34 100644
|
| --- a/remoting/webapp/crd/js/host_list_api.js
|
| +++ b/remoting/webapp/crd/js/host_list_api.js
|
| @@ -26,7 +26,7 @@ remoting.HostListApi = function() {
|
| * @param {string} hostName The user-visible name of the new host.
|
| * @param {string} publicKey The public half of the host's key pair.
|
| * @param {string} hostClientId The OAuth2 client ID of the host.
|
| - * @return {!Promise<string>} An OAuth2 auth code or the empty string.
|
| + * @return {!Promise<remoting.HostListApi.RegisterResult>}
|
| */
|
| remoting.HostListApi.prototype.register = function(
|
| newHostId, hostName, publicKey, hostClientId) {
|
| @@ -87,3 +87,15 @@ remoting.HostListApi.setInstance = function(newInstance) {
|
| };
|
|
|
| })();
|
| +
|
| +/**
|
| + * A pair of an OAuth2 auth code and a robot account email. Depending
|
| + * on the specifics of the registration process, either could be the
|
| + * empty string.
|
| + *
|
| + * @typedef {{
|
| + * authCode: string,
|
| + * email: string
|
| + * }}
|
| + */
|
| +remoting.HostListApi.RegisterResult;
|
|
|