Chromium Code Reviews| 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 de383f456cc5d0bda1185f12084e6468359708d5..f4439a9b7a1a7b5b139101749a3a9cae0910a289 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 |
| @@ -76,20 +76,22 @@ class DataReductionProxyIOData : public DataReductionProxyEventStorageDelegate { |
| scoped_ptr<net::URLRequestInterceptor> CreateInterceptor(); |
| // Creates a NetworkDelegate suitable for carrying out the Data Reduction |
| // Proxy protocol, including authenticating, establishing a handler to |
| // override the current proxy configuration, and |
| // gathering statistics for UMA. |
| scoped_ptr<DataReductionProxyNetworkDelegate> CreateNetworkDelegate( |
| scoped_ptr<net::NetworkDelegate> wrapped_network_delegate, |
| bool track_proxy_bypass_statistics); |
| + scoped_ptr<DataReductionProxyDelegate> CreateProxyDelegate(); |
|
bengr
2016/02/08 23:23:29
Can this method be const?
RyanSturm
2016/02/09 00:46:03
Done.
|
| + |
| // Sets user defined preferences for how the Data Reduction Proxy |
| // configuration should be set. |at_startup| is true only |
| // when DataReductionProxySettings is initialized. |
| void SetProxyPrefs(bool enabled, bool at_startup); |
| // Applies a serialized Data Reduction Proxy configuration. |
| void SetDataReductionProxyConfiguration(const std::string& serialized_config); |
| // Returns true when Lo-Fi mode should be activated. When Lo-Fi mode is |
| // active, URL requests are modified to request low fidelity versions of the |