Index: chrome/browser/io_thread.h |
diff --git a/chrome/browser/io_thread.h b/chrome/browser/io_thread.h |
index fc27d9b337cfbd860cba165afa4e4088108874c7..cbe7c2cf12151b045621cbabd09e0da80a2380a5 100644 |
--- a/chrome/browser/io_thread.h |
+++ b/chrome/browser/io_thread.h |
@@ -24,6 +24,7 @@ |
#include "build/build_config.h" |
#include "chrome/browser/net/chrome_network_delegate.h" |
#include "chrome/common/features.h" |
+#include "components/metrics/data_use_tracker.h" |
#include "components/prefs/pref_member.h" |
#include "components/ssl_config/ssl_config_service_manager.h" |
#include "content/public/browser/browser_thread.h" |
@@ -598,6 +599,10 @@ 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 // |ChromeNetworkDelegate|. |
Alexei Svitkine (slow)
2016/03/31 04:32:25
Nit: Remove extra //
gayane -on leave until 09-2017
2016/03/31 17:54:57
Done.
|
+ metrics::UpdateUsagePrefCallbackType metrics_data_use_forwarder_; |
+ |
base::WeakPtrFactory<IOThread> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(IOThread); |