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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 // SSLClientSocket implementation. | 43 // SSLClientSocket implementation. |
44 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; | 44 virtual void GetSSLInfo(SSLInfo* ssl_info) OVERRIDE; |
45 virtual void GetSSLCertRequestInfo( | 45 virtual void GetSSLCertRequestInfo( |
46 SSLCertRequestInfo* cert_request_info) OVERRIDE; | 46 SSLCertRequestInfo* cert_request_info) OVERRIDE; |
47 virtual int ExportKeyingMaterial(const base::StringPiece& label, | 47 virtual int ExportKeyingMaterial(const base::StringPiece& label, |
48 const base::StringPiece& context, | 48 const base::StringPiece& context, |
49 unsigned char *out, | 49 unsigned char *out, |
50 unsigned int outlen) OVERRIDE; | 50 unsigned int outlen) OVERRIDE; |
51 virtual NextProtoStatus GetNextProto(std::string* proto, | 51 virtual NextProtoStatus GetNextProto(std::string* proto, |
52 std::string* server_protos) OVERRIDE; | 52 std::string* server_protos) OVERRIDE; |
53 virtual OriginBoundCertService* GetOriginBoundCertService() const OVERRIDE; | 53 virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE; |
54 | 54 |
55 // StreamSocket implementation. | 55 // StreamSocket implementation. |
56 virtual int Connect(const CompletionCallback& callback) OVERRIDE; | 56 virtual int Connect(const CompletionCallback& callback) OVERRIDE; |
57 virtual void Disconnect() OVERRIDE; | 57 virtual void Disconnect() OVERRIDE; |
58 virtual bool IsConnected() const OVERRIDE; | 58 virtual bool IsConnected() const OVERRIDE; |
59 virtual bool IsConnectedAndIdle() const OVERRIDE; | 59 virtual bool IsConnectedAndIdle() const OVERRIDE; |
60 virtual int GetPeerAddress(AddressList* address) const OVERRIDE; | 60 virtual int GetPeerAddress(AddressList* address) const OVERRIDE; |
61 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; | 61 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; |
62 virtual const BoundNetLog& NetLog() const OVERRIDE; | 62 virtual const BoundNetLog& NetLog() const OVERRIDE; |
63 virtual void SetSubresourceSpeculation() OVERRIDE; | 63 virtual void SetSubresourceSpeculation() OVERRIDE; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 // These are the IOBuffers used for operations on the underlying transport. | 172 // These are the IOBuffers used for operations on the underlying transport. |
173 scoped_refptr<IOBuffer> read_io_buf_; | 173 scoped_refptr<IOBuffer> read_io_buf_; |
174 scoped_refptr<IOBuffer> write_io_buf_; | 174 scoped_refptr<IOBuffer> write_io_buf_; |
175 | 175 |
176 BoundNetLog net_log_; | 176 BoundNetLog net_log_; |
177 }; | 177 }; |
178 | 178 |
179 } // namespace net | 179 } // namespace net |
180 | 180 |
181 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ | 181 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ |
OLD | NEW |