OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 values. | 6 // inside a macro to generate enum values. |
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 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
638 // returned from attempts to read from the cache. It is an internal error, | 638 // returned from attempts to read from the cache. It is an internal error, |
639 // returned by the SimpleCache backend, but not by any URLRequest methods | 639 // returned by the SimpleCache backend, but not by any URLRequest methods |
640 // or members. | 640 // or members. |
641 NET_ERROR(CACHE_CHECKSUM_READ_FAILURE, -407) | 641 NET_ERROR(CACHE_CHECKSUM_READ_FAILURE, -407) |
642 | 642 |
643 // The cache found an entry with an invalid checksum. This can be returned from | 643 // The cache found an entry with an invalid checksum. This can be returned from |
644 // attempts to read from the cache. It is an internal error, returned by the | 644 // attempts to read from the cache. It is an internal error, returned by the |
645 // SimpleCache backend, but not by any URLRequest methods or members. | 645 // SimpleCache backend, but not by any URLRequest methods or members. |
646 NET_ERROR(CACHE_CHECKSUM_MISMATCH, -408) | 646 NET_ERROR(CACHE_CHECKSUM_MISMATCH, -408) |
647 | 647 |
| 648 // Internal error code for the HTTP cache. The cache lock timeout has fired. |
| 649 NET_ERROR(CACHE_LOCK_TIMEOUT, -409) |
| 650 |
648 // The server's response was insecure (e.g. there was a cert error). | 651 // The server's response was insecure (e.g. there was a cert error). |
649 NET_ERROR(INSECURE_RESPONSE, -501) | 652 NET_ERROR(INSECURE_RESPONSE, -501) |
650 | 653 |
651 // The server responded to a <keygen> with a generated client cert that we | 654 // The server responded to a <keygen> with a generated client cert that we |
652 // don't have the matching private key for. | 655 // don't have the matching private key for. |
653 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) | 656 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) |
654 | 657 |
655 // An error adding to the OS certificate database (e.g. OS X Keychain). | 658 // An error adding to the OS certificate database (e.g. OS X Keychain). |
656 NET_ERROR(ADD_USER_CERT_FAILED, -503) | 659 NET_ERROR(ADD_USER_CERT_FAILED, -503) |
657 | 660 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 NET_ERROR(DNS_TIMED_OUT, -803) | 758 NET_ERROR(DNS_TIMED_OUT, -803) |
756 | 759 |
757 // The entry was not found in cache, for cache-only lookups. | 760 // The entry was not found in cache, for cache-only lookups. |
758 NET_ERROR(DNS_CACHE_MISS, -804) | 761 NET_ERROR(DNS_CACHE_MISS, -804) |
759 | 762 |
760 // Suffix search list rules prevent resolution of the given host name. | 763 // Suffix search list rules prevent resolution of the given host name. |
761 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 764 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
762 | 765 |
763 // Failed to sort addresses according to RFC3484. | 766 // Failed to sort addresses according to RFC3484. |
764 NET_ERROR(DNS_SORT_ERROR, -806) | 767 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |