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 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 725 | 725 |
| 726 // Failure to export private key. | 726 // Failure to export private key. |
| 727 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) | 727 NET_ERROR(PRIVATE_KEY_EXPORT_FAILED, -712) |
| 728 | 728 |
| 729 // Self-signed certificate generation failed. | 729 // Self-signed certificate generation failed. |
| 730 NET_ERROR(SELF_SIGNED_CERT_GENERATION_FAILED, -713) | 730 NET_ERROR(SELF_SIGNED_CERT_GENERATION_FAILED, -713) |
| 731 | 731 |
| 732 // The certificate database changed in some way. | 732 // The certificate database changed in some way. |
| 733 NET_ERROR(CERT_DATABASE_CHANGED, -714) | 733 NET_ERROR(CERT_DATABASE_CHANGED, -714) |
| 734 | 734 |
| 735 // Failure to import Channel ID. | |
| 736 NET_ERROR(CHANNEL_ID_IMPORT_FAILED, -715) | |
|
wtc
2014/06/19 22:00:11
Should we change ssl_client_socket_nss.cc to use t
davidben
2014/06/19 22:36:38
We could. Although, unlike the function OpenSSL is
wtc
2014/06/20 00:21:54
OK, let's leave ssl_client_socket_nss.cc unchanged
| |
| 737 | |
| 735 // DNS error codes. | 738 // DNS error codes. |
| 736 | 739 |
| 737 // DNS resolver received a malformed response. | 740 // DNS resolver received a malformed response. |
| 738 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) | 741 NET_ERROR(DNS_MALFORMED_RESPONSE, -800) |
| 739 | 742 |
| 740 // DNS server requires TCP | 743 // DNS server requires TCP |
| 741 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) | 744 NET_ERROR(DNS_SERVER_REQUIRES_TCP, -801) |
| 742 | 745 |
| 743 // DNS server failed. This error is returned for all of the following | 746 // DNS server failed. This error is returned for all of the following |
| 744 // error conditions: | 747 // error conditions: |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 755 NET_ERROR(DNS_TIMED_OUT, -803) | 758 NET_ERROR(DNS_TIMED_OUT, -803) |
| 756 | 759 |
| 757 // The entry was not found in cache, for cache-only lookups. | 760 // The entry was not found in cache, for cache-only lookups. |
| 758 NET_ERROR(DNS_CACHE_MISS, -804) | 761 NET_ERROR(DNS_CACHE_MISS, -804) |
| 759 | 762 |
| 760 // Suffix search list rules prevent resolution of the given host name. | 763 // Suffix search list rules prevent resolution of the given host name. |
| 761 NET_ERROR(DNS_SEARCH_EMPTY, -805) | 764 NET_ERROR(DNS_SEARCH_EMPTY, -805) |
| 762 | 765 |
| 763 // Failed to sort addresses according to RFC3484. | 766 // Failed to sort addresses according to RFC3484. |
| 764 NET_ERROR(DNS_SORT_ERROR, -806) | 767 NET_ERROR(DNS_SORT_ERROR, -806) |
| OLD | NEW |