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 #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> |
11 #include <nss.h> | 11 #include <nss.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
18 #include "base/threading/platform_thread.h" | 18 #include "base/threading/platform_thread.h" |
19 #include "base/time.h" | 19 #include "base/time.h" |
20 #include "base/timer.h" | 20 #include "base/timer.h" |
21 #include "net/base/cert_verify_result.h" | 21 #include "net/base/cert_verify_result.h" |
22 #include "net/base/completion_callback.h" | 22 #include "net/base/completion_callback.h" |
23 #include "net/base/host_port_pair.h" | 23 #include "net/base/host_port_pair.h" |
24 #include "net/base/net_export.h" | 24 #include "net/base/net_export.h" |
25 #include "net/base/net_log.h" | 25 #include "net/base/net_log.h" |
26 #include "net/base/nss_memio.h" | 26 #include "net/base/nss_memio.h" |
27 #include "net/base/server_bound_cert_service.h" | |
28 #include "net/base/ssl_config_service.h" | |
29 #include "net/base/x509_certificate.h" | 27 #include "net/base/x509_certificate.h" |
30 #include "net/socket/ssl_client_socket.h" | 28 #include "net/socket/ssl_client_socket.h" |
| 29 #include "net/ssl/server_bound_cert_service.h" |
| 30 #include "net/ssl/ssl_config_service.h" |
31 | 31 |
32 namespace base { | 32 namespace base { |
33 class SequencedTaskRunner; | 33 class SequencedTaskRunner; |
34 } | 34 } |
35 | 35 |
36 namespace net { | 36 namespace net { |
37 | 37 |
38 class BoundNetLog; | 38 class BoundNetLog; |
39 class CertVerifier; | 39 class CertVerifier; |
40 class ClientSocketHandle; | 40 class ClientSocketHandle; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // Added the following code Debugging in release mode. | 189 // Added the following code Debugging in release mode. |
190 mutable base::Lock lock_; | 190 mutable base::Lock lock_; |
191 // This is mutable so that CalledOnValidThread can set it. | 191 // This is mutable so that CalledOnValidThread can set it. |
192 // It's guarded by |lock_|. | 192 // It's guarded by |lock_|. |
193 mutable base::PlatformThreadId valid_thread_id_; | 193 mutable base::PlatformThreadId valid_thread_id_; |
194 }; | 194 }; |
195 | 195 |
196 } // namespace net | 196 } // namespace net |
197 | 197 |
198 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ | 198 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ |
OLD | NEW |