Chromium Code Reviews| Index: components/data_reduction_proxy/browser/data_reduction_proxy_params.h |
| diff --git a/components/data_reduction_proxy/browser/data_reduction_proxy_params.h b/components/data_reduction_proxy/browser/data_reduction_proxy_params.h |
| index 651784527a2f46a39addb0dd9d4482dedf422f12..1b0e060e58427f8935af0b9585e68e45ac2f69a6 100644 |
| --- a/components/data_reduction_proxy/browser/data_reduction_proxy_params.h |
| +++ b/components/data_reduction_proxy/browser/data_reduction_proxy_params.h |
| @@ -19,6 +19,7 @@ class TimeDelta; |
| } |
| namespace net { |
| +class ProxyConfig; |
| class URLRequest; |
| } |
| @@ -130,6 +131,12 @@ class DataReductionProxyParams { |
| // list. |
| virtual bool IsDataReductionProxyEligible(const net::URLRequest* request); |
| + // Returns true if this request could be sent through the data request proxy |
| + // based on applying the |data_reduction_proxy_config| param rules to the URL. |
|
bengr
2014/08/29 19:29:48
to the request URL.
megjablon
2014/08/29 20:26:32
Done.
|
| + bool PassesDataReductionProxyLocalBypassRules( |
| + const net::URLRequest& request, |
| + const net::ProxyConfig& data_reduction_proxy_config); |
| + |
| // Checks if all configured data reduction proxies are in the retry map. |
| // Returns true if the request is bypassed by all configured data reduction |
| // proxies and returns the bypass delay in delay_seconds (if not NULL). If |