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

Unified Diff: remoting/webapp/host_list.js

Issue 132793007: Download the host components when user tries to enable Me2Me host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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/host_dispatcher.js ('k') | remoting/webapp/host_native_messaging.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/host_list.js
diff --git a/remoting/webapp/host_list.js b/remoting/webapp/host_list.js
index d991e199f69e2f38b68fb4377fff0840dd530a0f..9a1fcb8079dd886df5f66beda666c1bcc5f72725 100644
--- a/remoting/webapp/host_list.js
+++ b/remoting/webapp/host_list.js
@@ -80,7 +80,9 @@ remoting.HostList = function(table, noHosts, errorMsg, errorButton,
* @type {remoting.HostController.State}
* @private
*/
- this.localHostState_ = remoting.HostController.State.NOT_IMPLEMENTED;
+ this.localHostState_ = remoting.isMe2MeSupported()
+ ? remoting.HostController.State.NOT_INSTALLED
+ : remoting.HostController.State.NOT_IMPLEMENTED;
/**
* @type {number}
* @private
« no previous file with comments | « remoting/webapp/host_dispatcher.js ('k') | remoting/webapp/host_native_messaging.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698