Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h

Issue 848103002: AreDataReductionProxiesBypassed should use the DRP config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
index 05f0e5bae3fb2f2b17f3da78bd7e58ed609031c0..e4acf281b0922c6dc57c5d4998e743a56596ae96 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_params.h
@@ -155,8 +155,10 @@ class DataReductionProxyParams {
// reduction proxies in min_retry_delay (if not NULL). If there are no
// bypassed data reduction proxies for the request scheme, returns false and
// does not assign min_retry_delay.
- bool AreDataReductionProxiesBypassed(const net::URLRequest& request,
- base::TimeDelta* min_retry_delay) const;
+ bool AreDataReductionProxiesBypassed(
+ const net::URLRequest& request,
+ const net::ProxyConfig& data_reduction_proxy_config,
+ base::TimeDelta* min_retry_delay) 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

Powered by Google App Engine
This is Rietveld 408576698