Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h |
index 116cdc72c2fb27d999061ab5ce6ee775be02573d..6edd2ce4a3a06ce23735e8f82f7156613aacb25a 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate.h |
@@ -40,9 +40,9 @@ class URLRequest; |
namespace data_reduction_proxy { |
class DataReductionProxyConfigurator; |
+class DataReductionProxyIOData; |
class DataReductionProxyParams; |
class DataReductionProxyRequestOptions; |
-class DataReductionProxyStatisticsPrefs; |
class DataReductionProxyUsageStats; |
// DataReductionProxyNetworkDelegate is a LayeredNetworkDelegate that wraps a |
@@ -68,9 +68,9 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate { |
// Initializes member variables to record data reduction proxy prefs and |
// report UMA. |
- void InitStatisticsPrefsAndUMA( |
+ void InitIODataAndUMA( |
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
- const base::WeakPtr<DataReductionProxyStatisticsPrefs>& statistics_prefs, |
+ DataReductionProxyIOData* io_data, |
BooleanPrefMember* data_reduction_proxy_enabled, |
DataReductionProxyUsageStats* usage_stats); |
@@ -150,8 +150,7 @@ class DataReductionProxyNetworkDelegate : public net::LayeredNetworkDelegate { |
DataReductionProxyRequestOptions* data_reduction_proxy_request_options_; |
- base::WeakPtr<DataReductionProxyStatisticsPrefs> |
- data_reduction_proxy_statistics_prefs_; |
+ DataReductionProxyIOData* data_reduction_proxy_io_data_; |
bengr
2015/02/20 00:00:37
You should probably comment this must outlive this
jeremyim
2015/02/20 02:17:17
Done.
|
const DataReductionProxyConfigurator* configurator_; |