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

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

Issue 2462983003: Move data use measurement to DataUseNetworkDelegate (Closed)
Patch Set: Addressed comments Created 4 years, 1 month 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 63a2cbd13bf18b36a4c7a2c689536c72222b215d..dfe847eb84fbe3541688cc075fa50b43e6225f39 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -484,7 +484,8 @@ void ProfileImplIOData::InitializeInternal(
main_context_storage->set_network_delegate(
data_reduction_proxy_io_data()->CreateNetworkDelegate(
io_thread_globals->data_use_ascriber->CreateNetworkDelegate(
- std::move(chrome_network_delegate)),
+ std::move(chrome_network_delegate),
+ io_thread->GetMetricsDataUseForwarder()),
true));
main_context->set_host_resolver(

Powered by Google App Engine
This is Rietveld 408576698