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

Unified Diff: remoting/webapp/crd/js/session_connector_impl.js

Issue 1008003002: [Webapp Refactor] Implements Me2MeConnectFlow as an object. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 9 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
« no previous file with comments | « remoting/webapp/crd/js/me2me_connect_flow.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/session_connector_impl.js
diff --git a/remoting/webapp/crd/js/session_connector_impl.js b/remoting/webapp/crd/js/session_connector_impl.js
index b84feee9a8dddd85227d24242f1b31120a195569..858628b47704cd9e0d04d7aac9866d75f729bbcf 100644
--- a/remoting/webapp/crd/js/session_connector_impl.js
+++ b/remoting/webapp/crd/js/session_connector_impl.js
@@ -141,7 +141,7 @@ remoting.SessionConnectorImpl.prototype.connectMe2Me =
this.logHostOfflineErrors_ = false;
var credentialsProvider = new remoting.CredentialsProvider({
fetchPin: fetchPin,
- pairingInfo: { id: clientPairingId, secret: clientPairedSecret },
+ pairingInfo: {clientId: clientPairingId, sharedSecret: clientPairedSecret},
fetchThirdPartyToken: fetchThirdPartyToken
});
this.connect(
@@ -194,8 +194,8 @@ remoting.SessionConnectorImpl.prototype.connectMe2App =
remoting.SessionConnectorImpl.prototype.updatePairingInfo =
function(clientId, sharedSecret) {
var pairingInfo = this.credentialsProvider_.getPairingInfo();
- pairingInfo.id = clientId;
- pairingInfo.secret = sharedSecret;
+ pairingInfo.clientId = clientId;
+ pairingInfo.sharedSecret = sharedSecret;
};
/**
« no previous file with comments | « remoting/webapp/crd/js/me2me_connect_flow.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698