| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // |
| 11 // Ranges: | 11 // Ranges: |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 // The SSL server attempted to use a weak ephemeral Diffie-Hellman key. | 174 // The SSL server attempted to use a weak ephemeral Diffie-Hellman key. |
| 175 NET_ERROR(SSL_WEAK_SERVER_EPHEMERAL_DH_KEY, -129) | 175 NET_ERROR(SSL_WEAK_SERVER_EPHEMERAL_DH_KEY, -129) |
| 176 | 176 |
| 177 // Could not create a connection to the proxy server. An error occurred | 177 // Could not create a connection to the proxy server. An error occurred |
| 178 // either in resolving its name, or in connecting a socket to it. | 178 // either in resolving its name, or in connecting a socket to it. |
| 179 // Note that this does NOT include failures during the actual "CONNECT" method | 179 // Note that this does NOT include failures during the actual "CONNECT" method |
| 180 // of an HTTP proxy. | 180 // of an HTTP proxy. |
| 181 NET_ERROR(PROXY_CONNECTION_FAILED, -130) | 181 NET_ERROR(PROXY_CONNECTION_FAILED, -130) |
| 182 | 182 |
| 183 // Free: 131 | 183 // A mandatory proxy configuration could not be used. Currently this means |
| 184 // that a mandatory PAC script could not be fetched, parsed or executed. |
| 185 NET_ERROR(MANDATORY_PROXY_CONFIGURATION_FAILED, -131) |
| 184 | 186 |
| 185 // We detected an ESET product intercepting our HTTPS connections. Since these | 187 // We detected an ESET product intercepting our HTTPS connections. Since these |
| 186 // products are False Start intolerant, we return this error so that we can | 188 // products are False Start intolerant, we return this error so that we can |
| 187 // give the user a helpful error message rather than have the connection hang. | 189 // give the user a helpful error message rather than have the connection hang. |
| 188 NET_ERROR(ESET_ANTI_VIRUS_SSL_INTERCEPTION, -132) | 190 NET_ERROR(ESET_ANTI_VIRUS_SSL_INTERCEPTION, -132) |
| 189 | 191 |
| 190 // We've hit the max socket limit for the socket pool while preconnecting. We | 192 // We've hit the max socket limit for the socket pool while preconnecting. We |
| 191 // don't bother trying to preconnect more sockets. | 193 // don't bother trying to preconnect more sockets. |
| 192 NET_ERROR(PRECONNECT_MAX_SOCKET_LIMIT, -133) | 194 NET_ERROR(PRECONNECT_MAX_SOCKET_LIMIT, -133) |
| 193 | 195 |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 // Import failed - certificate already exists in database. | 524 // Import failed - certificate already exists in database. |
| 523 // Note it's a little weird this is an error but reimporting a PKCS12 is ok | 525 // Note it's a little weird this is an error but reimporting a PKCS12 is ok |
| 524 // (no-op). That's how Mozilla does it, though. | 526 // (no-op). That's how Mozilla does it, though. |
| 525 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) | 527 NET_ERROR(IMPORT_CERT_ALREADY_EXISTS, -704) |
| 526 | 528 |
| 527 // CA import failed due to some other error. | 529 // CA import failed due to some other error. |
| 528 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) | 530 NET_ERROR(IMPORT_CA_CERT_FAILED, -705) |
| 529 | 531 |
| 530 // Server certificate import failed due to some internal error. | 532 // Server certificate import failed due to some internal error. |
| 531 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) | 533 NET_ERROR(IMPORT_SERVER_CERT_FAILED, -706) |
| OLD | NEW |