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

Unified Diff: remoting/webapp/remoting.js

Issue 232223003: Windows chromoting host installation via the NPAPI plugin (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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
Index: remoting/webapp/remoting.js
diff --git a/remoting/webapp/remoting.js b/remoting/webapp/remoting.js
index 4c5efadd849a64598178f8fb8fc7c328565a701f..2fc8e9ee7f34a929d10b5c4618f47d6f687a8cf6 100644
--- a/remoting/webapp/remoting.js
+++ b/remoting/webapp/remoting.js
@@ -184,8 +184,11 @@ remoting.createNpapiPlugin = function(container) {
remoting.isMe2MeInstallable = function() {
/** @type {string} */
var platform = navigator.platform;
- // Chromoting host is not installable on ChromeOS and any linux distro other
- // than Ubuntu.
+ // The chromoting host is currently not installable on ChromeOS.
+ // For Linux, we have a install package for Ubuntu but not other distros.
+ // Since we cannot tell from javascript alone the Linux distro the client is
+ // on, we don't show the daemon-control UI for Linux unless the host is
+ // installed.
return platform == 'Win32' || platform == 'MacIntel';
}
« remoting/webapp/host_setup_dialog.js ('K') | « remoting/webapp/js_proto/remoting_proto.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698