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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual void Disconnect() OVERRIDE; | 79 virtual void Disconnect() OVERRIDE; |
80 virtual bool IsConnected() const OVERRIDE; | 80 virtual bool IsConnected() const OVERRIDE; |
81 virtual bool IsConnectedAndIdle() const OVERRIDE; | 81 virtual bool IsConnectedAndIdle() const OVERRIDE; |
82 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; | 82 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; |
83 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; | 83 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; |
84 virtual const BoundNetLog& NetLog() const OVERRIDE; | 84 virtual const BoundNetLog& NetLog() const OVERRIDE; |
85 virtual void SetSubresourceSpeculation() OVERRIDE; | 85 virtual void SetSubresourceSpeculation() OVERRIDE; |
86 virtual void SetOmniboxSpeculation() OVERRIDE; | 86 virtual void SetOmniboxSpeculation() OVERRIDE; |
87 virtual bool WasEverUsed() const OVERRIDE; | 87 virtual bool WasEverUsed() const OVERRIDE; |
88 virtual bool UsingTCPFastOpen() const OVERRIDE; | 88 virtual bool UsingTCPFastOpen() const OVERRIDE; |
89 virtual int64 NumBytesRead() const OVERRIDE; | |
90 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; | |
91 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; | 89 virtual bool GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; |
92 | 90 |
93 // Socket implementation. | 91 // Socket implementation. |
94 virtual int Read(IOBuffer* buf, int buf_len, | 92 virtual int Read(IOBuffer* buf, int buf_len, |
95 const CompletionCallback& callback) OVERRIDE; | 93 const CompletionCallback& callback) OVERRIDE; |
96 virtual int Write(IOBuffer* buf, int buf_len, | 94 virtual int Write(IOBuffer* buf, int buf_len, |
97 const CompletionCallback& callback) OVERRIDE; | 95 const CompletionCallback& callback) OVERRIDE; |
98 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; | 96 virtual bool SetReceiveBufferSize(int32 size) OVERRIDE; |
99 virtual bool SetSendBufferSize(int32 size) OVERRIDE; | 97 virtual bool SetSendBufferSize(int32 size) OVERRIDE; |
100 | 98 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 State next_handshake_state_; | 191 State next_handshake_state_; |
194 NextProtoStatus npn_status_; | 192 NextProtoStatus npn_status_; |
195 std::string npn_proto_; | 193 std::string npn_proto_; |
196 std::string server_protos_; | 194 std::string server_protos_; |
197 BoundNetLog net_log_; | 195 BoundNetLog net_log_; |
198 }; | 196 }; |
199 | 197 |
200 } // namespace net | 198 } // namespace net |
201 | 199 |
202 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 200 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
OLD | NEW |