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 |
}; |