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_MAC_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ |
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <Security/Security.h> | 9 #include <Security/Security.h> |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 unsigned int outlen) OVERRIDE; | 51 unsigned int outlen) OVERRIDE; |
52 virtual NextProtoStatus GetNextProto(std::string* proto, | 52 virtual NextProtoStatus GetNextProto(std::string* proto, |
53 std::string* server_protos) OVERRIDE; | 53 std::string* server_protos) OVERRIDE; |
54 virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE; | 54 virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE; |
55 | 55 |
56 // StreamSocket implementation. | 56 // StreamSocket implementation. |
57 virtual int Connect(const CompletionCallback& callback) OVERRIDE; | 57 virtual int Connect(const CompletionCallback& callback) OVERRIDE; |
58 virtual void Disconnect() OVERRIDE; | 58 virtual void Disconnect() OVERRIDE; |
59 virtual bool IsConnected() const OVERRIDE; | 59 virtual bool IsConnected() const OVERRIDE; |
60 virtual bool IsConnectedAndIdle() const OVERRIDE; | 60 virtual bool IsConnectedAndIdle() const OVERRIDE; |
61 virtual int GetPeerAddress(AddressList* address) const OVERRIDE; | 61 virtual int GetPeerAddress(IPEndPoint* address) const OVERRIDE; |
62 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; | 62 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; |
63 virtual const BoundNetLog& NetLog() const OVERRIDE; | 63 virtual const BoundNetLog& NetLog() const OVERRIDE; |
64 virtual void SetSubresourceSpeculation() OVERRIDE; | 64 virtual void SetSubresourceSpeculation() OVERRIDE; |
65 virtual void SetOmniboxSpeculation() OVERRIDE; | 65 virtual void SetOmniboxSpeculation() OVERRIDE; |
66 virtual bool WasEverUsed() const OVERRIDE; | 66 virtual bool WasEverUsed() const OVERRIDE; |
67 virtual bool UsingTCPFastOpen() const OVERRIDE; | 67 virtual bool UsingTCPFastOpen() const OVERRIDE; |
68 virtual int64 NumBytesRead() const OVERRIDE; | 68 virtual int64 NumBytesRead() const OVERRIDE; |
69 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; | 69 virtual base::TimeDelta GetConnectTimeMicros() const OVERRIDE; |
70 | 70 |
71 // Socket implementation. | 71 // Socket implementation. |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 // These are the IOBuffers used for operations on the underlying transport. | 173 // These are the IOBuffers used for operations on the underlying transport. |
174 scoped_refptr<IOBuffer> read_io_buf_; | 174 scoped_refptr<IOBuffer> read_io_buf_; |
175 scoped_refptr<IOBuffer> write_io_buf_; | 175 scoped_refptr<IOBuffer> write_io_buf_; |
176 | 176 |
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_MAC_H_ | 182 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ |
OLD | NEW |