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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
676 | 676 |
677 // Obsolete. Kept here to avoid reuse. | 677 // Obsolete. Kept here to avoid reuse. |
678 // Request is throttled because of a Backoff header. | 678 // Request is throttled because of a Backoff header. |
679 // See: crbug.com/486891. | 679 // See: crbug.com/486891. |
680 // NET_ERROR(TEMPORARY_BACKOFF, -369) | 680 // NET_ERROR(TEMPORARY_BACKOFF, -369) |
681 | 681 |
682 // The server was expected to return an HTTP/1.x response, but did not. Rather | 682 // The server was expected to return an HTTP/1.x response, but did not. Rather |
683 // than treat it as HTTP/0.9, this error is returned. | 683 // than treat it as HTTP/0.9, this error is returned. |
684 NET_ERROR(INVALID_HTTP_RESPONSE, -370) | 684 NET_ERROR(INVALID_HTTP_RESPONSE, -370) |
685 | 685 |
| 686 // Initializing content decoding failed. |
| 687 NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371) |
| 688 |
686 // The cache does not have the requested entry. | 689 // The cache does not have the requested entry. |
687 NET_ERROR(CACHE_MISS, -400) | 690 NET_ERROR(CACHE_MISS, -400) |
688 | 691 |
689 // Unable to read from the disk cache. | 692 // Unable to read from the disk cache. |
690 NET_ERROR(CACHE_READ_FAILURE, -401) | 693 NET_ERROR(CACHE_READ_FAILURE, -401) |
691 | 694 |
692 // Unable to write to the disk cache. | 695 // Unable to write to the disk cache. |
693 NET_ERROR(CACHE_WRITE_FAILURE, -402) | 696 NET_ERROR(CACHE_WRITE_FAILURE, -402) |
694 | 697 |
695 // The operation is not supported for this entry. | 698 // The operation is not supported for this entry. |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
836 NET_ERROR(DNS_TIMED_OUT, -803) | 839 NET_ERROR(DNS_TIMED_OUT, -803) |
837 | 840 |
838 // The entry was not found in cache, for cache-only lookups. | 841 // The entry was not found in cache, for cache-only lookups. |
839 NET_ERROR(DNS_CACHE_MISS, -804) | 842 NET_ERROR(DNS_CACHE_MISS, -804) |
840 | 843 |
841 // Suffix search list rules prevent resolution of the given host name. | 844 // Suffix search list rules prevent resolution of the given host name. |
842 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 845 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
843 | 846 |
844 // Failed to sort addresses according to RFC3484. | 847 // Failed to sort addresses according to RFC3484. |
845 NET_ERROR(DNS_SORT_ERROR, -806) | 848 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |