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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 // Could not create a connection to the proxy server. An error occurred | 192 // Could not create a connection to the proxy server. An error occurred |
193 // either in resolving its name, or in connecting a socket to it. | 193 // either in resolving its name, or in connecting a socket to it. |
194 // Note that this does NOT include failures during the actual "CONNECT" method | 194 // Note that this does NOT include failures during the actual "CONNECT" method |
195 // of an HTTP proxy. | 195 // of an HTTP proxy. |
196 NET_ERROR(PROXY_CONNECTION_FAILED, -130) | 196 NET_ERROR(PROXY_CONNECTION_FAILED, -130) |
197 | 197 |
198 // A mandatory proxy configuration could not be used. Currently this means | 198 // A mandatory proxy configuration could not be used. Currently this means |
199 // that a mandatory PAC script could not be fetched, parsed or executed. | 199 // that a mandatory PAC script could not be fetched, parsed or executed. |
200 NET_ERROR(MANDATORY_PROXY_CONFIGURATION_FAILED, -131) | 200 NET_ERROR(MANDATORY_PROXY_CONFIGURATION_FAILED, -131) |
201 | 201 |
202 // We detected an ESET product intercepting our HTTPS connections. Since these | 202 // -132 was formerly ERR_ESET_ANTI_VIRUS_SSL_INTERCEPTION |
203 // products are False Start intolerant, we return this error so that we can | |
204 // give the user a helpful error message rather than have the connection hang. | |
205 NET_ERROR(ESET_ANTI_VIRUS_SSL_INTERCEPTION, -132) | |
206 | 203 |
207 // We've hit the max socket limit for the socket pool while preconnecting. We | 204 // We've hit the max socket limit for the socket pool while preconnecting. We |
208 // don't bother trying to preconnect more sockets. | 205 // don't bother trying to preconnect more sockets. |
209 NET_ERROR(PRECONNECT_MAX_SOCKET_LIMIT, -133) | 206 NET_ERROR(PRECONNECT_MAX_SOCKET_LIMIT, -133) |
210 | 207 |
211 // The permission to use the SSL client certificate's private key was denied. | 208 // The permission to use the SSL client certificate's private key was denied. |
212 NET_ERROR(SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED, -134) | 209 NET_ERROR(SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED, -134) |
213 | 210 |
214 // The SSL client certificate has no private key. | 211 // The SSL client certificate has no private key. |
215 NET_ERROR(SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY, -135) | 212 NET_ERROR(SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY, -135) |
(...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
654 NET_ERROR(DNS_TIMED_OUT, -803) | 651 NET_ERROR(DNS_TIMED_OUT, -803) |
655 | 652 |
656 // The entry was not found in cache, for cache-only lookups. | 653 // The entry was not found in cache, for cache-only lookups. |
657 NET_ERROR(DNS_CACHE_MISS, -804) | 654 NET_ERROR(DNS_CACHE_MISS, -804) |
658 | 655 |
659 // Suffix search list rules prevent resolution of the given host name. | 656 // Suffix search list rules prevent resolution of the given host name. |
660 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 657 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
661 | 658 |
662 // Failed to sort addresses according to RFC3484. | 659 // Failed to sort addresses according to RFC3484. |
663 NET_ERROR(DNS_SORT_ERROR, -806) | 660 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |