| OLD | NEW |
| 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 #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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <certt.h> | 9 #include <certt.h> |
| 10 #include <keyt.h> | 10 #include <keyt.h> |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 276 // HTTPS connections. | 276 // HTTPS connections. |
| 277 bool eset_mitm_detected_; | 277 bool eset_mitm_detected_; |
| 278 // True iff we believe that the user has a Kaspersky product intercepting our | 278 // True iff we believe that the user has a Kaspersky product intercepting our |
| 279 // HTTPS connections. | 279 // HTTPS connections. |
| 280 bool kaspersky_mitm_detected_; | 280 bool kaspersky_mitm_detected_; |
| 281 | 281 |
| 282 // True iff |ssl_host_info_| contained a predicted certificate chain and | 282 // True iff |ssl_host_info_| contained a predicted certificate chain and |
| 283 // that we found the prediction to be correct. | 283 // that we found the prediction to be correct. |
| 284 bool predicted_cert_chain_correct_; | 284 bool predicted_cert_chain_correct_; |
| 285 | 285 |
| 286 // The time when we started waiting for DNSSEC records. | |
| 287 base::Time dnssec_wait_start_time_; | |
| 288 | |
| 289 State next_handshake_state_; | 286 State next_handshake_state_; |
| 290 | 287 |
| 291 // The NSS SSL state machine | 288 // The NSS SSL state machine |
| 292 PRFileDesc* nss_fd_; | 289 PRFileDesc* nss_fd_; |
| 293 | 290 |
| 294 // Buffers for the network end of the SSL state machine | 291 // Buffers for the network end of the SSL state machine |
| 295 memio_Private* nss_bufs_; | 292 memio_Private* nss_bufs_; |
| 296 | 293 |
| 297 BoundNetLog net_log_; | 294 BoundNetLog net_log_; |
| 298 | 295 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 313 // Added the following code Debugging in release mode. | 310 // Added the following code Debugging in release mode. |
| 314 mutable base::Lock lock_; | 311 mutable base::Lock lock_; |
| 315 // This is mutable so that CalledOnValidThread can set it. | 312 // This is mutable so that CalledOnValidThread can set it. |
| 316 // It's guarded by |lock_|. | 313 // It's guarded by |lock_|. |
| 317 mutable base::PlatformThreadId valid_thread_id_; | 314 mutable base::PlatformThreadId valid_thread_id_; |
| 318 }; | 315 }; |
| 319 | 316 |
| 320 } // namespace net | 317 } // namespace net |
| 321 | 318 |
| 322 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ | 319 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ |
| OLD | NEW |