| 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 // -132 was formerly ERR_ESET_ANTI_VIRUS_SSL_INTERCEPTION | 202 // We detected an ESET product intercepting our HTTPS connections. Since these |
| 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) |
| 203 | 206 |
| 204 // We've hit the max socket limit for the socket pool while preconnecting. We | 207 // We've hit the max socket limit for the socket pool while preconnecting. We |
| 205 // don't bother trying to preconnect more sockets. | 208 // don't bother trying to preconnect more sockets. |
| 206 NET_ERROR(PRECONNECT_MAX_SOCKET_LIMIT, -133) | 209 NET_ERROR(PRECONNECT_MAX_SOCKET_LIMIT, -133) |
| 207 | 210 |
| 208 // The permission to use the SSL client certificate's private key was denied. | 211 // The permission to use the SSL client certificate's private key was denied. |
| 209 NET_ERROR(SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED, -134) | 212 NET_ERROR(SSL_CLIENT_AUTH_PRIVATE_KEY_ACCESS_DENIED, -134) |
| 210 | 213 |
| 211 // The SSL client certificate has no private key. | 214 // The SSL client certificate has no private key. |
| 212 NET_ERROR(SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY, -135) | 215 NET_ERROR(SSL_CLIENT_AUTH_CERT_NO_PRIVATE_KEY, -135) |
| (...skipping 438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 NET_ERROR(DNS_TIMED_OUT, -803) | 654 NET_ERROR(DNS_TIMED_OUT, -803) |
| 652 | 655 |
| 653 // The entry was not found in cache, for cache-only lookups. | 656 // The entry was not found in cache, for cache-only lookups. |
| 654 NET_ERROR(DNS_CACHE_MISS, -804) | 657 NET_ERROR(DNS_CACHE_MISS, -804) |
| 655 | 658 |
| 656 // Suffix search list rules prevent resolution of the given host name. | 659 // Suffix search list rules prevent resolution of the given host name. |
| 657 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 660 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 658 | 661 |
| 659 // Failed to sort addresses according to RFC3484. | 662 // Failed to sort addresses according to RFC3484. |
| 660 NET_ERROR(DNS_SORT_ERROR, -806) | 663 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |