Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: net/base/net_error_list.h

Issue 28216: Add ERR_OUT_OF_MEMORY to make it more straightforward... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains the list of network errors. 5 // This file contains the list of network errors.
6 6
7 // An asynchronous IO operation is not yet complete. This usually does not 7 // An asynchronous IO operation is not yet complete. This usually does not
8 // indicate a fatal error. Typically this error will be generated as a 8 // indicate a fatal error. Typically this error will be generated as a
9 // notification to wait for some external notification that the IO operation 9 // notification to wait for some external notification that the IO operation
10 // finally completed. 10 // finally completed.
(...skipping 26 matching lines...) Expand all
37 37
38 // Permission to access a resource was denied. 38 // Permission to access a resource was denied.
39 NET_ERROR(ACCESS_DENIED, -10) 39 NET_ERROR(ACCESS_DENIED, -10)
40 40
41 // The operation failed because of unimplemented functionality. 41 // The operation failed because of unimplemented functionality.
42 NET_ERROR(NOT_IMPLEMENTED, -11) 42 NET_ERROR(NOT_IMPLEMENTED, -11)
43 43
44 // There were not enough resources to complete the operation. 44 // There were not enough resources to complete the operation.
45 NET_ERROR(INSUFFICIENT_RESOURCES, -12) 45 NET_ERROR(INSUFFICIENT_RESOURCES, -12)
46 46
47 // Memory allocation failed.
48 NET_ERROR(OUT_OF_MEMORY, -13)
49
47 // A connection was closed (corresponding to a TCP FIN). 50 // A connection was closed (corresponding to a TCP FIN).
48 NET_ERROR(CONNECTION_CLOSED, -100) 51 NET_ERROR(CONNECTION_CLOSED, -100)
49 52
50 // A connection was reset (corresponding to a TCP RST). 53 // A connection was reset (corresponding to a TCP RST).
51 NET_ERROR(CONNECTION_RESET, -101) 54 NET_ERROR(CONNECTION_RESET, -101)
52 55
53 // A connection attempt was refused. 56 // A connection attempt was refused.
54 NET_ERROR(CONNECTION_REFUSED, -102) 57 NET_ERROR(CONNECTION_REFUSED, -102)
55 58
56 // A connection timed out as a result of not receiving an ACK for data sent. 59 // A connection timed out as a result of not receiving an ACK for data sent.
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 219
217 // The response was 407 (Proxy Authentication Required), yet we did not send 220 // The response was 407 (Proxy Authentication Required), yet we did not send
218 // the request to a proxy. 221 // the request to a proxy.
219 NET_ERROR(UNEXPECTED_PROXY_AUTH, -323) 222 NET_ERROR(UNEXPECTED_PROXY_AUTH, -323)
220 223
221 // The server closed the connection without sending any data. 224 // The server closed the connection without sending any data.
222 NET_ERROR(EMPTY_RESPONSE, -324) 225 NET_ERROR(EMPTY_RESPONSE, -324)
223 226
224 // The headers section of the response is too large. 227 // The headers section of the response is too large.
225 NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325) 228 NET_ERROR(RESPONSE_HEADERS_TOO_BIG, -325)
226 229
227 // The PAC requested by HTTP did not have a valid status code (non-200). 230 // The PAC requested by HTTP did not have a valid status code (non-200).
228 NET_ERROR(PAC_STATUS_NOT_OK, -326) 231 NET_ERROR(PAC_STATUS_NOT_OK, -326)
229 232
230 // The evaluation of the PAC script failed. 233 // The evaluation of the PAC script failed.
231 NET_ERROR(PAC_SCRIPT_FAILED, -327) 234 NET_ERROR(PAC_SCRIPT_FAILED, -327)
232 235
233 // The response was 401 (Unauthorized), yet the request was a CONNECT request 236 // The response was 401 (Unauthorized), yet the request was a CONNECT request
234 // to a proxy. 237 // to a proxy.
235 NET_ERROR(UNEXPECTED_SERVER_AUTH, -328) 238 NET_ERROR(UNEXPECTED_SERVER_AUTH, -328)
236 239
237 // The cache does not have the requested entry. 240 // The cache does not have the requested entry.
238 NET_ERROR(CACHE_MISS, -400) 241 NET_ERROR(CACHE_MISS, -400)
239 242
240 // The server's response was insecure (e.g. there was a cert error). 243 // The server's response was insecure (e.g. there was a cert error).
241 NET_ERROR(INSECURE_RESPONSE, -501) 244 NET_ERROR(INSECURE_RESPONSE, -501)
242 245
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698