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. | 6 // inside a macro to generate enum. |
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 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 NET_ERROR(CONTENT_LENGTH_MISMATCH, -354) | 530 NET_ERROR(CONTENT_LENGTH_MISMATCH, -354) |
531 | 531 |
532 // The HTTP response body is transferred with Chunked-Encoding, but the | 532 // The HTTP response body is transferred with Chunked-Encoding, but the |
533 // terminating zero-length chunk was never sent when the connection is closed. | 533 // terminating zero-length chunk was never sent when the connection is closed. |
534 NET_ERROR(INCOMPLETE_CHUNKED_ENCODING, -355) | 534 NET_ERROR(INCOMPLETE_CHUNKED_ENCODING, -355) |
535 | 535 |
536 // There is a QUIC protocol error. | 536 // There is a QUIC protocol error. |
537 NET_ERROR(QUIC_PROTOCOL_ERROR, -356) | 537 NET_ERROR(QUIC_PROTOCOL_ERROR, -356) |
538 | 538 |
539 // The HTTP headers were truncated by an EOF. | 539 // The HTTP headers were truncated by an EOF. |
540 NET_ERROR(HEADERS_TRUNCATED, -357) | 540 NET_ERROR(RESPONSE_HEADERS_TRUNCATED, -357) |
541 | 541 |
542 // The cache does not have the requested entry. | 542 // The cache does not have the requested entry. |
543 NET_ERROR(CACHE_MISS, -400) | 543 NET_ERROR(CACHE_MISS, -400) |
544 | 544 |
545 // Unable to read from the disk cache. | 545 // Unable to read from the disk cache. |
546 NET_ERROR(CACHE_READ_FAILURE, -401) | 546 NET_ERROR(CACHE_READ_FAILURE, -401) |
547 | 547 |
548 // Unable to write to the disk cache. | 548 // Unable to write to the disk cache. |
549 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 549 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
550 | 550 |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 NET_ERROR(DNS_TIMED_OUT, -803) | 678 NET_ERROR(DNS_TIMED_OUT, -803) |
679 | 679 |
680 // The entry was not found in cache, for cache-only lookups. | 680 // The entry was not found in cache, for cache-only lookups. |
681 NET_ERROR(DNS_CACHE_MISS, -804) | 681 NET_ERROR(DNS_CACHE_MISS, -804) |
682 | 682 |
683 // Suffix search list rules prevent resolution of the given host name. | 683 // Suffix search list rules prevent resolution of the given host name. |
684 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 684 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
685 | 685 |
686 // Failed to sort addresses according to RFC3484. | 686 // Failed to sort addresses according to RFC3484. |
687 NET_ERROR(DNS_SORT_ERROR, -806) | 687 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |