Chromium Code Reviews| 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) | |
|
wtc
2013/05/30 00:38:30
I suggest renaming this RESPONSE_HEADERS_TRUNCATED
agl
2013/06/03 18:18:29
Will do.
| |
| 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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 675 NET_ERROR(DNS_TIMED_OUT, -803) | 678 NET_ERROR(DNS_TIMED_OUT, -803) |
| 676 | 679 |
| 677 // The entry was not found in cache, for cache-only lookups. | 680 // The entry was not found in cache, for cache-only lookups. |
| 678 NET_ERROR(DNS_CACHE_MISS, -804) | 681 NET_ERROR(DNS_CACHE_MISS, -804) |
| 679 | 682 |
| 680 // Suffix search list rules prevent resolution of the given host name. | 683 // Suffix search list rules prevent resolution of the given host name. |
| 681 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 684 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 682 | 685 |
| 683 // Failed to sort addresses according to RFC3484. | 686 // Failed to sort addresses according to RFC3484. |
| 684 NET_ERROR(DNS_SORT_ERROR, -806) | 687 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |