Use OAuth2 proxy for login.

BUG=None
TEST=Connections still work.

Review URL: http://codereview.chromium.org/7067002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86336 0039d316-1c4b-4281-b951-d872f2087c98
parent 44ac1808
......@@ -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');
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment