Index: remoting/webapp/host_controller.js |
diff --git a/remoting/webapp/host_controller.js b/remoting/webapp/host_controller.js |
index 5f45dae161d99727aa4cec906c57b0d0f414d23d..419e22773de149fc1fa77e943d0aeb37aa5d840c 100644 |
--- a/remoting/webapp/host_controller.js |
+++ b/remoting/webapp/host_controller.js |
@@ -66,6 +66,22 @@ remoting.HostController.prototype.state = function() { |
}; |
/** |
+ * @param {function(boolean, boolean):void} callback |
+ * Callback to be called when done. |
Jamie
2012/06/14 23:43:56
Nit: Indent the description four spaces, and start
alexeypa (please no reviews)
2012/06/19 23:27:29
Done.
|
+ */ |
+remoting.HostController.prototype.getConsent = function(callback) { |
+ this.plugin_.getUsageStatsConsent(callback); |
+}; |
+ |
+/** |
+ * Records the user's consent to crash dump reporting. |
+ * @param {boolean} Whether the user allows crash dump reporting. |
Jamie
2012/06/14 23:43:56
You're missing an |allowed| in this JSDoc comment.
alexeypa (please no reviews)
2012/06/19 23:27:29
Done.
|
+ */ |
+remoting.HostController.prototype.setConsent = function(allowed) { |
+ this.plugin_.setUsageStatsConsent(allowed); |
+}; |
+ |
+/** |
* Show or hide daemon-specific parts of the UI. |
* @return {void} Nothing. |
*/ |