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

Unified Diff: chrome/browser/io_thread.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/io_thread.h
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h
index ab7f5568e05f01a88b76eef457b53c2d6a65e77d..7472a7798f8319a648296cf41bb4e934e04ee674 100644
--- a/chrome/browser/io_thread.h
+++ b/chrome/browser/io_thread.h
@@ -239,9 +239,6 @@ class IOThread : public content::BrowserThreadDelegate {
base::TimeTicks creation_time() const;
- // Returns the callback for updating data use prefs.
- const metrics::UpdateUsagePrefCallbackType& GetMetricsDataUseForwarder();
-
// Registers the |observer| for new STH notifications.
void RegisterSTHObserver(net::ct::STHObserver* observer);
@@ -400,10 +397,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);

Powered by Google App Engine
This is Rietveld 408576698