| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 | 42 |
| 43 // SSLClientSocket methods: | 43 // SSLClientSocket methods: |
| 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) OVERRIDE; | 51 virtual NextProtoStatus GetNextProto(std::string* proto) OVERRIDE; |
| 52 virtual bool WasOriginBoundCertNegotiated() OVERRIDE; |
| 52 | 53 |
| 53 // StreamSocket methods: | 54 // StreamSocket methods: |
| 54 virtual int Connect(OldCompletionCallback* callback) OVERRIDE; | 55 virtual int Connect(OldCompletionCallback* callback) OVERRIDE; |
| 55 virtual void Disconnect() OVERRIDE; | 56 virtual void Disconnect() OVERRIDE; |
| 56 virtual bool IsConnected() const OVERRIDE; | 57 virtual bool IsConnected() const OVERRIDE; |
| 57 virtual bool IsConnectedAndIdle() const OVERRIDE; | 58 virtual bool IsConnectedAndIdle() const OVERRIDE; |
| 58 virtual int GetPeerAddress(AddressList* address) const OVERRIDE; | 59 virtual int GetPeerAddress(AddressList* address) const OVERRIDE; |
| 59 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; | 60 virtual int GetLocalAddress(IPEndPoint* address) const OVERRIDE; |
| 60 virtual const BoundNetLog& NetLog() const OVERRIDE; | 61 virtual const BoundNetLog& NetLog() const OVERRIDE; |
| 61 virtual void SetSubresourceSpeculation() OVERRIDE; | 62 virtual void SetSubresourceSpeculation() OVERRIDE; |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 // These are the IOBuffers used for operations on the underlying transport. | 174 // These are the IOBuffers used for operations on the underlying transport. |
| 174 scoped_refptr<IOBuffer> read_io_buf_; | 175 scoped_refptr<IOBuffer> read_io_buf_; |
| 175 scoped_refptr<IOBuffer> write_io_buf_; | 176 scoped_refptr<IOBuffer> write_io_buf_; |
| 176 | 177 |
| 177 BoundNetLog net_log_; | 178 BoundNetLog net_log_; |
| 178 }; | 179 }; |
| 179 | 180 |
| 180 } // namespace net | 181 } // namespace net |
| 181 | 182 |
| 182 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ | 183 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_MAC_H_ |
| OLD | NEW |