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

Unified Diff: remoting/webapp/host_dispatcher.js

Issue 291133004: Automatic host installation for IT2Me on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
Index: remoting/webapp/host_dispatcher.js
diff --git a/remoting/webapp/host_dispatcher.js b/remoting/webapp/host_dispatcher.js
index a5ea504ecefeb75345cae26f972260e61cfc49e9..fe20019af0cb9e2868c06d4f263e68100bf69d0e 100644
--- a/remoting/webapp/host_dispatcher.js
+++ b/remoting/webapp/host_dispatcher.js
@@ -87,6 +87,13 @@ remoting.HostDispatcher.prototype.tryToInitialize_ = function() {
};
/**
+ * @return {remoting.HostPlugin}
+ */
+remoting.HostDispatcher.prototype.getNpapiHost = function() {
Jamie 2014/05/20 21:43:06 I don't like the host dispatcher exposing one of i
weitao 2014/05/20 22:09:13 I do plan to remove this in the subsequent CL's wh
+ return this.npapiHost_;
+}
+
+/**
* @param {remoting.HostController.Feature} feature The feature to test for.
* @param {function(boolean):void} onDone
* @return {void}
@@ -387,6 +394,9 @@ remoting.HostDispatcher.prototype.startDaemon =
};
/**
+ * This function installs the chromoting host using the NPAPI plugin and should
Jamie 2014/05/20 21:43:06 Nit: We shouldn't refer to "chromoting" in our sou
weitao 2014/05/20 22:09:13 Done.
+ * only be called on Windows.
+ *
* @param {function(remoting.HostController.AsyncResult):void} onDone
* @param {function(remoting.Error):void} onError
* @return {void}

Powered by Google App Engine
This is Rietveld 408576698