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

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

Issue 8692012: net: replace DnsRRResoler with TransportSecurityState in plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ... Created 9 years 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.h ('k') | net/socket/ssl_client_socket_pool.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #include "base/values.h" 77 #include "base/values.h"
78 #include "crypto/ec_private_key.h" 78 #include "crypto/ec_private_key.h"
79 #include "crypto/rsa_private_key.h" 79 #include "crypto/rsa_private_key.h"
80 #include "crypto/scoped_nss_types.h" 80 #include "crypto/scoped_nss_types.h"
81 #include "net/base/address_list.h" 81 #include "net/base/address_list.h"
82 #include "net/base/asn1_util.h" 82 #include "net/base/asn1_util.h"
83 #include "net/base/cert_status_flags.h" 83 #include "net/base/cert_status_flags.h"
84 #include "net/base/cert_verifier.h" 84 #include "net/base/cert_verifier.h"
85 #include "net/base/connection_type_histograms.h" 85 #include "net/base/connection_type_histograms.h"
86 #include "net/base/dns_util.h" 86 #include "net/base/dns_util.h"
87 #include "net/base/dnsrr_resolver.h"
88 #include "net/base/dnssec_chain_verifier.h" 87 #include "net/base/dnssec_chain_verifier.h"
89 #include "net/base/transport_security_state.h" 88 #include "net/base/transport_security_state.h"
90 #include "net/base/io_buffer.h" 89 #include "net/base/io_buffer.h"
91 #include "net/base/net_errors.h" 90 #include "net/base/net_errors.h"
92 #include "net/base/net_log.h" 91 #include "net/base/net_log.h"
93 #include "net/base/ssl_cert_request_info.h" 92 #include "net/base/ssl_cert_request_info.h"
94 #include "net/base/ssl_connection_status_flags.h" 93 #include "net/base/ssl_connection_status_flags.h"
95 #include "net/base/ssl_info.h" 94 #include "net/base/ssl_info.h"
96 #include "net/base/sys_addrinfo.h" 95 #include "net/base/sys_addrinfo.h"
97 #include "net/base/x509_certificate_net_log_param.h" 96 #include "net/base/x509_certificate_net_log_param.h"
(...skipping 2569 matching lines...) Expand 10 before | Expand all | Expand 10 after
2667 valid_thread_id_ = base::PlatformThread::CurrentId(); 2666 valid_thread_id_ = base::PlatformThread::CurrentId();
2668 } 2667 }
2669 2668
2670 bool SSLClientSocketNSS::CalledOnValidThread() const { 2669 bool SSLClientSocketNSS::CalledOnValidThread() const {
2671 EnsureThreadIdAssigned(); 2670 EnsureThreadIdAssigned();
2672 base::AutoLock auto_lock(lock_); 2671 base::AutoLock auto_lock(lock_);
2673 return valid_thread_id_ == base::PlatformThread::CurrentId(); 2672 return valid_thread_id_ == base::PlatformThread::CurrentId();
2674 } 2673 }
2675 2674
2676 } // namespace net 2675 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698