diff options
author | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 17:21:55 +0000 |
---|---|---|
committer | joaodasilva@chromium.org <joaodasilva@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-06 17:21:55 +0000 |
commit | 91468a91aa86108533d5b1908652db0b63ff0acc (patch) | |
tree | 6f88226097ab40d26909c9b7a3bf7d1767b139bb /net | |
parent | 8307fb471e16aff98e34509b33c3205382d865d7 (diff) | |
download | chromium_src-91468a91aa86108533d5b1908652db0b63ff0acc.zip chromium_src-91468a91aa86108533d5b1908652db0b63ff0acc.tar.gz chromium_src-91468a91aa86108533d5b1908652db0b63ff0acc.tar.bz2 |
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
Diffstat (limited to 'net')
-rw-r--r-- | net/base/net_error_list.h | 4 |
1 files changed, 4 insertions, 0 deletions
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) |