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

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

Issue 7008003: Wire in OAuth2 support into non-sandboxed connections in libjingle. (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
Index: remoting/webapp/me2mom/remoting_session.js
diff --git a/remoting/webapp/me2mom/remoting_session.js b/remoting/webapp/me2mom/remoting_session.js
index 1a2629e8b3da1a3e6975a104e8147a9fa4966641..69573c3d8d3f967052d9cff7de1cad5fed19aec0 100644
--- a/remoting/webapp/me2mom/remoting_session.js
+++ b/remoting/webapp/me2mom/remoting_session.js
@@ -124,7 +124,8 @@ function init() {
registerConnection();
} else {
plugin.connectUnsandboxed(remoting.hostjid, remoting.username,
- remoting.xmppAuthToken, remoting.accessCode);
+ 'oauth2:' + remoting.oauth2.getAccessToken(),
+ remoting.accessCode);
}
} else {
addToDebugLog('ERROR: remoting plugin not loaded');
« remoting/webapp/me2mom/remoting.js ('K') | « remoting/webapp/me2mom/remoting_session.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698