37 lines
1.5 KiB
Diff
37 lines
1.5 KiB
Diff
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
Date: Wed, 25 Apr 2018 10:23:51 +0200
|
|
Subject: Disable metrics on all I/O threads
|
|
|
|
---
|
|
chrome/browser/browser_process_impl.cc | 2 +-
|
|
chrome/browser/profiles/profile_io_data.cc | 2 --
|
|
2 files changed, 1 insertion(+), 3 deletions(-)
|
|
|
|
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
|
|
--- a/chrome/browser/browser_process_impl.cc
|
|
+++ b/chrome/browser/browser_process_impl.cc
|
|
@@ -912,7 +912,7 @@ void BrowserProcessImpl::RegisterPrefs(PrefRegistrySimple* registry) {
|
|
#endif // defined(OS_CHROMEOS)
|
|
|
|
registry->RegisterBooleanPref(metrics::prefs::kMetricsReportingEnabled,
|
|
- GoogleUpdateSettings::GetCollectStatsConsent());
|
|
+ false);
|
|
|
|
#if defined(OS_ANDROID)
|
|
registry->RegisterBooleanPref(
|
|
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
|
|
--- a/chrome/browser/profiles/profile_io_data.cc
|
|
+++ b/chrome/browser/profiles/profile_io_data.cc
|
|
@@ -46,8 +46,6 @@
|
|
#include "components/content_settings/core/browser/host_content_settings_map.h"
|
|
#include "components/cookie_config/cookie_store_util.h"
|
|
#include "components/dom_distiller/core/url_constants.h"
|
|
-#include "components/metrics/metrics_pref_names.h"
|
|
-#include "components/metrics/metrics_service.h"
|
|
#include "components/net_log/chrome_net_log.h"
|
|
#include "components/policy/core/common/cloud/user_cloud_policy_manager.h"
|
|
#include "components/signin/public/base/signin_pref_names.h"
|
|
--
|
|
2.17.1
|
|
|