Chromium Code Reviews| 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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 340 // The SSL server requires falling back to a version older than the configured | 340 // The SSL server requires falling back to a version older than the configured |
| 341 // minimum fallback version, and thus fallback failed. | 341 // minimum fallback version, and thus fallback failed. |
| 342 NET_ERROR(SSL_FALLBACK_BEYOND_MINIMUM_VERSION, -165) | 342 NET_ERROR(SSL_FALLBACK_BEYOND_MINIMUM_VERSION, -165) |
| 343 | 343 |
| 344 // Resolving a hostname to an IP address list included the IPv4 address | 344 // Resolving a hostname to an IP address list included the IPv4 address |
| 345 // "127.0.53.53". This is a special IP address which ICANN has recommended to | 345 // "127.0.53.53". This is a special IP address which ICANN has recommended to |
| 346 // indicate there was a name collision, and alert admins to a potential | 346 // indicate there was a name collision, and alert admins to a potential |
| 347 // problem. | 347 // problem. |
| 348 NET_ERROR(ICANN_NAME_COLLISION, -166) | 348 NET_ERROR(ICANN_NAME_COLLISION, -166) |
| 349 | 349 |
| 350 // The SSL server presented a certificate which could not be decoded. This is | |
| 351 // not a certificate error code as now X509Certificate object is available. This | |
|
Ryan Sleevi
2015/08/11 23:25:25
'code as now' -> 'code, as no'
davidben
2015/08/12 21:40:02
Done.
| |
| 352 // error is fatal and may not be clicked though. | |
|
Ryan Sleevi
2015/08/11 23:25:25
'fatal and may not be clicked through' -> 'fatal,
davidben
2015/08/12 21:40:02
Done.
| |
| 353 NET_ERROR(SSL_SERVER_CERT_BAD_FORMAT, -167) | |
| 354 | |
| 350 // Certificate error codes | 355 // Certificate error codes |
| 351 // | 356 // |
| 352 // The values of certificate error codes must be consecutive. | 357 // The values of certificate error codes must be consecutive. |
| 353 | 358 |
| 354 // The server responded with a certificate whose common name did not match | 359 // The server responded with a certificate whose common name did not match |
| 355 // the host name. This could mean: | 360 // the host name. This could mean: |
| 356 // | 361 // |
| 357 // 1. An attacker has redirected our traffic to their server and is | 362 // 1. An attacker has redirected our traffic to their server and is |
| 358 // presenting a certificate for which they know the private key. | 363 // presenting a certificate for which they know the private key. |
| 359 // | 364 // |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 800 NET_ERROR(DNS_TIMED_OUT, -803) | 805 NET_ERROR(DNS_TIMED_OUT, -803) |
| 801 | 806 |
| 802 // The entry was not found in cache, for cache-only lookups. | 807 // The entry was not found in cache, for cache-only lookups. |
| 803 NET_ERROR(DNS_CACHE_MISS, -804) | 808 NET_ERROR(DNS_CACHE_MISS, -804) |
| 804 | 809 |
| 805 // Suffix search list rules prevent resolution of the given host name. | 810 // Suffix search list rules prevent resolution of the given host name. |
| 806 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 811 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 807 | 812 |
| 808 // Failed to sort addresses according to RFC3484. | 813 // Failed to sort addresses according to RFC3484. |
| 809 NET_ERROR(DNS_SORT_ERROR, -806) | 814 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |