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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 | 57 |
58 // SSLClientSocket implementation. | 58 // SSLClientSocket implementation. |
59 virtual void GetSSLInfo(SSLInfo* ssl_info); | 59 virtual void GetSSLInfo(SSLInfo* ssl_info); |
60 virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); | 60 virtual void GetSSLCertRequestInfo(SSLCertRequestInfo* cert_request_info); |
61 virtual int ExportKeyingMaterial(const base::StringPiece& label, | 61 virtual int ExportKeyingMaterial(const base::StringPiece& label, |
62 const base::StringPiece& context, | 62 const base::StringPiece& context, |
63 unsigned char *out, | 63 unsigned char *out, |
64 unsigned int outlen); | 64 unsigned int outlen); |
65 virtual NextProtoStatus GetNextProto(std::string* proto, | 65 virtual NextProtoStatus GetNextProto(std::string* proto, |
66 std::string* server_protos); | 66 std::string* server_protos); |
67 virtual OriginBoundCertService* GetOriginBoundCertService() const; | 67 virtual ServerBoundCertService* GetServerBoundCertService() const; |
68 | 68 |
69 // StreamSocket implementation. | 69 // StreamSocket implementation. |
70 virtual int Connect(const CompletionCallback& callback); | 70 virtual int Connect(const CompletionCallback& callback); |
71 virtual void Disconnect(); | 71 virtual void Disconnect(); |
72 virtual bool IsConnected() const; | 72 virtual bool IsConnected() const; |
73 virtual bool IsConnectedAndIdle() const; | 73 virtual bool IsConnectedAndIdle() const; |
74 virtual int GetPeerAddress(AddressList* address) const; | 74 virtual int GetPeerAddress(AddressList* address) const; |
75 virtual int GetLocalAddress(IPEndPoint* address) const; | 75 virtual int GetLocalAddress(IPEndPoint* address) const; |
76 virtual const BoundNetLog& NetLog() const; | 76 virtual const BoundNetLog& NetLog() const; |
77 virtual void SetSubresourceSpeculation(); | 77 virtual void SetSubresourceSpeculation(); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 State next_handshake_state_; | 172 State next_handshake_state_; |
173 NextProtoStatus npn_status_; | 173 NextProtoStatus npn_status_; |
174 std::string npn_proto_; | 174 std::string npn_proto_; |
175 std::string server_protos_; | 175 std::string server_protos_; |
176 BoundNetLog net_log_; | 176 BoundNetLog net_log_; |
177 }; | 177 }; |
178 | 178 |
179 } // namespace net | 179 } // namespace net |
180 | 180 |
181 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 181 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
OLD | NEW |