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

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h

Issue 2777823002: Bypass DRP if a redirect cycle is detected (Closed)
Patch Set: ryansturm comments Created 3 years, 9 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: components/data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h
index 8010fbf87c2da0b7a8561ce4556809b1a02fe6c2..0c67e60f5ec4be738e9f47b282c9641c64af6fc5 100644
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h
+++ b/components/data_reduction_proxy/core/common/data_reduction_proxy_bypass_type_list.h
@@ -45,5 +45,8 @@ BYPASS_EVENT_TYPE(STATUS_503_HTTP_SERVICE_UNAVAILABLE, 9)
// Bypass due to any network error.
BYPASS_EVENT_TYPE(NETWORK_ERROR, 10)
+// Bypass due to URL redirect cycle.
+BYPASS_EVENT_TYPE(URL_REDIRECT_CYCLE, 11)
+
// This must always be last.
-BYPASS_EVENT_TYPE(MAX, 11)
+BYPASS_EVENT_TYPE(MAX, 12)

Powered by Google App Engine
This is Rietveld 408576698