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

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

Issue 2517363002: Decouple Metrics Initialization from IO Thread Initialization (Closed)
Patch Set: Add One Level of Indirection 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.h
diff --git a/chrome/browser/profiles/profile_impl_io_data.h b/chrome/browser/profiles/profile_impl_io_data.h
index 0058267e40a4509bc5d1d628b168422c82fe027e..f64fbc88380c9c07ced83c348f74e7f312a63bb7 100644
--- a/chrome/browser/profiles/profile_impl_io_data.h
+++ b/chrome/browser/profiles/profile_impl_io_data.h
@@ -234,6 +234,10 @@ class ProfileImplIOData : public ProfileIOData {
int app_cache_max_size_;
int app_media_cache_max_size_;
+ // Callback for updating data use prefs which needs to be initialized on UI
+ // thread and passed to the network delegate.
+ const metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_;
+
DISALLOW_COPY_AND_ASSIGN(ProfileImplIOData);
};

Powered by Google App Engine
This is Rietveld 408576698