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

Unified Diff: chrome/browser/io_thread.h

Issue 2517363002: Decouple Metrics Initialization from IO Thread Initialization (Closed)
Patch Set: CR Feedback Created 4 years 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
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index ab7f5568e05f01a88b76eef457b53c2d6a65e77d..f6586cb4a744a109be61cea242559774683bfde1 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -240,7 +240,7 @@ class IOThread : public content::BrowserThreadDelegate {
base::TimeTicks creation_time() const;
// Returns the callback for updating data use prefs.
- const metrics::UpdateUsagePrefCallbackType& GetMetricsDataUseForwarder();
+ metrics::UpdateUsagePrefCallbackType GetMetricsDataUseForwarder();
// Registers the |observer| for new STH notifications.
void RegisterSTHObserver(net::ct::STHObserver* observer);
@@ -400,10 +400,6 @@ class IOThread : public content::BrowserThreadDelegate {
const base::TimeTicks creation_time_;
- // Callback for updating data use prefs which needs to be initialized on UI
- // thread and passed to |DataUseNetworkDelegate|.
- metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_;
-
base::WeakPtrFactory<IOThread> weak_factory_;
DISALLOW_COPY_AND_ASSIGN(IOThread);
« no previous file with comments | « no previous file | chrome/browser/io_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698