From 91468a91aa86108533d5b1908652db0b63ff0acc Mon Sep 17 00:00:00 2001 From: "joaodasilva@chromium.org" Date: Wed, 6 Mar 2013 17:21:55 +0000 Subject: Added ERR_BLOCKED_BY_ADMINISTRATOR and a custom error page. This distinguishes navigations blocked by administrator policy from other ERR_NETWORK_ACCESS_DENIED sources. The custom error page can then inform the user that a policy configured by the administrator prevents access to the site. BUG=88702 Review URL: https://chromiumcodereview.appspot.com/12226113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186455 0039d316-1c4b-4281-b951-d872f2087c98 --- net/base/net_error_list.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net') diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h index 30d23ca..c0c71ea 100644 --- a/net/base/net_error_list.h +++ b/net/base/net_error_list.h @@ -87,6 +87,10 @@ NET_ERROR(BLOCKED_BY_CLIENT, -20) // The network changed. NET_ERROR(NETWORK_CHANGED, -21) +// The request was blocked by the URL blacklist configured by the domain +// administrator. +NET_ERROR(BLOCKED_BY_ADMINISTRATOR, -22) + // A connection was closed (corresponding to a TCP FIN). NET_ERROR(CONNECTION_CLOSED, -100) -- cgit v1.1