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

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

Issue 1393073002: Add external data use observer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@datause_accounting_scliitle_cl_do_not_edit_2
Patch Set: Addressed comments Created 5 years, 2 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_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 1087cbac244e757dae560b15e27612240b9f9ff8..7820f443f2e9404fa06d2eedf09018c13199c5cc 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -1066,8 +1066,8 @@ void ProfileIOData::Init(
network_delegate->set_enable_do_not_track(&enable_do_not_track_);
network_delegate->set_force_google_safe_search(&force_google_safesearch_);
network_delegate->set_force_youtube_safety_mode(&force_youtube_safety_mode_);
- network_delegate->set_data_use_aggregator(
- io_thread_globals->data_use_aggregator.get(), IsOffTheRecord());
+ network_delegate->set_data_use_aggregator(io_thread->data_use_aggregator(),
+ IsOffTheRecord());
// NOTE: Proxy service uses the default io thread network delegate, not the
// delegate just created.

Powered by Google App Engine
This is Rietveld 408576698