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

Unified Diff: remoting/webapp/event_handlers.js

Issue 11769002: Apps v2 identity integration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 11 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/event_handlers.js
diff --git a/remoting/webapp/event_handlers.js b/remoting/webapp/event_handlers.js
index 324fb79c01c39f2d9146d03efbb3341bd2a1116f..f3a8c241c464a734049f2c01b13095adcbd48232 100644
--- a/remoting/webapp/event_handlers.js
+++ b/remoting/webapp/event_handlers.js
@@ -15,7 +15,7 @@ function onLoad() {
// We don't need a token until we authenticate, but asking for one here
// handles the token-expired case earlier, avoiding asking the user for
// the access code both before and after re-authentication.
- remoting.oauth2.callWithToken(
+ remoting.identity.callWithToken(
/** @param {string} token */
function(token) {
remoting.setMode(remoting.AppMode.CLIENT_UNCONNECTED);

Powered by Google App Engine
This is Rietveld 408576698