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 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
565 // There is a QUIC protocol error. | 565 // There is a QUIC protocol error. |
566 NET_ERROR(QUIC_PROTOCOL_ERROR, -356) | 566 NET_ERROR(QUIC_PROTOCOL_ERROR, -356) |
567 | 567 |
568 // The HTTP headers were truncated by an EOF. | 568 // The HTTP headers were truncated by an EOF. |
569 NET_ERROR(RESPONSE_HEADERS_TRUNCATED, -357) | 569 NET_ERROR(RESPONSE_HEADERS_TRUNCATED, -357) |
570 | 570 |
571 // The QUIC crytpo handshake failed. This means that the server was unable | 571 // The QUIC crytpo handshake failed. This means that the server was unable |
572 // to read any requests sent, so they may be resent. | 572 // to read any requests sent, so they may be resent. |
573 NET_ERROR(QUIC_HANDSHAKE_FAILED, -358) | 573 NET_ERROR(QUIC_HANDSHAKE_FAILED, -358) |
574 | 574 |
| 575 // An https resource was requested over an insecure QUIC connection. |
| 576 NET_ERROR(REQUEST_FOR_SECURE_RESOURCE_OVER_INSECURE_QUIC, -359) |
| 577 |
575 // The cache does not have the requested entry. | 578 // The cache does not have the requested entry. |
576 NET_ERROR(CACHE_MISS, -400) | 579 NET_ERROR(CACHE_MISS, -400) |
577 | 580 |
578 // Unable to read from the disk cache. | 581 // Unable to read from the disk cache. |
579 NET_ERROR(CACHE_READ_FAILURE, -401) | 582 NET_ERROR(CACHE_READ_FAILURE, -401) |
580 | 583 |
581 // Unable to write to the disk cache. | 584 // Unable to write to the disk cache. |
582 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 585 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
583 | 586 |
584 // The operation is not supported for this entry. | 587 // The operation is not supported for this entry. |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
717 NET_ERROR(DNS_TIMED_OUT, -803) | 720 NET_ERROR(DNS_TIMED_OUT, -803) |
718 | 721 |
719 // The entry was not found in cache, for cache-only lookups. | 722 // The entry was not found in cache, for cache-only lookups. |
720 NET_ERROR(DNS_CACHE_MISS, -804) | 723 NET_ERROR(DNS_CACHE_MISS, -804) |
721 | 724 |
722 // Suffix search list rules prevent resolution of the given host name. | 725 // Suffix search list rules prevent resolution of the given host name. |
723 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 726 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
724 | 727 |
725 // Failed to sort addresses according to RFC3484. | 728 // Failed to sort addresses according to RFC3484. |
726 NET_ERROR(DNS_SORT_ERROR, -806) | 729 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |