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

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

Issue 7981025: Use P2P Transport API by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 years, 3 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/client_session.js
diff --git a/remoting/webapp/me2mom/client_session.js b/remoting/webapp/me2mom/client_session.js
index 4940ed88fa18bc5e04959cf07e5d64ed18770f34..ec15ed6637f80f509aa2003f4e60f93942a51584 100644
--- a/remoting/webapp/me2mom/client_session.js
+++ b/remoting/webapp/me2mom/client_session.js
@@ -254,13 +254,8 @@ remoting.ClientSession.prototype.connectPluginToWcs_ =
remoting.debug.log('Receiving Iq: ' + stanza);
that.plugin.onIq(stanza);
});
- if (remoting.useP2pApi) {
- this.plugin.connect(this.hostJid, this.hostPublicKey, this.clientJid,
- this.accessCode, remoting.useP2pApi);
- } else {
- that.plugin.connect(this.hostJid, this.hostPublicKey, this.clientJid,
- this.accessCode);
- }
+ that.plugin.connect(this.hostJid, this.hostPublicKey, this.clientJid,
+ this.accessCode);
};
/**

Powered by Google App Engine
This is Rietveld 408576698