| OLD | NEW |
| 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 // | 7 // |
| 8 // Ranges: | 8 // Ranges: |
| 9 // 0- 99 System related errors | 9 // 0- 99 System related errors |
| 10 // 100-199 Connection related errors | 10 // 100-199 Connection related errors |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 // Content decoding of the response body failed. | 272 // Content decoding of the response body failed. |
| 273 NET_ERROR(CONTENT_DECODING_FAILED, -330) | 273 NET_ERROR(CONTENT_DECODING_FAILED, -330) |
| 274 | 274 |
| 275 // An operation could not be completed because all network IO | 275 // An operation could not be completed because all network IO |
| 276 // is suspended. | 276 // is suspended. |
| 277 NET_ERROR(NETWORK_IO_SUSPENDED, -331) | 277 NET_ERROR(NETWORK_IO_SUSPENDED, -331) |
| 278 | 278 |
| 279 // FLIP data received without receiving a SYN_REPLY on the stream. | 279 // FLIP data received without receiving a SYN_REPLY on the stream. |
| 280 NET_ERROR(SYN_REPLY_NOT_RECEIVED, -332) | 280 NET_ERROR(SYN_REPLY_NOT_RECEIVED, -332) |
| 281 | 281 |
| 282 // Converting the response to target encoding failed. |
| 283 NET_ERROR(ENCODING_CONVERSION_FAILED, -333) |
| 284 |
| 285 // The server sent an FTP directory listing in a format we do not understand. |
| 286 NET_ERROR(UNRECOGNIZED_FTP_DIRECTORY_LISTING_FORMAT, -334) |
| 287 |
| 282 // The cache does not have the requested entry. | 288 // The cache does not have the requested entry. |
| 283 NET_ERROR(CACHE_MISS, -400) | 289 NET_ERROR(CACHE_MISS, -400) |
| 284 | 290 |
| 285 // Unable to read from the disk cache. | 291 // Unable to read from the disk cache. |
| 286 NET_ERROR(CACHE_READ_FAILURE, -401) | 292 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 287 | 293 |
| 288 // ****NOTE THAT code -402 is available**** | 294 // ****NOTE THAT code -402 is available**** |
| 289 | 295 |
| 290 // The operation is not supported for this entry. | 296 // The operation is not supported for this entry. |
| 291 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) | 297 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) |
| 292 | 298 |
| 293 // The server's response was insecure (e.g. there was a cert error). | 299 // The server's response was insecure (e.g. there was a cert error). |
| 294 NET_ERROR(INSECURE_RESPONSE, -501) | 300 NET_ERROR(INSECURE_RESPONSE, -501) |
| OLD | NEW |