Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h |
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h |
index b679892786388bc5e0c0d160b4edac7ced4432b3..aa8864b6bca9cb46c56b498f730252ed50572025 100644 |
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h |
+++ b/components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.h |
@@ -13,14 +13,15 @@ |
namespace net { |
class NetLog; |
+class URLRequestContextGetter; |
class URLRequestInterceptor; |
} |
namespace data_reduction_proxy { |
+class DataReductionProxyConfig; |
class DataReductionProxyConfigurator; |
class DataReductionProxyEventStore; |
-class DataReductionProxyParams; |
class DataReductionProxySettings; |
class DataReductionProxyStatisticsPrefs; |
class DataReductionProxyUsageStats; |
@@ -45,6 +46,8 @@ class DataReductionProxyIOData { |
virtual ~DataReductionProxyIOData(); |
+ void InitURLRequestContext(net::URLRequestContextGetter* context); |
+ |
// Initializes preferences, including a preference to track whether the |
// Data Reduction Proxy is enabled. |
void InitOnUIThread(PrefService* pref_service); |
@@ -73,6 +76,8 @@ class DataReductionProxyIOData { |
// Returns true if the Data Reduction Proxy is enabled and false otherwise. |
bool IsEnabled() const; |
+ DataReductionProxyConfig* config() const { return config_.get(); } |
bengr
2015/02/03 21:51:58
Put return on new line.
jeremyim
2015/02/04 01:31:21
Done.
|
+ |
DataReductionProxyConfigurator* configurator() const { |
return configurator_.get(); |
} |
@@ -103,7 +108,7 @@ class DataReductionProxyIOData { |
Client client_; |
// Parameters including DNS names and allowable configurations. |
- scoped_ptr<DataReductionProxyParams> params_; |
+ scoped_ptr<DataReductionProxyConfig> config_; |
// Tracker of compression statistics to be displayed to the user. |
scoped_ptr<DataReductionProxyStatisticsPrefs> statistics_prefs_; |