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 642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
653 | 653 |
654 // Key generation failed. | 654 // Key generation failed. |
655 NET_ERROR(KEY_GENERATION_FAILED, -710) | 655 NET_ERROR(KEY_GENERATION_FAILED, -710) |
656 | 656 |
657 // Server-bound certificate generation failed. | 657 // Server-bound certificate generation failed. |
658 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_FAILED, -711) | 658 NET_ERROR(ORIGIN_BOUND_CERT_GENERATION_FAILED, -711) |
659 | 659 |
660 // Failure to export private key. | 660 // Failure to export private key. |
661 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) | 661 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) |
662 | 662 |
| 663 // Self-signed certificate generation failed. |
| 664 NET_ERROR(SELF_SIGNED_CERT_GENERATION_FAILED, -713) |
| 665 |
663 // DNS error codes. | 666 // DNS error codes. |
664 | 667 |
665 // DNS resolver received a malformed response. | 668 // DNS resolver received a malformed response. |
666 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) | 669 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) |
667 | 670 |
668 // DNS server requires TCP | 671 // DNS server requires TCP |
669 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) | 672 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) |
670 | 673 |
671 // DNS server failed. This error is returned for all of the following | 674 // DNS server failed. This error is returned for all of the following |
672 // error conditions: | 675 // error conditions: |
(...skipping 10 matching lines...) Expand all Loading... |
683 NET_ERROR(DNS_TIMED_OUT, -803) | 686 NET_ERROR(DNS_TIMED_OUT, -803) |
684 | 687 |
685 // The entry was not found in cache, for cache-only lookups. | 688 // The entry was not found in cache, for cache-only lookups. |
686 NET_ERROR(DNS_CACHE_MISS, -804) | 689 NET_ERROR(DNS_CACHE_MISS, -804) |
687 | 690 |
688 // Suffix search list rules prevent resolution of the given host name. | 691 // Suffix search list rules prevent resolution of the given host name. |
689 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 692 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
690 | 693 |
691 // Failed to sort addresses according to RFC3484. | 694 // Failed to sort addresses according to RFC3484. |
692 NET_ERROR(DNS_SORT_ERROR, -806) | 695 NET_ERROR(DNS_SORT_ERROR, -806) |
OLD | NEW |