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

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: Removed identity.js from html. Fixed patch. 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..b9e68256d715875b70fb73414014c690b15e8796 100644
--- a/remoting/webapp/host_setup_dialog.js
+++ b/remoting/webapp/host_setup_dialog.js
@@ -158,7 +158,7 @@ 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.identity.callWithToken(this.showForStartWithToken_.bind(this),
remoting.showErrorMessage);
Wez 2013/01/05 00:04:24 nit: Indentation.
Jamie 2013/01/05 01:32:54 Done.
};

Powered by Google App Engine
This is Rietveld 408576698