| 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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 // Content-Length header when the connection is closed. | 529 // Content-Length header when the connection is closed. |
| 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. |
| 540 NET_ERROR(HEADERS_TRUNCATED, -357) |
| 541 |
| 539 // The cache does not have the requested entry. | 542 // The cache does not have the requested entry. |
| 540 NET_ERROR(CACHE_MISS, -400) | 543 NET_ERROR(CACHE_MISS, -400) |
| 541 | 544 |
| 542 // Unable to read from the disk cache. | 545 // Unable to read from the disk cache. |
| 543 NET_ERROR(CACHE_READ_FAILURE, -401) | 546 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 544 | 547 |
| 545 // Unable to write to the disk cache. | 548 // Unable to write to the disk cache. |
| 546 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 549 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
| 547 | 550 |
| 548 // The operation is not supported for this entry. | 551 // The operation is not supported for this entry. |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 664 NET_ERROR(DNS_TIMED_OUT, -803) | 667 NET_ERROR(DNS_TIMED_OUT, -803) |
| 665 | 668 |
| 666 // The entry was not found in cache, for cache-only lookups. | 669 // The entry was not found in cache, for cache-only lookups. |
| 667 NET_ERROR(DNS_CACHE_MISS, -804) | 670 NET_ERROR(DNS_CACHE_MISS, -804) |
| 668 | 671 |
| 669 // Suffix search list rules prevent resolution of the given host name. | 672 // Suffix search list rules prevent resolution of the given host name. |
| 670 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 673 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 671 | 674 |
| 672 // Failed to sort addresses according to RFC3484. | 675 // Failed to sort addresses according to RFC3484. |
| 673 NET_ERROR(DNS_SORT_ERROR, -806) | 676 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |