| 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> |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 scoped_refptr<Core> core_; | 155 scoped_refptr<Core> core_; |
| 156 | 156 |
| 157 CompletionCallback user_connect_callback_; | 157 CompletionCallback user_connect_callback_; |
| 158 | 158 |
| 159 CertVerifyResult server_cert_verify_result_; | 159 CertVerifyResult server_cert_verify_result_; |
| 160 HashValueVector side_pinned_public_keys_; | 160 HashValueVector side_pinned_public_keys_; |
| 161 | 161 |
| 162 CertVerifier* const cert_verifier_; | 162 CertVerifier* const cert_verifier_; |
| 163 scoped_ptr<SingleRequestCertVerifier> verifier_; | 163 scoped_ptr<SingleRequestCertVerifier> verifier_; |
| 164 | 164 |
| 165 // For domain bound certificates in client auth. | 165 // The service for retrieving Channel ID keys. May be NULL. |
| 166 ServerBoundCertService* server_bound_cert_service_; | 166 ServerBoundCertService* server_bound_cert_service_; |
| 167 | 167 |
| 168 // ssl_session_cache_shard_ is an opaque string that partitions the SSL | 168 // ssl_session_cache_shard_ is an opaque string that partitions the SSL |
| 169 // session cache. i.e. sessions created with one value will not attempt to | 169 // session cache. i.e. sessions created with one value will not attempt to |
| 170 // resume on the socket with a different value. | 170 // resume on the socket with a different value. |
| 171 const std::string ssl_session_cache_shard_; | 171 const std::string ssl_session_cache_shard_; |
| 172 | 172 |
| 173 // True if the SSL handshake has been completed. | 173 // True if the SSL handshake has been completed. |
| 174 bool completed_handshake_; | 174 bool completed_handshake_; |
| 175 | 175 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 191 // Added the following code Debugging in release mode. | 191 // Added the following code Debugging in release mode. |
| 192 mutable base::Lock lock_; | 192 mutable base::Lock lock_; |
| 193 // This is mutable so that CalledOnValidThread can set it. | 193 // This is mutable so that CalledOnValidThread can set it. |
| 194 // It's guarded by |lock_|. | 194 // It's guarded by |lock_|. |
| 195 mutable base::PlatformThreadId valid_thread_id_; | 195 mutable base::PlatformThreadId valid_thread_id_; |
| 196 }; | 196 }; |
| 197 | 197 |
| 198 } // namespace net | 198 } // namespace net |
| 199 | 199 |
| 200 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ | 200 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ |
| OLD | NEW |