diff options
Diffstat (limited to 'net/proxy/proxy_list.h')
-rw-r--r-- | net/proxy/proxy_list.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/proxy/proxy_list.h b/net/proxy/proxy_list.h index f05d4cf..1afd1d9 100644 --- a/net/proxy/proxy_list.h +++ b/net/proxy/proxy_list.h @@ -25,8 +25,9 @@ class ProxyList { // Set the proxy list to a single entry, |proxy_server|. void SetSingleProxyServer(const ProxyServer& proxy_server); - // Remove all proxies known to be bad from the proxy list. - void RemoveBadProxies(const ProxyRetryInfoMap& proxy_retry_info); + // De-prioritizes the proxies that we have cached as not working, by moving + // them to the end of the fallback list. + void DeprioritizeBadProxies(const ProxyRetryInfoMap& proxy_retry_info); // Delete any entry which doesn't have one of the specified proxy schemes. // |scheme_bit_field| is a bunch of ProxyServer::Scheme bitwise ORed together. |