Index: remoting/webapp/session_connector.js |
diff --git a/remoting/webapp/session_connector.js b/remoting/webapp/session_connector.js |
index a5facb5e96fcb4295f9ba5262567c686a76c4a5c..5940b8427cd84634a47d19029557efd377f8bbd4 100644 |
--- a/remoting/webapp/session_connector.js |
+++ b/remoting/webapp/session_connector.js |
@@ -194,6 +194,18 @@ remoting.SessionConnector.prototype.connectMe2Me = |
}; |
/** |
+ * Update the pairing info so that the reconnect function will work correctly. |
+ * |
+ * @param {string} clientId The paired client id. |
+ * @param {string} sharedSecret The shared secret. |
+ */ |
+remoting.SessionConnector.prototype.updatePairingInfo = |
+ function(clientId, sharedSecret) { |
+ this.clientPairingId_ = clientId; |
alexeypa (please no reviews)
2013/08/09 21:35:26
nit: update connectMe2MeInternal_ to call updatePa
Jamie
2013/08/09 21:46:58
Done.
|
+ this.clientPairedSecret_ = sharedSecret; |
+}; |
+ |
+/** |
* Initiate a Me2Me connection. |
* |
* @param {string} hostId ID of the Me2Me host. |