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

Unified Diff: trunk/src/remoting/webapp/session_connector.js

Issue 336423003: Revert 277797 "Refactor tool-bar event handlers." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 6 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 | « trunk/src/remoting/webapp/options_menu.js ('k') | trunk/src/remoting/webapp/toolbar.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/remoting/webapp/session_connector.js
===================================================================
--- trunk/src/remoting/webapp/session_connector.js (revision 277837)
+++ trunk/src/remoting/webapp/session_connector.js (working copy)
@@ -336,6 +336,15 @@
};
/**
+ * 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.
@@ -393,10 +402,9 @@
var authenticationMethods =
'third_party,spake2_pair,spake2_hmac,spake2_plain';
this.clientSession_ = new remoting.ClientSession(
- this.hostDisplayName_, this.passPhrase_, this.fetchPin_,
- this.fetchThirdPartyToken_, authenticationMethods, this.hostId_,
- this.hostJid_, this.hostPublicKey_, this.connectionMode_,
- this.clientPairingId_, this.clientPairedSecret_);
+ 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,
« no previous file with comments | « trunk/src/remoting/webapp/options_menu.js ('k') | trunk/src/remoting/webapp/toolbar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698