| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <string> | 10 #include <string> |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 void SetSubresourceSpeculation() override; | 69 void SetSubresourceSpeculation() override; |
| 70 void SetOmniboxSpeculation() override; | 70 void SetOmniboxSpeculation() override; |
| 71 bool WasEverUsed() const override; | 71 bool WasEverUsed() 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; | 75 void GetConnectionAttempts(ConnectionAttempts* out) const override; |
| 76 void ClearConnectionAttempts() override {} | 76 void ClearConnectionAttempts() override {} |
| 77 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} | 77 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} |
| 78 int64_t GetTotalReceivedBytes() const override; | 78 int64_t GetTotalReceivedBytes() const override; |
| 79 void DumpMemoryStats( |
| 80 base::trace_event::MemoryAllocatorDump* dump) const override; |
| 79 | 81 |
| 80 // Socket implementation. | 82 // Socket implementation. |
| 81 int Read(IOBuffer* buf, | 83 int Read(IOBuffer* buf, |
| 82 int buf_len, | 84 int buf_len, |
| 83 const CompletionCallback& callback) override; | 85 const CompletionCallback& callback) override; |
| 84 int Write(IOBuffer* buf, | 86 int Write(IOBuffer* buf, |
| 85 int buf_len, | 87 int buf_len, |
| 86 const CompletionCallback& callback) override; | 88 const CompletionCallback& callback) override; |
| 87 int SetReceiveBufferSize(int32_t size) override; | 89 int SetReceiveBufferSize(int32_t size) override; |
| 88 int SetSendBufferSize(int32_t size) override; | 90 int SetSendBufferSize(int32_t size) override; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 ProxyDelegate* proxy_delegate_; | 169 ProxyDelegate* proxy_delegate_; |
| 168 | 170 |
| 169 const NetLogWithSource net_log_; | 171 const NetLogWithSource net_log_; |
| 170 | 172 |
| 171 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); | 173 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); |
| 172 }; | 174 }; |
| 173 | 175 |
| 174 } // namespace net | 176 } // namespace net |
| 175 | 177 |
| 176 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ | 178 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ |
| OLD | NEW |