Index: remoting/webapp/session_connector.js |
diff --git a/remoting/webapp/session_connector.js b/remoting/webapp/session_connector.js |
index d3169bb5fce78d8f050b3489bf6a373825f14056..0f593bd28b901ac947509c5bcc1889488876dc55 100644 |
--- a/remoting/webapp/session_connector.js |
+++ b/remoting/webapp/session_connector.js |
@@ -336,15 +336,6 @@ remoting.SessionConnector.prototype.getHostId = function() { |
}; |
/** |
- * Get host display name. |
- * |
- * @return {string} |
- */ |
-remoting.SessionConnector.prototype.getHostDisplayName = function() { |
- return this.hostDisplayName_; |
-}; |
- |
-/** |
* Continue an IT2Me connection once an access token has been obtained. |
* |
* @param {string} token An OAuth2 access token. |
@@ -402,9 +393,10 @@ remoting.SessionConnector.prototype.createSession_ = function() { |
var authenticationMethods = |
'third_party,spake2_pair,spake2_hmac,spake2_plain'; |
this.clientSession_ = new remoting.ClientSession( |
- this.passPhrase_, this.fetchPin_, this.fetchThirdPartyToken_, |
- authenticationMethods, this.hostId_, this.hostJid_, this.hostPublicKey_, |
- this.connectionMode_, this.clientPairingId_, this.clientPairedSecret_); |
+ this.hostDisplayName_, this.passPhrase_, this.fetchPin_, |
+ this.fetchThirdPartyToken_, authenticationMethods, this.hostId_, |
+ this.hostJid_, this.hostPublicKey_, this.connectionMode_, |
+ this.clientPairingId_, this.clientPairedSecret_); |
this.clientSession_.logHostOfflineErrors(!this.refreshHostJidIfOffline_); |
this.clientSession_.addEventListener( |
remoting.ClientSession.Events.stateChanged, |