| 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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 | 364 |
| 365 // The attempt to reuse a connection to send proxy auth credentials failed | 365 // The attempt to reuse a connection to send proxy auth credentials failed |
| 366 // before the AuthController was used to generate credentials. The caller should | 366 // before the AuthController was used to generate credentials. The caller should |
| 367 // reuse the controller with a new connection. This error is only used | 367 // reuse the controller with a new connection. This error is only used |
| 368 // internally by the network stack. | 368 // internally by the network stack. |
| 369 NET_ERROR(UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH, -170) | 369 NET_ERROR(UNABLE_TO_REUSE_CONNECTION_FOR_PROXY_AUTH, -170) |
| 370 | 370 |
| 371 // Certificate Transparency: Failed to parse the received consistency proof. | 371 // Certificate Transparency: Failed to parse the received consistency proof. |
| 372 NET_ERROR(CT_CONSISTENCY_PROOF_PARSING_FAILED, -171) | 372 NET_ERROR(CT_CONSISTENCY_PROOF_PARSING_FAILED, -171) |
| 373 | 373 |
| 374 // The SSL server required an unsupported cipher suite that has since been |
| 375 // removed. This error will temporarily be signaled on a fallback for one or two |
| 376 // releases immediately following a cipher suite's removal, after which the |
| 377 // fallback will be removed. |
| 378 NET_ERROR(SSL_OBSOLETE_CIPHER, -172) |
| 379 |
| 374 // Certificate error codes | 380 // Certificate error codes |
| 375 // | 381 // |
| 376 // The values of certificate error codes must be consecutive. | 382 // The values of certificate error codes must be consecutive. |
| 377 | 383 |
| 378 // The server responded with a certificate whose common name did not match | 384 // The server responded with a certificate whose common name did not match |
| 379 // the host name. This could mean: | 385 // the host name. This could mean: |
| 380 // | 386 // |
| 381 // 1. An attacker has redirected our traffic to their server and is | 387 // 1. An attacker has redirected our traffic to their server and is |
| 382 // presenting a certificate for which they know the private key. | 388 // presenting a certificate for which they know the private key. |
| 383 // | 389 // |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 NET_ERROR(DNS_TIMED_OUT, -803) | 830 NET_ERROR(DNS_TIMED_OUT, -803) |
| 825 | 831 |
| 826 // The entry was not found in cache, for cache-only lookups. | 832 // The entry was not found in cache, for cache-only lookups. |
| 827 NET_ERROR(DNS_CACHE_MISS, -804) | 833 NET_ERROR(DNS_CACHE_MISS, -804) |
| 828 | 834 |
| 829 // Suffix search list rules prevent resolution of the given host name. | 835 // Suffix search list rules prevent resolution of the given host name. |
| 830 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 836 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 831 | 837 |
| 832 // Failed to sort addresses according to RFC3484. | 838 // Failed to sort addresses according to RFC3484. |
| 833 NET_ERROR(DNS_SORT_ERROR, -806) | 839 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |