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

Unified Diff: remoting/webapp/host_plugin_proto.js

Issue 9316078: Added daemon process NPAPI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Separated out Start/SetPin and added return codes to Stop and Start. Created 8 years, 10 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
« remoting/host/plugin/daemon_controller.h ('K') | « remoting/remoting.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/host_plugin_proto.js
diff --git a/remoting/webapp/host_plugin_proto.js b/remoting/webapp/host_plugin_proto.js
index a64ac463acf52ab1d660a2ce887ec4be915e28f3..5f23ba90a883f9632031e0ac372efe64fe36eaf9 100644
--- a/remoting/webapp/host_plugin_proto.js
+++ b/remoting/webapp/host_plugin_proto.js
@@ -25,6 +25,16 @@ remoting.HostPlugin.prototype.disconnect = function() {};
* @return {void} Nothing. */
remoting.HostPlugin.prototype.localize = function(callback) {};
+/** @param {string} pin The new PIN.
+ * @return {boolean} True if the PIN was changed successfully. */
+remoting.HostPlugin.prototype.setDaemonPin = function(pin) {};
+
+/** @return {boolean} True if successful (poll daemonState for completion). */
+remoting.HostPlugin.prototype.startDaemon = function() {};
+
+/** @return {void} Nothing. */
+remoting.HostPlugin.prototype.stopDaemon = function() {};
+
/** @type {number} */ remoting.HostPlugin.prototype.state;
/** @type {number} */ remoting.HostPlugin.prototype.STARTING;
@@ -40,5 +50,8 @@ remoting.HostPlugin.prototype.localize = function(callback) {};
/** @type {string} */ remoting.HostPlugin.prototype.client;
+/** @type {number} The install/running state of the daemon process. */
+remoting.HostPlugin.prototype.daemonState;
+
/** @type {function(boolean):void} */
remoting.HostPlugin.prototype.onNatTraversalPolicyChanged;
« remoting/host/plugin/daemon_controller.h ('K') | « remoting/remoting.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698