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

Unified Diff: remoting/webapp/me2mom/remoting_session.js

Issue 7067002: Use OAuth2 proxy for login. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/remoting_session.js
diff --git a/remoting/webapp/me2mom/remoting_session.js b/remoting/webapp/me2mom/remoting_session.js
index cb6c86617cb8a2a57998efccd31766caf64b108c..fe5c13affde6d798f8e1ee6d9d8c6df83e988800 100644
--- a/remoting/webapp/me2mom/remoting_session.js
+++ b/remoting/webapp/me2mom/remoting_session.js
@@ -15,7 +15,8 @@ remoting.scaleToFit = false;
// Default to trying to sandboxed connections.
remoting.connectMethod = 'sandboxed';
-remoting.httpXmppProxy = 'https://chromoting-httpxmpp-dev.corp.google.com';
+remoting.httpXmppProxy =
+ 'https://chromoting-httpxmpp-oauth2-dev.corp.google.com';
// This executes a poll loop on the server for more Iq packets, and feeds them
// to the plugin.
@@ -67,7 +68,7 @@ function registerConnection() {
}
xhr.send('host_jid=' + encodeURIComponent(remoting.hostjid) +
'&username=' + encodeURIComponent(remoting.username) +
- '&password=' + encodeURIComponent(remoting.xmppAuthToken));
+ '&password=' + encodeURIComponent(remoting.oauth2.getAccessToken()));
setClientStateMessage('Connecting');
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698