| 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 667 | 667 |
| 668 // HTTP_1_1_REQUIRED error code received on HTTP/2 session. | 668 // HTTP_1_1_REQUIRED error code received on HTTP/2 session. |
| 669 NET_ERROR(HTTP_1_1_REQUIRED, -365) | 669 NET_ERROR(HTTP_1_1_REQUIRED, -365) |
| 670 | 670 |
| 671 // HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy. | 671 // HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy. |
| 672 NET_ERROR(PROXY_HTTP_1_1_REQUIRED, -366) | 672 NET_ERROR(PROXY_HTTP_1_1_REQUIRED, -366) |
| 673 | 673 |
| 674 // The PAC script terminated fatally and must be reloaded. | 674 // The PAC script terminated fatally and must be reloaded. |
| 675 NET_ERROR(PAC_SCRIPT_TERMINATED, -367) | 675 NET_ERROR(PAC_SCRIPT_TERMINATED, -367) |
| 676 | 676 |
| 677 // The certificate offered by the alternative server is not valid for the | |
| 678 // origin, a violation of HTTP Alternative Services specification Section 2.1, | |
| 679 // https://tools.ietf.org/id/draft-ietf-httpbis-alt-svc-06.html#host_auth. | |
| 680 NET_ERROR(ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN, -368) | |
| 681 | |
| 682 // Request is throttled because of a Backoff header. | 677 // Request is throttled because of a Backoff header. |
| 683 // See: crbug.com/486891. | 678 // See: crbug.com/486891. |
| 684 NET_ERROR(TEMPORARY_BACKOFF, -369) | 679 NET_ERROR(TEMPORARY_BACKOFF, -369) |
| 685 | 680 |
| 686 // The cache does not have the requested entry. | 681 // The cache does not have the requested entry. |
| 687 NET_ERROR(CACHE_MISS, -400) | 682 NET_ERROR(CACHE_MISS, -400) |
| 688 | 683 |
| 689 // Unable to read from the disk cache. | 684 // Unable to read from the disk cache. |
| 690 NET_ERROR(CACHE_READ_FAILURE, -401) | 685 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 691 | 686 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 NET_ERROR(DNS_TIMED_OUT, -803) | 831 NET_ERROR(DNS_TIMED_OUT, -803) |
| 837 | 832 |
| 838 // The entry was not found in cache, for cache-only lookups. | 833 // The entry was not found in cache, for cache-only lookups. |
| 839 NET_ERROR(DNS_CACHE_MISS, -804) | 834 NET_ERROR(DNS_CACHE_MISS, -804) |
| 840 | 835 |
| 841 // Suffix search list rules prevent resolution of the given host name. | 836 // Suffix search list rules prevent resolution of the given host name. |
| 842 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 837 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 843 | 838 |
| 844 // Failed to sort addresses according to RFC3484. | 839 // Failed to sort addresses according to RFC3484. |
| 845 NET_ERROR(DNS_SORT_ERROR, -806) | 840 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |