| 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 624 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 635 NET_ERROR(PROXY_HTTP_1_1_REQUIRED, -366) | 635 NET_ERROR(PROXY_HTTP_1_1_REQUIRED, -366) |
| 636 | 636 |
| 637 // The PAC script terminated fatally and must be reloaded. | 637 // The PAC script terminated fatally and must be reloaded. |
| 638 NET_ERROR(PAC_SCRIPT_TERMINATED, -367) | 638 NET_ERROR(PAC_SCRIPT_TERMINATED, -367) |
| 639 | 639 |
| 640 // The certificate offered by the alternative server is not valid for the | 640 // The certificate offered by the alternative server is not valid for the |
| 641 // origin, a violation of HTTP Alternative Services specification Section 2.1, | 641 // origin, a violation of HTTP Alternative Services specification Section 2.1, |
| 642 // https://tools.ietf.org/id/draft-ietf-httpbis-alt-svc-06.html#host_auth. | 642 // https://tools.ietf.org/id/draft-ietf-httpbis-alt-svc-06.html#host_auth. |
| 643 NET_ERROR(ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN, -368) | 643 NET_ERROR(ALTERNATIVE_CERT_NOT_VALID_FOR_ORIGIN, -368) |
| 644 | 644 |
| 645 // Request is throttled because of a Backoff header. |
| 646 // See: crbug.com/486891. |
| 647 NET_ERROR(TEMPORARY_BACKOFF, -369) |
| 648 |
| 645 // The cache does not have the requested entry. | 649 // The cache does not have the requested entry. |
| 646 NET_ERROR(CACHE_MISS, -400) | 650 NET_ERROR(CACHE_MISS, -400) |
| 647 | 651 |
| 648 // Unable to read from the disk cache. | 652 // Unable to read from the disk cache. |
| 649 NET_ERROR(CACHE_READ_FAILURE, -401) | 653 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 650 | 654 |
| 651 // Unable to write to the disk cache. | 655 // Unable to write to the disk cache. |
| 652 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 656 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
| 653 | 657 |
| 654 // The operation is not supported for this entry. | 658 // The operation is not supported for this entry. |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 796 NET_ERROR(DNS_TIMED_OUT, -803) | 800 NET_ERROR(DNS_TIMED_OUT, -803) |
| 797 | 801 |
| 798 // The entry was not found in cache, for cache-only lookups. | 802 // The entry was not found in cache, for cache-only lookups. |
| 799 NET_ERROR(DNS_CACHE_MISS, -804) | 803 NET_ERROR(DNS_CACHE_MISS, -804) |
| 800 | 804 |
| 801 // Suffix search list rules prevent resolution of the given host name. | 805 // Suffix search list rules prevent resolution of the given host name. |
| 802 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 806 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 803 | 807 |
| 804 // Failed to sort addresses according to RFC3484. | 808 // Failed to sort addresses according to RFC3484. |
| 805 NET_ERROR(DNS_SORT_ERROR, -806) | 809 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |