Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Unified Diff: remoting/webapp/host_setup_dialog.js

Issue 11769002: Apps v2 identity integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reviewer comments. Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/host_setup_dialog.js
diff --git a/remoting/webapp/host_setup_dialog.js b/remoting/webapp/host_setup_dialog.js
index c410ecebc8ff8b713209a480f7d16d92d4d034ed..15e34ca73528079a63c0fb0cd3c0994fcbfe81e6 100644
--- a/remoting/webapp/host_setup_dialog.js
+++ b/remoting/webapp/host_setup_dialog.js
@@ -158,8 +158,8 @@ remoting.HostSetupDialog.prototype.showForStart = function() {
// Although we don't need an access token in order to start the host,
// using callWithToken here ensures consistent error handling in the
// case where the refresh token is invalid.
- remoting.oauth2.callWithToken(this.showForStartWithToken_.bind(this),
- remoting.showErrorMessage);
+ remoting.identity.callWithToken(this.showForStartWithToken_.bind(this),
+ remoting.showErrorMessage);
};
/**

Powered by Google App Engine
This is Rietveld 408576698