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