summaryrefslogtreecommitdiffstats
path: root/remoting/webapp
diff options
context:
space:
mode:
authorukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 08:15:46 +0000
committerukai@chromium.org <ukai@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-25 08:15:46 +0000
commitac506f83614dc9d010b237d204d59e1c6c6a744e (patch)
treebbf86669dc1cf7bd0390c52c8595b3df1fb502fd /remoting/webapp
parent1e0c8e079bbd88d841e6d2459f96f78faee64035 (diff)
downloadchromium_src-ac506f83614dc9d010b237d204d59e1c6c6a744e.zip
chromium_src-ac506f83614dc9d010b237d204d59e1c6c6a744e.tar.gz
chromium_src-ac506f83614dc9d010b237d204d59e1c6c6a744e.tar.bz2
Revert 86575 - Revert 86573 - Add separate nonce version of connect calls to ChromotingScriptableObject.
It causes PPAPITest.Transport failure on Vista, but sergeyu told me PPAPITest.Trasnport is flaky and the failure has nothing to do with the original CL. BUG=none TEST=manual Review URL: http://codereview.chromium.org/7042022 TBR=garykac@chromium.org Review URL: http://codereview.chromium.org/7069005 Review URL: http://codereview.chromium.org/7068006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86582 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/webapp')
-rw-r--r--remoting/webapp/me2mom/remoting_session.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/remoting/webapp/me2mom/remoting_session.js b/remoting/webapp/me2mom/remoting_session.js
index 8a605dd..1a2629e 100644
--- a/remoting/webapp/me2mom/remoting_session.js
+++ b/remoting/webapp/me2mom/remoting_session.js
@@ -55,8 +55,8 @@ function registerConnection() {
var clientjid = xhr.responseText;
remoting.plugin.sendIq = sendIq;
- remoting.plugin.connectSandboxed(clientjid, remoting.hostjid,
- remoting.accessCode);
+ remoting.plugin.connect(remoting.hostjid, clientjid,
+ remoting.accessCode);
// TODO(ajwong): This should just be feedIq();
window.setTimeout(feedIq, 1000);
} else {
@@ -123,8 +123,8 @@ function init() {
if (remoting.connectMethod == 'sandboxed') {
registerConnection();
} else {
- plugin.connect(remoting.username, remoting.hostjid,
- remoting.xmppAuthToken, remoting.accessCode);
+ plugin.connectUnsandboxed(remoting.hostjid, remoting.username,
+ remoting.xmppAuthToken, remoting.accessCode);
}
} else {
addToDebugLog('ERROR: remoting plugin not loaded');