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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
100 NET_ERROR(BLOCKED_ENROLLMENT_CHECK_PENDING, -24) | 100 NET_ERROR(BLOCKED_ENROLLMENT_CHECK_PENDING, -24) |
101 | 101 |
102 // The upload failed because the upload stream needed to be re-read, due to a | 102 // The upload failed because the upload stream needed to be re-read, due to a |
103 // retry or a redirect, but the upload stream doesn't support that operation. | 103 // retry or a redirect, but the upload stream doesn't support that operation. |
104 NET_ERROR(UPLOAD_STREAM_REWIND_NOT_SUPPORTED, -25) | 104 NET_ERROR(UPLOAD_STREAM_REWIND_NOT_SUPPORTED, -25) |
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 | |
111 // which are not met ('X-Frame-Options' and 'Content-Security-Policy' ancestor | |
112 // checks, for instance. | |
mmenke
2016/05/02 18:08:15
Missing a close paren.
Mike West
2016/05/05 08:14:28
The nittiest of nits. :P
| |
113 NET_ERROR(BLOCKED_BY_RESPONSE, -27) | |
114 | |
110 // A connection was closed (corresponding to a TCP FIN). | 115 // A connection was closed (corresponding to a TCP FIN). |
111 NET_ERROR(CONNECTION_CLOSED, -100) | 116 NET_ERROR(CONNECTION_CLOSED, -100) |
112 | 117 |
113 // A connection was reset (corresponding to a TCP RST). | 118 // A connection was reset (corresponding to a TCP RST). |
114 NET_ERROR(CONNECTION_RESET, -101) | 119 NET_ERROR(CONNECTION_RESET, -101) |
115 | 120 |
116 // A connection attempt was refused. | 121 // A connection attempt was refused. |
117 NET_ERROR(CONNECTION_REFUSED, -102) | 122 NET_ERROR(CONNECTION_REFUSED, -102) |
118 | 123 |
119 // A connection timed out as a result of not receiving an ACK for data sent. | 124 // 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... | |
819 NET_ERROR(DNS_TIMED_OUT, -803) | 824 NET_ERROR(DNS_TIMED_OUT, -803) |
820 | 825 |
821 // The entry was not found in cache, for cache-only lookups. | 826 // The entry was not found in cache, for cache-only lookups. |
822 NET_ERROR(DNS_CACHE_MISS, -804) | 827 NET_ERROR(DNS_CACHE_MISS, -804) |
823 | 828 |
824 // Suffix search list rules prevent resolution of the given host name. | 829 // Suffix search list rules prevent resolution of the given host name. |
825 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 830 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
826 | 831 |
827 // Failed to sort addresses according to RFC3484. | 832 // Failed to sort addresses according to RFC3484. |
828 NET_ERROR(DNS_SORT_ERROR, -806) | 833 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |