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

Unified Diff: remoting/webapp/host_controller.js

Issue 15017006: Move test for enabling/disabling It2Me Share button (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nit Created 7 years, 7 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 | « no previous file | remoting/webapp/main.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/host_controller.js
diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js
index 2a613fdc201c39fc05bb882fcff1c4d6ee295c4e..adc3b1a7fb488273ea8344396c1d68b50df82017 100644
--- a/remoting/webapp/host_controller.js
+++ b/remoting/webapp/host_controller.js
@@ -12,9 +12,6 @@ remoting.HostController = function() {
/** @type {remoting.HostController} */
var that = this;
- /** @type {boolean} @private */
- this.pluginSupported_ = true;
-
/** @type {remoting.HostNativeMessaging} @private */
this.plugin_ = new remoting.HostNativeMessaging();
@@ -39,12 +36,10 @@ remoting.HostController = function() {
console.log('Host version: ' + version);
}
};
- that.pluginSupported_ = true;
try {
that.plugin_.getDaemonVersion(printVersion);
} catch (err) {
console.log('Host version not available.');
- that.pluginSupported_ = false;
}
}
@@ -74,16 +69,6 @@ remoting.HostController.AsyncResult = {
};
/**
- * Checks whether or not the host plugin is valid.
- *
- * @return {boolean} True if the plugin is supported and loaded; false
- * otherwise.
- */
-remoting.HostController.prototype.isPluginSupported = function() {
- return this.pluginSupported_;
-};
-
-/**
* @param {function(boolean, boolean, boolean):void} callback Callback to be
* called when done.
*/
« no previous file with comments | « no previous file | remoting/webapp/main.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698