| Index: components/cronet/android/cronet_data_reduction_proxy.h
|
| diff --git a/components/cronet/android/cronet_data_reduction_proxy.h b/components/cronet/android/cronet_data_reduction_proxy.h
|
| index ff4fa5fc8198f207943ee096dbf2983bab5e3012..c67ed78d11ae383781a32e2236803b4e171b559d 100644
|
| --- a/components/cronet/android/cronet_data_reduction_proxy.h
|
| +++ b/components/cronet/android/cronet_data_reduction_proxy.h
|
| @@ -18,20 +18,21 @@ class SingleThreadTaskRunner;
|
| }
|
|
|
| namespace data_reduction_proxy {
|
| class DataReductionProxyIOData;
|
| class DataReductionProxySettings;
|
| }
|
|
|
| namespace net {
|
| class NetLog;
|
| class NetworkDelegate;
|
| +class ProxyDelegate;
|
| class URLRequestContext;
|
| class URLRequestContextGetter;
|
| class URLRequestInterceptor;
|
| }
|
|
|
| namespace cronet {
|
|
|
| // Wrapper and configurator of Data Reduction Proxy objects for Cronet. It
|
| // configures the Data Reduction Proxy to run both its UI and IO classes on
|
| // Cronet's network thread.
|
| @@ -50,20 +51,24 @@ class CronetDataReductionProxy {
|
| scoped_refptr<base::SingleThreadTaskRunner> task_runner,
|
| net::NetLog* net_log);
|
|
|
| ~CronetDataReductionProxy();
|
|
|
| // Constructs a network delegate suitable for adding Data Reduction Proxy
|
| // request headers.
|
| scoped_ptr<net::NetworkDelegate> CreateNetworkDelegate(
|
| scoped_ptr<net::NetworkDelegate> wrapped_network_delegate);
|
|
|
| + // Constructs a proxy delegate suitable for adding Data Reduction Proxy
|
| + // proxy resolution.
|
| + scoped_ptr<net::ProxyDelegate> CreateProxyDelegate();
|
| +
|
| // Constructs a URLRequestInterceptor suitable for carrying out the Data
|
| // Reduction Proxy's bypass protocol.
|
| scoped_ptr<net::URLRequestInterceptor> CreateInterceptor();
|
|
|
| // Constructs a bridge between the Settings and IOData objects, sets up a
|
| // context for secure proxy check requests, and enables the proxy, if
|
| // |enable| is true.
|
| void Init(bool enable, net::URLRequestContext* context);
|
|
|
| private:
|
|
|