| 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_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_H_ |
| 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 class ECPrivateKey; | 28 class ECPrivateKey; |
| 29 } | 29 } |
| 30 | 30 |
| 31 namespace net { | 31 namespace net { |
| 32 | 32 |
| 33 class CTPolicyEnforcer; | 33 class CTPolicyEnforcer; |
| 34 class CertVerifier; | 34 class CertVerifier; |
| 35 class ChannelIDService; | 35 class ChannelIDService; |
| 36 class CTVerifier; | 36 class CTVerifier; |
| 37 class SSLCertRequestInfo; | 37 class SSLCertRequestInfo; |
| 38 struct SSLConfig; | |
| 39 class SSLInfo; | |
| 40 class TransportSecurityState; | 38 class TransportSecurityState; |
| 41 class X509Certificate; | |
| 42 | 39 |
| 43 // This struct groups together several fields which are used by various | 40 // This struct groups together several fields which are used by various |
| 44 // classes related to SSLClientSocket. | 41 // classes related to SSLClientSocket. |
| 45 struct SSLClientSocketContext { | 42 struct SSLClientSocketContext { |
| 46 SSLClientSocketContext() = default; | 43 SSLClientSocketContext() = default; |
| 47 SSLClientSocketContext(CertVerifier* cert_verifier_arg, | 44 SSLClientSocketContext(CertVerifier* cert_verifier_arg, |
| 48 ChannelIDService* channel_id_service_arg, | 45 ChannelIDService* channel_id_service_arg, |
| 49 TransportSecurityState* transport_security_state_arg, | 46 TransportSecurityState* transport_security_state_arg, |
| 50 CTVerifier* cert_transparency_verifier_arg, | 47 CTVerifier* cert_transparency_verifier_arg, |
| 51 CTPolicyEnforcer* ct_policy_enforcer_arg, | 48 CTPolicyEnforcer* ct_policy_enforcer_arg, |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 | 149 |
| 153 // True if SCTs were received via a TLS extension. | 150 // True if SCTs were received via a TLS extension. |
| 154 bool signed_cert_timestamps_received_; | 151 bool signed_cert_timestamps_received_; |
| 155 // True if a stapled OCSP response was received. | 152 // True if a stapled OCSP response was received. |
| 156 bool stapled_ocsp_response_received_; | 153 bool stapled_ocsp_response_received_; |
| 157 }; | 154 }; |
| 158 | 155 |
| 159 } // namespace net | 156 } // namespace net |
| 160 | 157 |
| 161 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_H_ | 158 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_H_ |
| OLD | NEW |