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

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

Issue 222009: Replace some net::ERR_FAILED generic error codes with more specific codes.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Address wtc's comments Created 11 years, 2 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 | net/http/http_cache.h » ('j') | 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-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // The evaluation of the PAC script failed. 253 // The evaluation of the PAC script failed.
254 NET_ERROR(PAC_SCRIPT_FAILED, -327) 254 NET_ERROR(PAC_SCRIPT_FAILED, -327)
255 255
256 // The response was 416 (Requested range not satisfiable) and the server cannot 256 // The response was 416 (Requested range not satisfiable) and the server cannot
257 // satisfy the range requested. 257 // satisfy the range requested.
258 NET_ERROR(REQUEST_RANGE_NOT_SATISFIABLE, -328) 258 NET_ERROR(REQUEST_RANGE_NOT_SATISFIABLE, -328)
259 259
260 // The identity used for authentication is invalid. 260 // The identity used for authentication is invalid.
261 NET_ERROR(MALFORMED_IDENTITY, -329) 261 NET_ERROR(MALFORMED_IDENTITY, -329)
262 262
263 // Content decoding of the response body failed.
264 NET_ERROR(CONTENT_DECODING_FAILED, -330)
265
266 // An operation could not be completed because all network IO
267 // is suspended.
268 NET_ERROR(NETWORK_IO_SUSPENDED, -331)
269
263 // The cache does not have the requested entry. 270 // The cache does not have the requested entry.
264 NET_ERROR(CACHE_MISS, -400) 271 NET_ERROR(CACHE_MISS, -400)
265 272
266 // Unable to read from the disk cache. 273 // Unable to read from the disk cache.
267 NET_ERROR(CACHE_READ_FAILURE, -401) 274 NET_ERROR(CACHE_READ_FAILURE, -401)
268 275
269 // The network transaction factory of the cache was not able to create a new 276 // ****NOTE THAT code -402 is available****
270 // transaction.
271 NET_ERROR(CACHE_CANNOT_CREATE_NETWORK_TRANSACTION, -402)
272 277
273 // The operation is not supported for this entry. 278 // The operation is not supported for this entry.
274 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) 279 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403)
275 280
276 // The server's response was insecure (e.g. there was a cert error). 281 // The server's response was insecure (e.g. there was a cert error).
277 NET_ERROR(INSECURE_RESPONSE, -501) 282 NET_ERROR(INSECURE_RESPONSE, -501)
OLDNEW
« no previous file with comments | « no previous file | net/http/http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698