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