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

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

Issue 1579233002: Rename CertPolicyEnforcer to CTPolicyEnforcer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_nss.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 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
7 7
8 #include <certt.h> 8 #include <certt.h>
9 #include <keyt.h> 9 #include <keyt.h>
10 #include <nspr.h> 10 #include <nspr.h>
(...skipping 16 matching lines...) Expand all
27 #include "net/cert/ct_verify_result.h" 27 #include "net/cert/ct_verify_result.h"
28 #include "net/cert/x509_certificate.h" 28 #include "net/cert/x509_certificate.h"
29 #include "net/log/net_log.h" 29 #include "net/log/net_log.h"
30 #include "net/socket/ssl_client_socket.h" 30 #include "net/socket/ssl_client_socket.h"
31 #include "net/ssl/channel_id_service.h" 31 #include "net/ssl/channel_id_service.h"
32 #include "net/ssl/ssl_config_service.h" 32 #include "net/ssl/ssl_config_service.h"
33 33
34 namespace net { 34 namespace net {
35 35
36 class BoundNetLog; 36 class BoundNetLog;
37 class CertPolicyEnforcer; 37 class CTPolicyEnforcer;
38 class CertVerifier; 38 class CertVerifier;
39 class ChannelIDService; 39 class ChannelIDService;
40 class CTVerifier; 40 class CTVerifier;
41 class ClientSocketHandle; 41 class ClientSocketHandle;
42 class TransportSecurityState; 42 class TransportSecurityState;
43 class X509Certificate; 43 class X509Certificate;
44 44
45 // An SSL client socket implemented with Mozilla NSS. 45 // An SSL client socket implemented with Mozilla NSS.
46 class SSLClientSocketNSS : public SSLClientSocket { 46 class SSLClientSocketNSS : public SSLClientSocket {
47 public: 47 public:
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 // TODO(rsleevi): http://crbug.com/130616 - Remove this member once 189 // TODO(rsleevi): http://crbug.com/130616 - Remove this member once
190 // ExportKeyingMaterial is updated to be asynchronous. 190 // ExportKeyingMaterial is updated to be asynchronous.
191 PRFileDesc* nss_fd_; 191 PRFileDesc* nss_fd_;
192 192
193 BoundNetLog net_log_; 193 BoundNetLog net_log_;
194 194
195 base::TimeTicks start_cert_verification_time_; 195 base::TimeTicks start_cert_verification_time_;
196 196
197 TransportSecurityState* transport_security_state_; 197 TransportSecurityState* transport_security_state_;
198 198
199 CertPolicyEnforcer* const policy_enforcer_; 199 CTPolicyEnforcer* const policy_enforcer_;
200 200
201 // pinning_failure_log contains a message produced by 201 // pinning_failure_log contains a message produced by
202 // TransportSecurityState::CheckPublicKeyPins in the event of a 202 // TransportSecurityState::CheckPublicKeyPins in the event of a
203 // pinning failure. It is a (somewhat) human-readable string. 203 // pinning failure. It is a (somewhat) human-readable string.
204 std::string pinning_failure_log_; 204 std::string pinning_failure_log_;
205 205
206 // The following two variables are added for debugging bug 65948. Will 206 // The following two variables are added for debugging bug 65948. Will
207 // remove this code after fixing bug 65948. 207 // remove this code after fixing bug 65948.
208 // Added the following code Debugging in release mode. 208 // Added the following code Debugging in release mode.
209 mutable base::Lock lock_; 209 mutable base::Lock lock_;
210 // This is mutable so that CalledOnValidThread can set it. 210 // This is mutable so that CalledOnValidThread can set it.
211 // It's guarded by |lock_|. 211 // It's guarded by |lock_|.
212 mutable base::PlatformThreadId valid_thread_id_; 212 mutable base::PlatformThreadId valid_thread_id_;
213 }; 213 };
214 214
215 } // namespace net 215 } // namespace net
216 216
217 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 217 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket.h ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698