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

Unified Diff: remoting/webapp/host_plugin_proto.js

Issue 10537182: The user's consent to crash dumps reporting can now be set via the UI (Windows only). The checkbox … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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_plugin_proto.js
diff --git a/remoting/webapp/host_plugin_proto.js b/remoting/webapp/host_plugin_proto.js
index da1697f8809c3614ec3ebf86b00b14f04bcb222f..36e204b312a03855707d3a4785b1a0477a3ed9c6 100644
--- a/remoting/webapp/host_plugin_proto.js
+++ b/remoting/webapp/host_plugin_proto.js
@@ -63,6 +63,16 @@ remoting.HostPlugin.prototype.getDaemonConfig = function(callback) {};
* @return {void} Nothing. */
remoting.HostPlugin.prototype.getDaemonVersion = function(callback) {};
+/** @param {function(int):void} callback Callback to be called with
+ * the consent.
+ * @return {void} Nothing. */
+remoting.HostPlugin.prototype.getUsageStatsConsent = function(callback) {};
+
+/** @param int allowed True if the user agreed to report crash dumps, False
+ * otherwise.
+ * @return {void} Nothing. */
+remoting.HostPlugin.prototype.setUsageStatsConsent = function(allowed) {};
+
/** @param {string} config Host configuration.
* @param {function(remoting.HostController.AsyncResult):void} callback
* Callback to be called when finished.

Powered by Google App Engine
This is Rietveld 408576698