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 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
757 // SimpleCache backend, but not by any URLRequest methods or members. | 757 // SimpleCache backend, but not by any URLRequest methods or members. |
758 NET_ERROR(CACHE_CHECKSUM_MISMATCH, -408) | 758 NET_ERROR(CACHE_CHECKSUM_MISMATCH, -408) |
759 | 759 |
760 // Internal error code for the HTTP cache. The cache lock timeout has fired. | 760 // Internal error code for the HTTP cache. The cache lock timeout has fired. |
761 NET_ERROR(CACHE_LOCK_TIMEOUT, -409) | 761 NET_ERROR(CACHE_LOCK_TIMEOUT, -409) |
762 | 762 |
763 // Received a challenge after the transaction has read some data, and the | 763 // Received a challenge after the transaction has read some data, and the |
764 // credentials aren't available. There isn't a way to get them at that point. | 764 // credentials aren't available. There isn't a way to get them at that point. |
765 NET_ERROR(CACHE_AUTH_FAILURE_AFTER_READ, -410) | 765 NET_ERROR(CACHE_AUTH_FAILURE_AFTER_READ, -410) |
766 | 766 |
| 767 // Internal not-quite error code for the HTTP cache. In-memory hints suggest |
| 768 // that the entry will not be useable under circumstances. |
| 769 NET_ERROR(CACHE_ENTRY_NOT_SUITABLE, -411) |
| 770 |
767 // The server's response was insecure (e.g. there was a cert error). | 771 // The server's response was insecure (e.g. there was a cert error). |
768 NET_ERROR(INSECURE_RESPONSE, -501) | 772 NET_ERROR(INSECURE_RESPONSE, -501) |
769 | 773 |
770 // An attempt to import a client certificate failed, as the user's key | 774 // An attempt to import a client certificate failed, as the user's key |
771 // database lacked a corresponding private key. | 775 // database lacked a corresponding private key. |
772 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) | 776 NET_ERROR(NO_PRIVATE_KEY_FOR_CERT, -502) |
773 | 777 |
774 // An error adding a certificate to the OS certificate database. | 778 // An error adding a certificate to the OS certificate database. |
775 NET_ERROR(ADD_USER_CERT_FAILED, -503) | 779 NET_ERROR(ADD_USER_CERT_FAILED, -503) |
776 | 780 |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 NET_ERROR(DNS_TIMED_OUT, -803) | 879 NET_ERROR(DNS_TIMED_OUT, -803) |
876 | 880 |
877 // The entry was not found in cache, for cache-only lookups. | 881 // The entry was not found in cache, for cache-only lookups. |
878 NET_ERROR(DNS_CACHE_MISS, -804) | 882 NET_ERROR(DNS_CACHE_MISS, -804) |
879 | 883 |
880 // Suffix search list rules prevent resolution of the given host name. | 884 // Suffix search list rules prevent resolution of the given host name. |
881 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 885 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
882 | 886 |
883 // Failed to sort addresses according to RFC3484. | 887 // Failed to sort addresses according to RFC3484. |
884 NET_ERROR(DNS_SORT_ERROR, -806) | 888 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |