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

Unified Diff: components/breakpad/breakpad_client.h

Issue 27031002: Move checking of configured policy on win to breakpad client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 2 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
« no previous file with comments | « chrome/app/chrome_breakpad_client_mac.mm ('k') | components/breakpad/breakpad_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/breakpad/breakpad_client.h
diff --git a/components/breakpad/breakpad_client.h b/components/breakpad/breakpad_client.h
index 3290eb33bd907c4ec1620211ba7630826777d28f..621ea1b2525dd7e3aee7b2e93a1c92b44db57790 100644
--- a/components/breakpad/breakpad_client.h
+++ b/components/breakpad/breakpad_client.h
@@ -120,6 +120,10 @@ class BreakpadClient {
#if defined(OS_WIN) || defined(OS_MACOSX)
// Returns true if the user has given consent to collect stats.
virtual bool GetCollectStatsConsent();
+
+ // Returns true if breakpad is enforced via management policies. In that
+ // case, |breakpad_enabled| is set to the value enforced by policies.
+ virtual bool ReportingIsEnforcedByPolicy(bool* breakpad_enabled);
#endif
#if defined(OS_ANDROID)
@@ -130,9 +134,6 @@ class BreakpadClient {
#if defined(OS_MACOSX)
// Install additional breakpad filter callbacks.
virtual void InstallAdditionalFilters(BreakpadRef breakpad);
-
- // Returns true if breakpad is enforced via management policies.
- virtual bool ReportingIsEnforcedByPolicy();
#endif
};
« no previous file with comments | « chrome/app/chrome_breakpad_client_mac.mm ('k') | components/breakpad/breakpad_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698