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

Unified Diff: net/base/net_error_list.h

Issue 2425663002: Add an error page for resources blocked via XSS Auditor. (Closed)
Patch Set: Created 4 years, 2 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_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 2ea5d9aefc3928033f9b938b614bfb091455a708..da8094bc232e43ccfde656af0ea1e6d2614611f5 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -112,6 +112,10 @@ NET_ERROR(CONTEXT_SHUT_DOWN, -26)
// checks, for instance).
NET_ERROR(BLOCKED_BY_RESPONSE, -27)
+// The request failed after the response was received, based on client-side
+// heuristics (e.g. the XSS Auditor).
+NET_ERROR(BLOCKED_BY_AUDITOR, -28)
+
// A connection was closed (corresponding to a TCP FIN).
NET_ERROR(CONNECTION_CLOSED, -100)

Powered by Google App Engine
This is Rietveld 408576698