| 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_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ | 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ |
| 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ | 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 bool IsConnected() const override; | 65 bool IsConnected() const override; |
| 66 bool IsConnectedAndIdle() const override; | 66 bool IsConnectedAndIdle() const override; |
| 67 const BoundNetLog& NetLog() const override; | 67 const BoundNetLog& NetLog() const override; |
| 68 void SetSubresourceSpeculation() override; | 68 void SetSubresourceSpeculation() override; |
| 69 void SetOmniboxSpeculation() override; | 69 void SetOmniboxSpeculation() override; |
| 70 bool WasEverUsed() const override; | 70 bool WasEverUsed() const override; |
| 71 bool UsingTCPFastOpen() const override; | 71 bool UsingTCPFastOpen() const override; |
| 72 bool WasNpnNegotiated() const override; | 72 bool WasNpnNegotiated() const override; |
| 73 NextProto GetNegotiatedProtocol() const override; | 73 NextProto GetNegotiatedProtocol() const override; |
| 74 bool GetSSLInfo(SSLInfo* ssl_info) override; | 74 bool GetSSLInfo(SSLInfo* ssl_info) override; |
| 75 void GetConnectionAttempts(ConnectionAttempts* out) const override; |
| 76 void ClearConnectionAttempts() override {} |
| 77 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} |
| 75 | 78 |
| 76 // Socket implementation. | 79 // Socket implementation. |
| 77 int Read(IOBuffer* buf, | 80 int Read(IOBuffer* buf, |
| 78 int buf_len, | 81 int buf_len, |
| 79 const CompletionCallback& callback) override; | 82 const CompletionCallback& callback) override; |
| 80 int Write(IOBuffer* buf, | 83 int Write(IOBuffer* buf, |
| 81 int buf_len, | 84 int buf_len, |
| 82 const CompletionCallback& callback) override; | 85 const CompletionCallback& callback) override; |
| 83 int SetReceiveBufferSize(int32 size) override; | 86 int SetReceiveBufferSize(int32 size) override; |
| 84 int SetSendBufferSize(int32 size) override; | 87 int SetSendBufferSize(int32 size) override; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 ProxyDelegate* proxy_delegate_; | 170 ProxyDelegate* proxy_delegate_; |
| 168 | 171 |
| 169 const BoundNetLog net_log_; | 172 const BoundNetLog net_log_; |
| 170 | 173 |
| 171 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); | 174 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); |
| 172 }; | 175 }; |
| 173 | 176 |
| 174 } // namespace net | 177 } // namespace net |
| 175 | 178 |
| 176 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ | 179 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ |
| OLD | NEW |