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

Unified Diff: net/proxy/proxy_info.h

Issue 10987043: Receiving Connection: Proxy-Bypass induces proxy fallback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pull proxy list mutation in ProxyService. Created 8 years, 3 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
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/proxy/proxy_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « net/http/http_network_transaction.cc ('k') | net/proxy/proxy_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698