summaryrefslogtreecommitdiffstats
path: root/net/base
diff options
context:
space:
mode:
authorwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 23:23:29 +0000
committerwtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-19 23:23:29 +0000
commit19441957dacf04b6e66b03beb77023924a8fd4e1 (patch)
treef671061cdb01adf34246f70bdb136d8a28df8c77 /net/base
parentc0a9259d6a5f8bd534b01923b2d33a1ebe853f30 (diff)
downloadchromium_src-19441957dacf04b6e66b03beb77023924a8fd4e1.zip
chromium_src-19441957dacf04b6e66b03beb77023924a8fd4e1.tar.gz
chromium_src-19441957dacf04b6e66b03beb77023924a8fd4e1.tar.bz2
Improve error reporting for FTP passive connection failures.
Allocate the -6xx block to FTP errors. R=phajdan.jr BUG=32945 TEST=None Review URL: http://codereview.chromium.org/650006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39510 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base')
-rw-r--r--net/base/net_error_list.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index ab777e6..e544897 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -11,6 +11,8 @@
// 200-299 Certificate errors
// 300-399 HTTP errors
// 400-499 Cache errors
+// 500-599 ?
+// 600-699 FTP errors
//
// An asynchronous IO operation is not yet complete. This usually does not
@@ -337,3 +339,6 @@ NET_ERROR(CACHE_RACE, -406)
// The server's response was insecure (e.g. there was a cert error).
NET_ERROR(INSECURE_RESPONSE, -501)
+//
+// The FTP PASV command failed.
+NET_ERROR(FTP_PASV_COMMAND_FAILED, -600)