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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 1964733002: Clean up unused metrics flag. Logic is in blimp browser instead. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | components/metrics/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index b2f8f7272b9c85b201b14b384bdb9e494e6a0c09..75173b3b692cd0f24dce67489ece96ab3c233362 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -803,14 +803,8 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySimple* registry) {
std::string());
#endif // defined(OS_CHROMEOS)
-#if defined(ENABLE_REPORTING_BLIMP)
- // Enables reporting for the (headless) blimp engine. Defined in
- // components/metrics/BUILD.gn
- registry->RegisterBooleanPref(metrics::prefs::kMetricsReportingEnabled, true);
-#else
registry->RegisterBooleanPref(metrics::prefs::kMetricsReportingEnabled,
GoogleUpdateSettings::GetCollectStatsConsent());
-#endif // defined(ENABLE_REPORTING_HEADLESS)
#if BUILDFLAG(ANDROID_JAVA_UI)
registry->RegisterBooleanPref(
« no previous file with comments | « no previous file | components/metrics/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698