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

Unified Diff: net/proxy/proxy_retry_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_retry_info.h
diff --git a/net/proxy/proxy_retry_info.h b/net/proxy/proxy_retry_info.h
index 0d073b9c2cda6b165bc5de7985e370befeaece24..0b9eac77df3ba2229709a95dae5e5fbdd8420f06 100644
--- a/net/proxy/proxy_retry_info.h
+++ b/net/proxy/proxy_retry_info.h
@@ -24,6 +24,9 @@ struct ProxyRetryInfo {
// True if this proxy should be considered even if still bad.
bool try_while_bad;
+
+ // The network error we received when we tried to use this proxy.
Ryan Sleevi 2014/08/14 21:14:39 Word it without the pronoun and it becomes clearer
Not at Google. Contact bengr 2014/08/14 23:45:22 Done.
+ int net_error;
};
// Map of proxy servers with the associated RetryInfo structures.

Powered by Google App Engine
This is Rietveld 408576698