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_WIN_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ |
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #define SECURITY_WIN32 // Needs to be defined before including security.h | 9 #define SECURITY_WIN32 // Needs to be defined before including security.h |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 unsigned int outlen); | 55 unsigned int outlen); |
56 virtual NextProtoStatus GetNextProto(std::string* proto, | 56 virtual NextProtoStatus GetNextProto(std::string* proto, |
57 std::string* server_protos); | 57 std::string* server_protos); |
58 virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE; | 58 virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE; |
59 | 59 |
60 // StreamSocket implementation. | 60 // StreamSocket implementation. |
61 virtual int Connect(const CompletionCallback& callback) OVERRIDE; | 61 virtual int Connect(const CompletionCallback& callback) OVERRIDE; |
62 virtual void Disconnect() OVERRIDE; | 62 virtual void Disconnect() OVERRIDE; |
63 virtual bool IsConnected() const OVERRIDE; | 63 virtual bool IsConnected() const OVERRIDE; |
64 virtual bool IsConnectedAndIdle() const OVERRIDE; | 64 virtual bool IsConnectedAndIdle() const OVERRIDE; |
65 virtual int GetPeerAddress(AddressList* address) const OVERRIDE; | 65 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; |
66 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; | 66 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; |
67 virtual const BoundNetLog& NetLog() const OVERRIDE{ return net_log_; } | 67 virtual const BoundNetLog& NetLog() const OVERRIDE{ return net_log_; } |
68 virtual void SetSubresourceSpeculation() OVERRIDE; | 68 virtual void SetSubresourceSpeculation() OVERRIDE; |
69 virtual void SetOmniboxSpeculation() OVERRIDE; | 69 virtual void SetOmniboxSpeculation() OVERRIDE; |
70 virtual bool WasEverUsed() const OVERRIDE; | 70 virtual bool WasEverUsed() const OVERRIDE; |
71 virtual bool UsingTCPFastOpen() const OVERRIDE; | 71 virtual bool UsingTCPFastOpen() const OVERRIDE; |
72 virtual int64 NumBytesRead() const OVERRIDE; | 72 virtual int64 NumBytesRead() const OVERRIDE; |
73 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; | 73 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; |
74 | 74 |
75 // Socket implementation. | 75 // Socket implementation. |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 | 202 |
203 // True when the decrypter needs more data in order to decrypt. | 203 // True when the decrypter needs more data in order to decrypt. |
204 bool need_more_data_; | 204 bool need_more_data_; |
205 | 205 |
206 BoundNetLog net_log_; | 206 BoundNetLog net_log_; |
207 }; | 207 }; |
208 | 208 |
209 } // namespace net | 209 } // namespace net |
210 | 210 |
211 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ | 211 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_WIN_H_ |
OLD | NEW |