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

Unified Diff: blimp/engine/app/blimp_engine_crash_reporter_client.cc

Issue 1990723002: Add a compile time flag to only upload crash symbols for official builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address kmarshall's comments Created 4 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/app/blimp_engine_crash_reporter_client.cc
diff --git a/blimp/engine/app/blimp_engine_crash_reporter_client.cc b/blimp/engine/app/blimp_engine_crash_reporter_client.cc
index e9b026c220ea0965d6dd9706c888d972724c0686..9bc993b17c9161dd11e0e76bd356bedc74c443de 100644
--- a/blimp/engine/app/blimp_engine_crash_reporter_client.cc
+++ b/blimp/engine/app/blimp_engine_crash_reporter_client.cc
@@ -45,8 +45,12 @@ bool BlimpEngineCrashReporterClient::IsRunningUnattended() {
}
bool BlimpEngineCrashReporterClient::GetCollectStatsConsent() {
- // Always collect Blimp engine crash reports.
+ // Always collect Blimp engine crash reports on official builds.
+#ifdef OFFICIAL_BUILD
return true;
+#else
+ return false;
+#endif // OFFICIAL_BUILD
}
bool BlimpEngineCrashReporterClient::EnableBreakpadForProcess(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698