Index: chrome/browser/browser_process_impl.cc |
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc |
index 12512d561f1b5fc69bb1e1c3f6d650502942e399..49983d4053af5d2c34e3749898c6220c4d783386 100644 |
--- a/chrome/browser/browser_process_impl.cc |
+++ b/chrome/browser/browser_process_impl.cc |
@@ -853,8 +853,16 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySimple* registry) { |
registry->RegisterStringPref(prefs::kHardwareKeyboardLayout, |
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( |
prefs::kCrashReportingEnabled, false); |