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

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

Issue 8782001: Refactored HostList to better support bookmarking. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Linter and rebase. Created 9 years 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.js
diff --git a/remoting/webapp/me2mom/remoting.js b/remoting/webapp/me2mom/remoting.js
index b96da60a134de8b39eef8c2deaf657ad3d85cf8a..2d22f00c912dd01a552935bbf914ad4285d57c28 100644
--- a/remoting/webapp/me2mom/remoting.js
+++ b/remoting/webapp/me2mom/remoting.js
@@ -53,10 +53,8 @@ remoting.init = function() {
var urlParams = getUrlParameters();
if ('mode' in urlParams) {
if (urlParams['mode'] == 'me2me') {
- var hostJid = urlParams['hostJid'];
- var hostPublicKey = urlParams['hostPublicKey'];
- var hostName = urlParams['hostName'];
- remoting.connectHost(hostJid, hostPublicKey, hostName);
+ var hostId = urlParams['hostId'];
+ remoting.connectHost(hostId, true);
return;
}
}

Powered by Google App Engine
This is Rietveld 408576698