Index: components/crash/content/app/crash_reporter_client.h |
diff --git a/components/crash/content/app/crash_reporter_client.h b/components/crash/content/app/crash_reporter_client.h |
index 157ba53e1361493bcc4632caafa01b0052d8c4ea..a6b8cb1d63e13774fb545604d13f9d7792d7db8c 100644 |
--- a/components/crash/content/app/crash_reporter_client.h |
+++ b/components/crash/content/app/crash_reporter_client.h |
@@ -138,6 +138,10 @@ class CrashReporterClient { |
// Returns true if the user has given consent to collect stats. |
virtual bool GetCollectStatsConsent(); |
+ // Returns false if the client is affected by sampling, and shouldn't report |
+ // crashes. Otherwise, returns true. |
+ virtual bool GetCollectStatsInSample(); |
+ |
#if defined(OS_WIN) || defined(OS_MACOSX) |
// Returns true if crash reporting is enforced via management policies. In |
// that case, |breakpad_enabled| is set to the value enforced by policies. |