summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 01:25:01 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 01:25:01 +0000
commitda1e204fa55509cbb95fa215e53824b37ef54077 (patch)
tree3b8d9c929d848fdfe12a7a497422715ece944a14 /net/base
parent35c812c0ad37a218adaae64bac4bb9a8f72a19b5 (diff)
downloadchromium_src-da1e204fa55509cbb95fa215e53824b37ef54077.zip
chromium_src-da1e204fa55509cbb95fa215e53824b37ef54077.tar.gz
chromium_src-da1e204fa55509cbb95fa215e53824b37ef54077.tar.bz2
Add two more error codes to net.
BUG=9952 TEST=none Review URL: http://codereview.chromium.org/115006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15488 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_error_list.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index 30ab98e..6265895 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -243,5 +243,12 @@ NET_ERROR(REQUEST_RANGE_NOT_SATISFIABLE, -328)
// The cache does not have the requested entry.
NET_ERROR(CACHE_MISS, -400)
+// Unable to read from the disk cache.
+NET_ERROR(CACHE_READ_FAILURE, -401)
+
+// The network transaction factory of the cache was not able to create a new
+// transaction.
+NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402)
+
// The server's response was insecure (e.g. there was a cert error).
NET_ERROR(INSECURE_RESPONSE, -501)