Chromium Code Reviews| Index: net/proxy/proxy_info.h |
| diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h |
| index e02ba8b2b2c6f5eeca942771630b9d3d265b4145..ed4e8a271819145e706567e3f179651de36f1173 100644 |
| --- a/net/proxy/proxy_info.h |
| +++ b/net/proxy/proxy_info.h |
| @@ -110,6 +110,11 @@ class NET_EXPORT ProxyInfo { |
| // available to try in proxy list_. |
| bool Fallback(const BoundNetLog& net_log); |
| + // Marks the current proxy as bad and records the addition in the given |
| + // |proxy_retry_info|. |
| + bool Fallback(ProxyRetryInfoMap& proxy_retry_info, |
|
eroman
2012/09/26 22:01:58
Our style is to use pointers for mutable state --
Michael Piatek
2012/09/27 00:30:24
Done.
|
| + const BoundNetLog& net_log); |
| + |
| // De-prioritizes the proxies that we have cached as not working, by moving |
| // them to the end of the proxy list. |
| void DeprioritizeBadProxies(const ProxyRetryInfoMap& proxy_retry_info); |