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

Unified Diff: remoting/host/breakpad.h

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/host/breakpad.h
diff --git a/remoting/host/breakpad.h b/remoting/host/breakpad.h
index bd13b98df524d57531d60e1ef3ae5ac0e3624d73..6133cb6e064a7f9eb4ec3d63b9457b97ab7021d6 100644
--- a/remoting/host/breakpad.h
+++ b/remoting/host/breakpad.h
@@ -7,8 +7,13 @@
namespace remoting {
-// Returns true if the user has agreed to crash dump collection and uploading.
-bool IsCrashReportingEnabled();
+// Retrieves the user's consent to collect crash dumps and gather usage
+// statistics.
+bool GetUsageStatsConsent(bool* set_by_policy_opt, bool* allowed);
+
+// Records the user's consent to collect crash dumps and gather usage
+// statistics.
+bool SetUsageStatsConsent(bool allowed);
} // remoting

Powered by Google App Engine
This is Rietveld 408576698