| 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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 // There is a QUIC protocol error. | 619 // There is a QUIC protocol error. |
| 620 NET_ERROR(QUIC_PROTOCOL_ERROR, -356) | 620 NET_ERROR(QUIC_PROTOCOL_ERROR, -356) |
| 621 | 621 |
| 622 // The HTTP headers were truncated by an EOF. | 622 // The HTTP headers were truncated by an EOF. |
| 623 NET_ERROR(RESPONSE_HEADERS_TRUNCATED, -357) | 623 NET_ERROR(RESPONSE_HEADERS_TRUNCATED, -357) |
| 624 | 624 |
| 625 // The QUIC crytpo handshake failed. This means that the server was unable | 625 // The QUIC crytpo handshake failed. This means that the server was unable |
| 626 // to read any requests sent, so they may be resent. | 626 // to read any requests sent, so they may be resent. |
| 627 NET_ERROR(QUIC_HANDSHAKE_FAILED, -358) | 627 NET_ERROR(QUIC_HANDSHAKE_FAILED, -358) |
| 628 | 628 |
| 629 // An https resource was requested over an insecure QUIC connection. | 629 // Obsolete. Kept here to avoid reuse, as the old error can still appear on |
| 630 NET_ERROR(REQUEST_FOR_SECURE_RESOURCE_OVER_INSECURE_QUIC, -359) | 630 // histograms. |
| 631 // NET_ERROR(REQUEST_FOR_SECURE_RESOURCE_OVER_INSECURE_QUIC, -359) |
| 631 | 632 |
| 632 // Transport security is inadequate for the SPDY version. | 633 // Transport security is inadequate for the SPDY version. |
| 633 NET_ERROR(SPDY_INADEQUATE_TRANSPORT_SECURITY, -360) | 634 NET_ERROR(SPDY_INADEQUATE_TRANSPORT_SECURITY, -360) |
| 634 | 635 |
| 635 // The peer violated SPDY flow control. | 636 // The peer violated SPDY flow control. |
| 636 NET_ERROR(SPDY_FLOW_CONTROL_ERROR, -361) | 637 NET_ERROR(SPDY_FLOW_CONTROL_ERROR, -361) |
| 637 | 638 |
| 638 // The peer sent an improperly sized SPDY frame. | 639 // The peer sent an improperly sized SPDY frame. |
| 639 NET_ERROR(SPDY_FRAME_SIZE_ERROR, -362) | 640 NET_ERROR(SPDY_FRAME_SIZE_ERROR, -362) |
| 640 | 641 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 NET_ERROR(DNS_TIMED_OUT, -803) | 817 NET_ERROR(DNS_TIMED_OUT, -803) |
| 817 | 818 |
| 818 // The entry was not found in cache, for cache-only lookups. | 819 // The entry was not found in cache, for cache-only lookups. |
| 819 NET_ERROR(DNS_CACHE_MISS, -804) | 820 NET_ERROR(DNS_CACHE_MISS, -804) |
| 820 | 821 |
| 821 // Suffix search list rules prevent resolution of the given host name. | 822 // Suffix search list rules prevent resolution of the given host name. |
| 822 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 823 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 823 | 824 |
| 824 // Failed to sort addresses according to RFC3484. | 825 // Failed to sort addresses according to RFC3484. |
| 825 NET_ERROR(DNS_SORT_ERROR, -806) | 826 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |