Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: net/base/net_error_list.h

Issue 338093012: Fix SSLClientSocketOpenSSL error-handling for Channel ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add error code. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_openssl.h » ('j') | net/socket/ssl_client_socket_openssl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698