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

Unified Diff: net/base/net_log_event_type_list.h

Issue 7532011: Only mark a proxy as bad if we have confirmation that another proxy succeeded for the same request. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better names Created 9 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/base/net_log_event_type_list.h
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index 0035d149c4b6e02870522abe2e0c2e688d7e5f5e..45cbe90e280b919504f3b95dff290824f29fc05e 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -207,6 +207,28 @@ EVENT_TYPE(PROXY_SERVICE_RESOLVED_PROXY_LIST)
// proxy settings (since there wasn't a previous value).
EVENT_TYPE(PROXY_CONFIG_CHANGED)
+// Emitted when a list of bad proxies is reported to the proxy service.
+//
+// Parameters:
+// {
+// "bad_proxy_list": <List of bad proxies>,
+// }
+EVENT_TYPE(BAD_PROXY_LIST_REPORTED)
+
+// ------------------------------------------------------------------------
+// ProxyList
+// ------------------------------------------------------------------------
+
+// Emitted when the first proxy server in a list is being marked as
+// bad and proxy resolution is going to failover to the next one in
+// the list. The fallback is local to the request.
+//
+// Parameters:
+// {
+// "bad_proxy": <URI representation of the failed proxy server>,
+// }
+EVENT_TYPE(PROXY_LIST_FALLBACK)
+
// ------------------------------------------------------------------------
// Proxy Resolver
// ------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698