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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 | 105 |
106 // The request failed because the URLRequestContext is shutting down, or has | 106 // The request failed because the URLRequestContext is shutting down, or has |
107 // been shut down. | 107 // been shut down. |
108 NET_ERROR(CONTEXT_SHUT_DOWN, -26) | 108 NET_ERROR(CONTEXT_SHUT_DOWN, -26) |
109 | 109 |
110 // The request failed because the response was delivered along with requirements | 110 // The request failed because the response was delivered along with requirements |
111 // which are not met ('X-Frame-Options' and 'Content-Security-Policy' ancestor | 111 // which are not met ('X-Frame-Options' and 'Content-Security-Policy' ancestor |
112 // checks, for instance). | 112 // checks, for instance). |
113 NET_ERROR(BLOCKED_BY_RESPONSE, -27) | 113 NET_ERROR(BLOCKED_BY_RESPONSE, -27) |
114 | 114 |
115 // Reading of the file failed | |
116 NET_ERROR(FILE_READ_FAIL, -28) | |
mmenke
2016/05/24 17:13:47
We may want to add this when you modify the Elemen
maksims (do not use this acc)
2016/05/25 07:13:38
Done.
| |
117 | |
115 // A connection was closed (corresponding to a TCP FIN). | 118 // A connection was closed (corresponding to a TCP FIN). |
116 NET_ERROR(CONNECTION_CLOSED, -100) | 119 NET_ERROR(CONNECTION_CLOSED, -100) |
117 | 120 |
118 // A connection was reset (corresponding to a TCP RST). | 121 // A connection was reset (corresponding to a TCP RST). |
119 NET_ERROR(CONNECTION_RESET, -101) | 122 NET_ERROR(CONNECTION_RESET, -101) |
120 | 123 |
121 // A connection attempt was refused. | 124 // A connection attempt was refused. |
122 NET_ERROR(CONNECTION_REFUSED, -102) | 125 NET_ERROR(CONNECTION_REFUSED, -102) |
123 | 126 |
124 // A connection timed out as a result of not receiving an ACK for data sent. | 127 // A connection timed out as a result of not receiving an ACK for data sent. |
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
824 NET_ERROR(DNS_TIMED_OUT, -803) | 827 NET_ERROR(DNS_TIMED_OUT, -803) |
825 | 828 |
826 // The entry was not found in cache, for cache-only lookups. | 829 // The entry was not found in cache, for cache-only lookups. |
827 NET_ERROR(DNS_CACHE_MISS, -804) | 830 NET_ERROR(DNS_CACHE_MISS, -804) |
828 | 831 |
829 // Suffix search list rules prevent resolution of the given host name. | 832 // Suffix search list rules prevent resolution of the given host name. |
830 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 833 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
831 | 834 |
832 // Failed to sort addresses according to RFC3484. | 835 // Failed to sort addresses according to RFC3484. |
833 NET_ERROR(DNS_SORT_ERROR, -806) | 836 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |