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 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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 607 | 607 |
| 608 // The peer sent an improperly sized SPDY frame. | 608 // The peer sent an improperly sized SPDY frame. |
| 609 NET_ERROR(SPDY_FRAME_SIZE_ERROR, -362) | 609 NET_ERROR(SPDY_FRAME_SIZE_ERROR, -362) |
| 610 | 610 |
| 611 // Decoding or encoding of compressed SPDY headers failed. | 611 // Decoding or encoding of compressed SPDY headers failed. |
| 612 NET_ERROR(SPDY_COMPRESSION_ERROR, -363) | 612 NET_ERROR(SPDY_COMPRESSION_ERROR, -363) |
| 613 | 613 |
| 614 // Proxy Auth Requested without a valid Client Socket Handle. | 614 // Proxy Auth Requested without a valid Client Socket Handle. |
| 615 NET_ERROR(PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION, -364) | 615 NET_ERROR(PROXY_AUTH_REQUESTED_WITH_NO_CONNECTION, -364) |
| 616 | 616 |
| 617 // Hash check failed on retry of a request. | |
| 618 NET_ERROR(RETRY_HASH_MISMATCH, -365) | |
| 619 | |
| 620 // The resource was modified on a retry attempt. | |
| 621 NET_ERROR(RETRY_CONTENT_UPDATED, -366) | |
|
mmenke
2014/07/22 14:57:41
Should add a comment that these are just temporary
| |
| 622 | |
| 617 // The cache does not have the requested entry. | 623 // The cache does not have the requested entry. |
| 618 NET_ERROR(CACHE_MISS, -400) | 624 NET_ERROR(CACHE_MISS, -400) |
| 619 | 625 |
| 620 // Unable to read from the disk cache. | 626 // Unable to read from the disk cache. |
| 621 NET_ERROR(CACHE_READ_FAILURE, -401) | 627 NET_ERROR(CACHE_READ_FAILURE, -401) |
| 622 | 628 |
| 623 // Unable to write to the disk cache. | 629 // Unable to write to the disk cache. |
| 624 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 630 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
| 625 | 631 |
| 626 // The operation is not supported for this entry. | 632 // The operation is not supported for this entry. |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 765 NET_ERROR(DNS_TIMED_OUT, -803) | 771 NET_ERROR(DNS_TIMED_OUT, -803) |
| 766 | 772 |
| 767 // The entry was not found in cache, for cache-only lookups. | 773 // The entry was not found in cache, for cache-only lookups. |
| 768 NET_ERROR(DNS_CACHE_MISS, -804) | 774 NET_ERROR(DNS_CACHE_MISS, -804) |
| 769 | 775 |
| 770 // Suffix search list rules prevent resolution of the given host name. | 776 // Suffix search list rules prevent resolution of the given host name. |
| 771 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 777 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 772 | 778 |
| 773 // Failed to sort addresses according to RFC3484. | 779 // Failed to sort addresses according to RFC3484. |
| 774 NET_ERROR(DNS_SORT_ERROR, -806) | 780 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |