diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-26 23:41:05 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-26 23:41:05 +0000 |
commit | 83f6304d38954dd3d1c215d0f26fb78d57d963d4 (patch) | |
tree | 33ac7ffaff0d10cd5c06ce8b1c04fd9c8a11038b | |
parent | c320859961a07be2f91911b86253676e1358b58a (diff) | |
download | chromium_src-83f6304d38954dd3d1c215d0f26fb78d57d963d4.zip chromium_src-83f6304d38954dd3d1c215d0f26fb78d57d963d4.tar.gz chromium_src-83f6304d38954dd3d1c215d0f26fb78d57d963d4.tar.bz2 |
Add ERR_OUT_OF_MEMORY to make it more straightforward to
port third-party code that reports memory allocation
failures.
R=darin,eroman
Review URL: http://codereview.chromium.org/28216
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10534 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | net/base/net_error_list.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h index c2722bd..14555c3 100644 --- a/net/base/net_error_list.h +++ b/net/base/net_error_list.h @@ -44,6 +44,9 @@ NET_ERROR(NOT_IMPLEMENTED, -11) // There were not enough resources to complete the operation. NET_ERROR(INSUFFICIENT_RESOURCES, -12) +// Memory allocation failed. +NET_ERROR(OUT_OF_MEMORY, -13) + // A connection was closed (corresponding to a TCP FIN). NET_ERROR(CONNECTION_CLOSED, -100) @@ -223,7 +226,7 @@ NET_ERROR(EMPTY_RESPONSE, -324) // The headers section of the response is too large. NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325) - + // The PAC requested by HTTP did not have a valid status code (non-200). NET_ERROR(PAC_STATUS_NOT_OK, -326) |