Index: net/proxy/proxy_service.h |
diff --git a/net/proxy/proxy_service.h b/net/proxy/proxy_service.h |
index 3d894202591e5b016742551cf4afaf806fa24909..fda475090e93a3a4374881d31d66dae7b9e9eed7 100644 |
--- a/net/proxy/proxy_service.h |
+++ b/net/proxy/proxy_service.h |
@@ -146,6 +146,11 @@ class NET_EXPORT ProxyService : public NetworkChangeNotifier::IPAddressObserver, |
PacRequest** pac_request, |
const BoundNetLog& net_log); |
+ // Explicitly trigger proxy fallback for the given |results|. Returns true |
+ // if there is at least one proxy remaining in the list after fallback and |
+ // false otherwise. |
+ bool Fallback(const ProxyInfo& results, const BoundNetLog& net_log); |
eroman
2012/09/28 23:19:15
I wonder if a name like "MarkProxyAsBad()" wouldn'
Michael Piatek
2012/10/01 23:23:11
Done.
|
+ |
// Called to report that the last proxy connection succeeded. If |proxy_info| |
// has a non empty proxy_retry_info map, the proxies that have been tried (and |
// failed) for this request will be marked as bad. |