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

Unified Diff: net/proxy/proxy_info.h

Issue 473513002: Keep track of network error in ProxyRetryInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge to head. Created 6 years, 4 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
Index: net/proxy/proxy_info.h
diff --git a/net/proxy/proxy_info.h b/net/proxy/proxy_info.h
index 336cb3a58881c2982f4d1a4b4d10d5e16597cdf7..783ca49666ff5170c89c8f5dac5549d5383d0758 100644
--- a/net/proxy/proxy_info.h
+++ b/net/proxy/proxy_info.h
@@ -117,7 +117,7 @@ class NET_EXPORT ProxyInfo {
// Marks the current proxy as bad. Returns true if there is another proxy
// available to try in proxy list_.
- bool Fallback(const BoundNetLog& net_log);
+ bool Fallback(const int net_error, const BoundNetLog& net_log);
Ryan Sleevi 2014/08/15 00:02:23 no const
Not at Google. Contact bengr 2014/08/15 17:26:59 Done. Removed from .cc as well.
// De-prioritizes the proxies that we have cached as not working, by moving
// them to the end of the proxy list.

Powered by Google App Engine
This is Rietveld 408576698