}
namespace net {
+class ProxyConfig;
class URLRequest;
}
// list.
virtual bool IsDataReductionProxyEligible(const net::URLRequest* request);
+ // Returns true if this request would be bypassed by the data request proxy
+ // based on applying the |data_reduction_proxy_config| param rules to the
+ // request URL.
+ bool IsBypassedByDataReductionProxyLocalRules(
+ const net::URLRequest& request,
+ const net::ProxyConfig& data_reduction_proxy_config) const;
+
// 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