| 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_OPENSSL_H_ | 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 bool IsConnected() const override; | 78 bool IsConnected() const override; |
| 79 bool IsConnectedAndIdle() const override; | 79 bool IsConnectedAndIdle() const override; |
| 80 int GetPeerAddress(IPEndPoint* address) const override; | 80 int GetPeerAddress(IPEndPoint* address) const override; |
| 81 int GetLocalAddress(IPEndPoint* address) const override; | 81 int GetLocalAddress(IPEndPoint* address) const override; |
| 82 const BoundNetLog& NetLog() const override; | 82 const BoundNetLog& NetLog() const override; |
| 83 void SetSubresourceSpeculation() override; | 83 void SetSubresourceSpeculation() override; |
| 84 void SetOmniboxSpeculation() override; | 84 void SetOmniboxSpeculation() override; |
| 85 bool WasEverUsed() const override; | 85 bool WasEverUsed() const override; |
| 86 bool UsingTCPFastOpen() const override; | 86 bool UsingTCPFastOpen() const override; |
| 87 bool GetSSLInfo(SSLInfo* ssl_info) override; | 87 bool GetSSLInfo(SSLInfo* ssl_info) override; |
| 88 void SetRenegotiationsAllowed(bool allowed) override; |
| 88 | 89 |
| 89 // Socket implementation. | 90 // Socket implementation. |
| 90 int Read(IOBuffer* buf, | 91 int Read(IOBuffer* buf, |
| 91 int buf_len, | 92 int buf_len, |
| 92 const CompletionCallback& callback) override; | 93 const CompletionCallback& callback) override; |
| 93 int Write(IOBuffer* buf, | 94 int Write(IOBuffer* buf, |
| 94 int buf_len, | 95 int buf_len, |
| 95 const CompletionCallback& callback) override; | 96 const CompletionCallback& callback) override; |
| 96 int SetReceiveBufferSize(int32 size) override; | 97 int SetReceiveBufferSize(int32 size) override; |
| 97 int SetSendBufferSize(int32 size) override; | 98 int SetSendBufferSize(int32 size) override; |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 // pinning failure. It is a (somewhat) human-readable string. | 309 // pinning failure. It is a (somewhat) human-readable string. |
| 309 std::string pinning_failure_log_; | 310 std::string pinning_failure_log_; |
| 310 | 311 |
| 311 BoundNetLog net_log_; | 312 BoundNetLog net_log_; |
| 312 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; | 313 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; |
| 313 }; | 314 }; |
| 314 | 315 |
| 315 } // namespace net | 316 } // namespace net |
| 316 | 317 |
| 317 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ | 318 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ |
| OLD | NEW |