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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 // | 361 // |
362 // MSDN describes this error as follows: | 362 // MSDN describes this error as follows: |
363 // "The SSL certificate is invalid." | 363 // "The SSL certificate is invalid." |
364 // | 364 // |
365 NET_ERROR(CERT_INVALID, -207) | 365 NET_ERROR(CERT_INVALID, -207) |
366 | 366 |
367 // The server responded with a certificate that is signed using a weak | 367 // The server responded with a certificate that is signed using a weak |
368 // signature algorithm. | 368 // signature algorithm. |
369 NET_ERROR(CERT_WEAK_SIGNATURE_ALGORITHM, -208) | 369 NET_ERROR(CERT_WEAK_SIGNATURE_ALGORITHM, -208) |
370 | 370 |
371 // The domain has CERT records which are tagged as being an exclusive list of | 371 // -209 is availible: was CERT_NOT_IN_DNS. |
372 // valid fingerprints. But the certificate presented was not in this list. | |
373 NET_ERROR(CERT_NOT_IN_DNS, -209) | |
374 | 372 |
375 // The host name specified in the certificate is not unique. | 373 // The host name specified in the certificate is not unique. |
376 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) | 374 NET_ERROR(CERT_NON_UNIQUE_NAME, -210) |
377 | 375 |
378 // The server responded with a certificate that contains a weak key (e.g. | 376 // The server responded with a certificate that contains a weak key (e.g. |
379 // a too-small RSA key). | 377 // a too-small RSA key). |
380 NET_ERROR(CERT_WEAK_KEY, -211) | 378 NET_ERROR(CERT_WEAK_KEY, -211) |
381 | 379 |
382 // Add new certificate error codes here. | 380 // Add new certificate error codes here. |
383 // | 381 // |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 NET_ERROR(DNS_SERVER_FAILED, -802) | 651 NET_ERROR(DNS_SERVER_FAILED, -802) |
654 | 652 |
655 // DNS transaction timed out. | 653 // DNS transaction timed out. |
656 NET_ERROR(DNS_TIMED_OUT, -803) | 654 NET_ERROR(DNS_TIMED_OUT, -803) |
657 | 655 |
658 // The entry was not found in cache, for cache-only lookups. | 656 // The entry was not found in cache, for cache-only lookups. |
659 NET_ERROR(DNS_CACHE_MISS, -804) | 657 NET_ERROR(DNS_CACHE_MISS, -804) |
660 | 658 |
661 // Suffix search list rules prevent resolution of the given host name. | 659 // Suffix search list rules prevent resolution of the given host name. |
662 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 660 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
OLD | NEW |