| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 bool has_context, | 48 bool has_context, |
| 49 const base::StringPiece& context, | 49 const base::StringPiece& context, |
| 50 unsigned char* out, | 50 unsigned char* out, |
| 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 OriginBoundCertService* GetOriginBoundCertService() 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(AddressList* 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; |
| (...skipping 108 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 |