| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 const SSLClientSocketContext& context); | 54 const SSLClientSocketContext& context); |
| 55 ~SSLClientSocketOpenSSL() override; | 55 ~SSLClientSocketOpenSSL() override; |
| 56 | 56 |
| 57 const HostPortPair& host_and_port() const { return host_and_port_; } | 57 const HostPortPair& host_and_port() const { return host_and_port_; } |
| 58 const std::string& ssl_session_cache_shard() const { | 58 const std::string& ssl_session_cache_shard() const { |
| 59 return ssl_session_cache_shard_; | 59 return ssl_session_cache_shard_; |
| 60 } | 60 } |
| 61 | 61 |
| 62 // SSLClientSocket implementation. | 62 // SSLClientSocket implementation. |
| 63 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; | 63 void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info) override; |
| 64 NextProtoStatus GetNextProto(std::string* proto) override; | 64 NextProtoStatus GetNextProto(std::string* proto) const override; |
| 65 ChannelIDService* GetChannelIDService() const override; | 65 ChannelIDService* GetChannelIDService() const override; |
| 66 | 66 |
| 67 // SSLSocket implementation. | 67 // SSLSocket implementation. |
| 68 int ExportKeyingMaterial(const base::StringPiece& label, | 68 int ExportKeyingMaterial(const base::StringPiece& label, |
| 69 bool has_context, | 69 bool has_context, |
| 70 const base::StringPiece& context, | 70 const base::StringPiece& context, |
| 71 unsigned char* out, | 71 unsigned char* out, |
| 72 unsigned int outlen) override; | 72 unsigned int outlen) override; |
| 73 int GetTLSUniqueChannelBinding(std::string* out) override; | 73 int GetTLSUniqueChannelBinding(std::string* out) override; |
| 74 | 74 |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 // pinning failure. It is a (somewhat) human-readable string. | 308 // pinning failure. It is a (somewhat) human-readable string. |
| 309 std::string pinning_failure_log_; | 309 std::string pinning_failure_log_; |
| 310 | 310 |
| 311 BoundNetLog net_log_; | 311 BoundNetLog net_log_; |
| 312 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; | 312 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; |
| 313 }; | 313 }; |
| 314 | 314 |
| 315 } // namespace net | 315 } // namespace net |
| 316 | 316 |
| 317 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 317 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| OLD | NEW |