| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 intentionally does not have header guards, it's included | 5 // This file intentionally does not have header guards, it's included |
| 6 // inside a macro to generate enum. | 6 // inside a macro to generate enum. |
| 7 | 7 |
| 8 // This file contains the list of network errors. | 8 // This file contains the list of network errors. |
| 9 | 9 |
| 10 // | 10 // |
| 11 // Ranges: | 11 // Ranges: |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 // The HTTP response was too big to drain. | 437 // The HTTP response was too big to drain. |
| 438 NET_ERROR(RESPONSE_BODY_TOO_BIG_TO_DRAIN, -345) | 438 NET_ERROR(RESPONSE_BODY_TOO_BIG_TO_DRAIN, -345) |
| 439 | 439 |
| 440 // The HTTP response was too big to drain. | 440 // The HTTP response was too big to drain. |
| 441 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH, -346) | 441 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH, -346) |
| 442 | 442 |
| 443 // SPDY Headers have been received, but not all of them - status or version | 443 // SPDY Headers have been received, but not all of them - status or version |
| 444 // headers are missing, so we're expecting additional frames to complete them. | 444 // headers are missing, so we're expecting additional frames to complete them. |
| 445 NET_ERROR(INCOMPLETE_SPDY_HEADERS, -347) | 445 NET_ERROR(INCOMPLETE_SPDY_HEADERS, -347) |
| 446 | 446 |
| 447 // No PAC URL configuration could be retrieved from DHCP. |
| 448 NET_ERROR(PAC_NOT_IN_DHCP, -348) |
| 449 |
| 447 // The cache does not have the requested entry. | 450 // The cache does not have the requested entry. |
| 448 NET_ERROR(CACHE_MISS, -400) | 451 NET_ERROR(CACHE_MISS, -400) |
| 449 | 452 |
| 450 // Unable to read from the disk cache. | 453 // Unable to read from the disk cache. |
| 451 NET_ERROR(CACHE_READ_FAILURE, -401) | 454 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 452 | 455 |
| 453 // ****NOTE THAT code -402 is available**** | 456 // ****NOTE THAT code -402 is available**** |
| 454 | 457 |
| 455 // The operation is not supported for this entry. | 458 // The operation is not supported for this entry. |
| 456 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) | 459 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 // Import failed - certificate already exists in database. | 525 // Import failed - certificate already exists in database. |
| 523 // Note it's a little weird this is an error but reimporting a PKCS12 is ok | 526 // Note it's a little weird this is an error but reimporting a PKCS12 is ok |
| 524 // (no-op). That's how Mozilla does it, though. | 527 // (no-op). That's how Mozilla does it, though. |
| 525 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) | 528 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) |
| 526 | 529 |
| 527 // CA import failed due to some other error. | 530 // CA import failed due to some other error. |
| 528 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) | 531 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) |
| 529 | 532 |
| 530 // Server certificate import failed due to some internal error. | 533 // Server certificate import failed due to some internal error. |
| 531 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) | 534 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) |
| OLD | NEW |