| 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.
|
| */
|
|
|