| 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_OPENSSL_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 // True if InfoCallback has been run with result = SSL_CB_HANDSHAKE_DONE. | 297 // True if InfoCallback has been run with result = SSL_CB_HANDSHAKE_DONE. |
| 298 bool handshake_succeeded_; | 298 bool handshake_succeeded_; |
| 299 // True if MarkSSLSessionAsGood has been called for this socket's | 299 // True if MarkSSLSessionAsGood has been called for this socket's |
| 300 // SSL session. | 300 // SSL session. |
| 301 bool marked_session_as_good_; | 301 bool marked_session_as_good_; |
| 302 // The request handle for |channel_id_service_|. | 302 // The request handle for |channel_id_service_|. |
| 303 ChannelIDService::RequestHandle channel_id_request_handle_; | 303 ChannelIDService::RequestHandle channel_id_request_handle_; |
| 304 | 304 |
| 305 TransportSecurityState* transport_security_state_; | 305 TransportSecurityState* transport_security_state_; |
| 306 | 306 |
| 307 CertPolicyEnforcer* const policy_enforcer_; |
| 308 |
| 307 // pinning_failure_log contains a message produced by | 309 // pinning_failure_log contains a message produced by |
| 308 // TransportSecurityState::CheckPublicKeyPins in the event of a | 310 // TransportSecurityState::CheckPublicKeyPins in the event of a |
| 309 // pinning failure. It is a (somewhat) human-readable string. | 311 // pinning failure. It is a (somewhat) human-readable string. |
| 310 std::string pinning_failure_log_; | 312 std::string pinning_failure_log_; |
| 311 | 313 |
| 312 BoundNetLog net_log_; | 314 BoundNetLog net_log_; |
| 313 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; | 315 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; |
| 314 }; | 316 }; |
| 315 | 317 |
| 316 } // namespace net | 318 } // namespace net |
| 317 | 319 |
| 318 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 320 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| OLD | NEW |