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

Side by Side Diff: net/socket/ssl_client_socket_nss.cc

Issue 9476035: Make CertVerifier a pure virtual interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win shared fix Created 8 years, 9 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
« no previous file with comments | « net/socket/ssl_client_socket_mac.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 includes code SSLClientSocketNSS::DoVerifyCertComplete() derived 5 // This file includes code SSLClientSocketNSS::DoVerifyCertComplete() derived
6 // from AuthCertificateCallback() in 6 // from AuthCertificateCallback() in
7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp. 7 // mozilla/security/manager/ssl/src/nsNSSCallbacks.cpp.
8 8
9 /* ***** BEGIN LICENSE BLOCK ***** 9 /* ***** BEGIN LICENSE BLOCK *****
10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 10 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #include "net/base/asn1_util.h" 83 #include "net/base/asn1_util.h"
84 #include "net/base/cert_status_flags.h" 84 #include "net/base/cert_status_flags.h"
85 #include "net/base/cert_verifier.h" 85 #include "net/base/cert_verifier.h"
86 #include "net/base/connection_type_histograms.h" 86 #include "net/base/connection_type_histograms.h"
87 #include "net/base/dns_util.h" 87 #include "net/base/dns_util.h"
88 #include "net/base/dnssec_chain_verifier.h" 88 #include "net/base/dnssec_chain_verifier.h"
89 #include "net/base/transport_security_state.h" 89 #include "net/base/transport_security_state.h"
90 #include "net/base/io_buffer.h" 90 #include "net/base/io_buffer.h"
91 #include "net/base/net_errors.h" 91 #include "net/base/net_errors.h"
92 #include "net/base/net_log.h" 92 #include "net/base/net_log.h"
93 #include "net/base/single_request_cert_verifier.h"
93 #include "net/base/ssl_cert_request_info.h" 94 #include "net/base/ssl_cert_request_info.h"
94 #include "net/base/ssl_connection_status_flags.h" 95 #include "net/base/ssl_connection_status_flags.h"
95 #include "net/base/ssl_info.h" 96 #include "net/base/ssl_info.h"
96 #include "net/base/sys_addrinfo.h" 97 #include "net/base/sys_addrinfo.h"
97 #include "net/base/x509_certificate_net_log_param.h" 98 #include "net/base/x509_certificate_net_log_param.h"
98 #include "net/ocsp/nss_ocsp.h" 99 #include "net/ocsp/nss_ocsp.h"
99 #include "net/socket/client_socket_handle.h" 100 #include "net/socket/client_socket_handle.h"
100 #include "net/socket/nss_ssl_util.h" 101 #include "net/socket/nss_ssl_util.h"
101 #include "net/socket/ssl_error_params.h" 102 #include "net/socket/ssl_error_params.h"
102 #include "net/socket/ssl_host_info.h" 103 #include "net/socket/ssl_host_info.h"
(...skipping 2608 matching lines...) Expand 10 before | Expand all | Expand 10 after
2711 EnsureThreadIdAssigned(); 2712 EnsureThreadIdAssigned();
2712 base::AutoLock auto_lock(lock_); 2713 base::AutoLock auto_lock(lock_);
2713 return valid_thread_id_ == base::PlatformThread::CurrentId(); 2714 return valid_thread_id_ == base::PlatformThread::CurrentId();
2714 } 2715 }
2715 2716
2716 ServerBoundCertService* SSLClientSocketNSS::GetServerBoundCertService() const { 2717 ServerBoundCertService* SSLClientSocketNSS::GetServerBoundCertService() const {
2717 return server_bound_cert_service_; 2718 return server_bound_cert_service_;
2718 } 2719 }
2719 2720
2720 } // namespace net 2721 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_mac.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698