| Index: remoting/webapp/host_controller.js
|
| diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js
|
| index 70cf69e1caf9b2b342930f1fd881a7473d2a7823..619abe3be8faf0715186d523f1fc06c335709998 100644
|
| --- a/remoting/webapp/host_controller.js
|
| +++ b/remoting/webapp/host_controller.js
|
| @@ -68,15 +68,8 @@ remoting.HostController.AsyncResult.fromString = function(result) {
|
| * @private
|
| */
|
| remoting.HostController.prototype.createDispatcher_ = function() {
|
| - /** @return {remoting.HostPlugin} */
|
| - var createPluginForMe2Me = function() {
|
| - /** @type {HTMLElement} @private */
|
| - var container = document.getElementById('daemon-plugin-container');
|
| - return remoting.createNpapiPlugin(container);
|
| - };
|
| -
|
| /** @type {remoting.HostDispatcher} @private */
|
| - var hostDispatcher = new remoting.HostDispatcher(createPluginForMe2Me);
|
| + var hostDispatcher = new remoting.HostDispatcher();
|
|
|
| /** @param {string} version */
|
| var printVersion = function(version) {
|
| @@ -126,27 +119,6 @@ remoting.HostController.prototype.getConsent = function(onDone, onError) {
|
| };
|
|
|
| /**
|
| - * @param {function(remoting.HostController.AsyncResult):void} onDone
|
| - * @param {function(remoting.Error):void} onError
|
| - * @return {void}
|
| - */
|
| -remoting.HostController.prototype.installHost = function(onDone, onError) {
|
| - /** @type {remoting.HostController} */
|
| - var that = this;
|
| -
|
| - /** @param {remoting.HostController.AsyncResult} asyncResult */
|
| - var onHostInstalled = function(asyncResult) {
|
| - // Refresh the dispatcher after the host has been installed.
|
| - if (asyncResult == remoting.HostController.AsyncResult.OK) {
|
| - that.hostDispatcher_ = that.createDispatcher_();
|
| - }
|
| - onDone(asyncResult);
|
| - };
|
| -
|
| - this.hostDispatcher_.installHost(onHostInstalled, onError);
|
| -};
|
| -
|
| -/**
|
| * Registers and starts the host.
|
| *
|
| * @param {string} hostPin Host PIN.
|
| @@ -530,13 +502,5 @@ remoting.HostController.prototype.clearPairedClients = function(
|
| this.hostDispatcher_.clearPairedClients(onDone, onError);
|
| };
|
|
|
| -/**
|
| - * Returns true if the NPAPI plugin is being used.
|
| - * @return {boolean}
|
| - */
|
| -remoting.HostController.prototype.usingNpapiPlugin = function() {
|
| - return this.hostDispatcher_.usingNpapiPlugin();
|
| -}
|
| -
|
| /** @type {remoting.HostController} */
|
| remoting.hostController = null;
|
|
|