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

Unified Diff: components/crash/content/app/crash_reporter_client.cc

Issue 2221833005: Adding support for sampling crashes in Chrome on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding support for sampling crashes in Chrome on Windows. Created 4 years, 4 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: components/crash/content/app/crash_reporter_client.cc
diff --git a/components/crash/content/app/crash_reporter_client.cc b/components/crash/content/app/crash_reporter_client.cc
index 22b95712995b6f31b1d2b132b3370317f5173f15..a94354d65a780fcc4e0ed86eba100919feea0347 100644
--- a/components/crash/content/app/crash_reporter_client.cc
+++ b/components/crash/content/app/crash_reporter_client.cc
@@ -122,6 +122,10 @@ bool CrashReporterClient::GetCollectStatsConsent() {
return false;
}
+bool CrashReporterClient::GetCollectStatsInSample() {
+ return true;
Alexei Svitkine (slow) 2016/08/10 21:49:33 Maybe add a comment about why true as default valu
jwd 2016/08/11 21:41:03 Done.
+}
+
#if defined(OS_WIN) || defined(OS_MACOSX)
bool CrashReporterClient::ReportingIsEnforcedByPolicy(bool* breakpad_enabled) {
return false;

Powered by Google App Engine
This is Rietveld 408576698