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