| Index: remoting/webapp/host_controller.js
|
| diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js
|
| index 68e538d85270c44e5b096804982a0e3894b5ccd6..5f04bce2289f892ae63214329f55ebf5ccf92976 100644
|
| --- a/remoting/webapp/host_controller.js
|
| +++ b/remoting/webapp/host_controller.js
|
| @@ -144,7 +144,7 @@ remoting.HostController.prototype.start = function(hostPin, consent, callback) {
|
| var hostSecretHash =
|
| that.plugin_.getPinHash(newHostId, hostPin);
|
| var hostConfig = JSON.stringify({
|
| - xmpp_login: remoting.oauth2.getCachedEmail(),
|
| + xmpp_login: remoting.identity.getCachedEmail(),
|
| oauth_refresh_token: remoting.oauth2.exportRefreshToken(),
|
| host_id: newHostId,
|
| host_name: hostName,
|
| @@ -190,7 +190,7 @@ remoting.HostController.prototype.start = function(hostPin, consent, callback) {
|
| /** @param {string} privateKey
|
| * @param {string} publicKey */
|
| function onKeyGenerated(privateKey, publicKey) {
|
| - remoting.oauth2.callWithToken(
|
| + remoting.identity.callWithToken(
|
| /** @param {string} oauthToken */
|
| function(oauthToken) {
|
| doRegisterHost(privateKey, publicKey, oauthToken);
|
|
|