Chromium Code Reviews| 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. | |
|
cpu_(ooo_6.6-7.5)
2015/07/17 19:56:01
maybe add link to the chromium-dev document?
xunjieli
2015/07/20 20:02:12
Done. Linked to the bug tracker, which has the chr
| |
| 646 NET_ERROR(TEMPORARY_BACKOFF, -369) | |
| 647 | |
| 645 // The cache does not have the requested entry. | 648 // The cache does not have the requested entry. |
| 646 NET_ERROR(CACHE_MISS, -400) | 649 NET_ERROR(CACHE_MISS, -400) |
| 647 | 650 |
| 648 // Unable to read from the disk cache. | 651 // Unable to read from the disk cache. |
| 649 NET_ERROR(CACHE_READ_FAILURE, -401) | 652 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 650 | 653 |
| 651 // Unable to write to the disk cache. | 654 // Unable to write to the disk cache. |
| 652 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 655 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
| 653 | 656 |
| 654 // The operation is not supported for this entry. | 657 // 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) | 799 NET_ERROR(DNS_TIMED_OUT, -803) |
| 797 | 800 |
| 798 // The entry was not found in cache, for cache-only lookups. | 801 // The entry was not found in cache, for cache-only lookups. |
| 799 NET_ERROR(DNS_CACHE_MISS, -804) | 802 NET_ERROR(DNS_CACHE_MISS, -804) |
| 800 | 803 |
| 801 // Suffix search list rules prevent resolution of the given host name. | 804 // Suffix search list rules prevent resolution of the given host name. |
| 802 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 805 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 803 | 806 |
| 804 // Failed to sort addresses according to RFC3484. | 807 // Failed to sort addresses according to RFC3484. |
| 805 NET_ERROR(DNS_SORT_ERROR, -806) | 808 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |