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 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 // The HTTP headers were truncated by an EOF. | 587 // The HTTP headers were truncated by an EOF. |
588 NET_ERROR(RESPONSE_HEADERS_TRUNCATED, -357) | 588 NET_ERROR(RESPONSE_HEADERS_TRUNCATED, -357) |
589 | 589 |
590 // The QUIC crytpo handshake failed. This means that the server was unable | 590 // The QUIC crytpo handshake failed. This means that the server was unable |
591 // to read any requests sent, so they may be resent. | 591 // to read any requests sent, so they may be resent. |
592 NET_ERROR(QUIC_HANDSHAKE_FAILED, -358) | 592 NET_ERROR(QUIC_HANDSHAKE_FAILED, -358) |
593 | 593 |
594 // An https resource was requested over an insecure QUIC connection. | 594 // An https resource was requested over an insecure QUIC connection. |
595 NET_ERROR(REQUEST_FOR_SECURE_RESOURCE_OVER_INSECURE_QUIC, -359) | 595 NET_ERROR(REQUEST_FOR_SECURE_RESOURCE_OVER_INSECURE_QUIC, -359) |
596 | 596 |
| 597 // Transport security is inadequate for the SPDY version. |
| 598 NET_ERROR(SPDY_INADEQUATE_TRANSPORT_SECURITY, -360) |
| 599 |
597 // The cache does not have the requested entry. | 600 // The cache does not have the requested entry. |
598 NET_ERROR(CACHE_MISS, -400) | 601 NET_ERROR(CACHE_MISS, -400) |
599 | 602 |
600 // Unable to read from the disk cache. | 603 // Unable to read from the disk cache. |
601 NET_ERROR(CACHE_READ_FAILURE, -401) | 604 NET_ERROR(CACHE_READ_FAILURE, -401) |
602 | 605 |
603 // Unable to write to the disk cache. | 606 // Unable to write to the disk cache. |
604 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 607 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
605 | 608 |
606 // The operation is not supported for this entry. | 609 // The operation is not supported for this entry. |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 NET_ERROR(DNS_TIMED_OUT, -803) | 742 NET_ERROR(DNS_TIMED_OUT, -803) |
740 | 743 |
741 // The entry was not found in cache, for cache-only lookups. | 744 // The entry was not found in cache, for cache-only lookups. |
742 NET_ERROR(DNS_CACHE_MISS, -804) | 745 NET_ERROR(DNS_CACHE_MISS, -804) |
743 | 746 |
744 // Suffix search list rules prevent resolution of the given host name. | 747 // Suffix search list rules prevent resolution of the given host name. |
745 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 748 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
746 | 749 |
747 // Failed to sort addresses according to RFC3484. | 750 // Failed to sort addresses according to RFC3484. |
748 NET_ERROR(DNS_SORT_ERROR, -806) | 751 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |