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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 | 611 |
612 // The peer sent an improperly sized SPDY frame. | 612 // The peer sent an improperly sized SPDY frame. |
613 NET_ERROR(SPDY_FRAME_SIZE_ERROR, -362) | 613 NET_ERROR(SPDY_FRAME_SIZE_ERROR, -362) |
614 | 614 |
615 // Decoding or encoding of compressed SPDY headers failed. | 615 // Decoding or encoding of compressed SPDY headers failed. |
616 NET_ERROR(SPDY_COMPRESSION_ERROR, -363) | 616 NET_ERROR(SPDY_COMPRESSION_ERROR, -363) |
617 | 617 |
618 // Proxy Auth Requested without a valid Client Socket Handle. | 618 // Proxy Auth Requested without a valid Client Socket Handle. |
619 NET_ERROR(PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION, -364) | 619 NET_ERROR(PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION, -364) |
620 | 620 |
| 621 // HTTP_1_1_REQUIRED error code received on HTTP/2 session. |
| 622 NET_ERROR(HTTP_1_1_REQUIRED, -365) |
| 623 |
| 624 // HTTP_1_1_REQUIRED error code received on HTTP/2 session to proxy. |
| 625 NET_ERROR(PROXY_HTTP_1_1_REQUIRED, -366) |
| 626 |
621 // The cache does not have the requested entry. | 627 // The cache does not have the requested entry. |
622 NET_ERROR(CACHE_MISS, -400) | 628 NET_ERROR(CACHE_MISS, -400) |
623 | 629 |
624 // Unable to read from the disk cache. | 630 // Unable to read from the disk cache. |
625 NET_ERROR(CACHE_READ_FAILURE, -401) | 631 NET_ERROR(CACHE_READ_FAILURE, -401) |
626 | 632 |
627 // Unable to write to the disk cache. | 633 // Unable to write to the disk cache. |
628 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 634 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
629 | 635 |
630 // The operation is not supported for this entry. | 636 // The operation is not supported for this entry. |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 NET_ERROR(DNS_TIMED_OUT, -803) | 775 NET_ERROR(DNS_TIMED_OUT, -803) |
770 | 776 |
771 // The entry was not found in cache, for cache-only lookups. | 777 // The entry was not found in cache, for cache-only lookups. |
772 NET_ERROR(DNS_CACHE_MISS, -804) | 778 NET_ERROR(DNS_CACHE_MISS, -804) |
773 | 779 |
774 // Suffix search list rules prevent resolution of the given host name. | 780 // Suffix search list rules prevent resolution of the given host name. |
775 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 781 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
776 | 782 |
777 // Failed to sort addresses according to RFC3484. | 783 // Failed to sort addresses according to RFC3484. |
778 NET_ERROR(DNS_SORT_ERROR, -806) | 784 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |