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

Unified Diff: chrome/browser/profiles/profile_impl_io_data.cc

Issue 10108026: Transmit a X-Chrome-UMA-Enabled bit to Google domains from clients that have UMA enabled. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: merge to TOT Created 8 years, 8 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: chrome/browser/profiles/profile_impl_io_data.cc
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index ffe98e7cf3699617681a0a00f6f9f8d93ad6b0d8..83569bc781a8bba817541aa8bfaf92159a17eba1 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -113,6 +113,10 @@ void ProfileImplIOData::Handle::Init(
local_state,
io_thread,
main_request_context_getter_);
+
+ io_data_->enable_metrics()->Init(prefs::kMetricsReportingEnabled,
+ local_state, NULL);
+ io_data_->enable_metrics()->MoveToThread(BrowserThread::IO);
}
base::Callback<ChromeURLDataManagerBackend*(void)>

Powered by Google App Engine
This is Rietveld 408576698