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. This can indicate |
| 448 // either a failure to retrieve the DHCP configuration, or that there was no |
| 449 // PAC URL configured in DHCP. |
| 450 NET_ERROR(PAC_NOT_IN_DHCP, -348) |
| 451 |
447 // The cache does not have the requested entry. | 452 // The cache does not have the requested entry. |
448 NET_ERROR(CACHE_MISS, -400) | 453 NET_ERROR(CACHE_MISS, -400) |
449 | 454 |
450 // Unable to read from the disk cache. | 455 // Unable to read from the disk cache. |
451 NET_ERROR(CACHE_READ_FAILURE, -401) | 456 NET_ERROR(CACHE_READ_FAILURE, -401) |
452 | 457 |
453 // ****NOTE THAT code -402 is available**** | 458 // ****NOTE THAT code -402 is available**** |
454 | 459 |
455 // The operation is not supported for this entry. | 460 // The operation is not supported for this entry. |
456 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) | 461 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. | 527 // Import failed - certificate already exists in database. |
523 // Note it's a little weird this is an error but reimporting a PKCS12 is ok | 528 // 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. | 529 // (no-op). That's how Mozilla does it, though. |
525 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) | 530 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) |
526 | 531 |
527 // CA import failed due to some other error. | 532 // CA import failed due to some other error. |
528 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) | 533 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) |
529 | 534 |
530 // Server certificate import failed due to some internal error. | 535 // Server certificate import failed due to some internal error. |
531 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) | 536 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) |
OLD | NEW |