OLD | NEW |
1 // Copyright (c) 2011 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 // |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 // The HTTP response was too big to drain. | 439 // The HTTP response was too big to drain. |
440 NET_ERROR(RESPONSE_BODY_TOO_BIG_TO_DRAIN, -345) | 440 NET_ERROR(RESPONSE_BODY_TOO_BIG_TO_DRAIN, -345) |
441 | 441 |
442 // The HTTP response was too big to drain. | 442 // The HTTP response was too big to drain. |
443 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH, -346) | 443 NET_ERROR(RESPONSE_HEADERS_MULTIPLE_CONTENT_LENGTH, -346) |
444 | 444 |
445 // SPDY Headers have been received, but not all of them - status or version | 445 // SPDY Headers have been received, but not all of them - status or version |
446 // headers are missing, so we're expecting additional frames to complete them. | 446 // headers are missing, so we're expecting additional frames to complete them. |
447 NET_ERROR(INCOMPLETE_SPDY_HEADERS, -347) | 447 NET_ERROR(INCOMPLETE_SPDY_HEADERS, -347) |
448 | 448 |
449 // No PAC URL configuration could be retrieved from DHCP. This can indicate | |
450 // either a failure to retrieve the DHCP configuration, or that there was no | |
451 // PAC URL configured in DHCP. | |
452 NET_ERROR(PAC_NOT_IN_DHCP, -348) | |
453 | |
454 // The cache does not have the requested entry. | 449 // The cache does not have the requested entry. |
455 NET_ERROR(CACHE_MISS, -400) | 450 NET_ERROR(CACHE_MISS, -400) |
456 | 451 |
457 // Unable to read from the disk cache. | 452 // Unable to read from the disk cache. |
458 NET_ERROR(CACHE_READ_FAILURE, -401) | 453 NET_ERROR(CACHE_READ_FAILURE, -401) |
459 | 454 |
460 // ****NOTE THAT code -402 is available**** | 455 // ****NOTE THAT code -402 is available**** |
461 | 456 |
462 // The operation is not supported for this entry. | 457 // The operation is not supported for this entry. |
463 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) | 458 NET_ERROR(CACHE_OPERATION_NOT_SUPPORTED, -403) |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 // Import failed - certificate already exists in database. | 524 // Import failed - certificate already exists in database. |
530 // Note it's a little weird this is an error but reimporting a PKCS12 is ok | 525 // Note it's a little weird this is an error but reimporting a PKCS12 is ok |
531 // (no-op). That's how Mozilla does it, though. | 526 // (no-op). That's how Mozilla does it, though. |
532 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) | 527 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) |
533 | 528 |
534 // CA import failed due to some other error. | 529 // CA import failed due to some other error. |
535 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) | 530 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) |
536 | 531 |
537 // Server certificate import failed due to some internal error. | 532 // Server certificate import failed due to some internal error. |
538 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) | 533 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) |
OLD | NEW |