| Index: net/proxy/proxy_info.h
|
| diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h
|
| index 336cb3a58881c2982f4d1a4b4d10d5e16597cdf7..1e4fdedc1100921e56d3351ed1e36ab3d58c1556 100644
|
| --- a/net/proxy/proxy_info.h
|
| +++ b/net/proxy/proxy_info.h
|
| @@ -115,9 +115,12 @@ class NET_EXPORT ProxyInfo {
|
| // See description in ProxyList::ToPacString().
|
| std::string ToPacString() const;
|
|
|
| - // Marks the current proxy as bad. Returns true if there is another proxy
|
| + // Marks the current proxy as bad. |net_error| should contain the network
|
| + // error encountered when this proxy was tried, if any. If this fallback
|
| + // is not because of a network error, then |OK| should be passed in (eg. for
|
| + // reasons such as local policy). Returns true if there is another proxy is
|
| // available to try in proxy list_.
|
| - bool Fallback(const BoundNetLog& net_log);
|
| + bool Fallback(int net_error, 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.
|
|
|