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