| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 WasNpnNegotiated() const override; | 71 bool WasNpnNegotiated() const override; |
| 72 NextProto GetNegotiatedProtocol() const override; | 72 NextProto GetNegotiatedProtocol() const override; |
| 73 bool GetSSLInfo(SSLInfo* ssl_info) override; | 73 bool GetSSLInfo(SSLInfo* ssl_info) override; |
| 74 void GetConnectionAttempts(ConnectionAttempts* out) const override; | 74 void GetConnectionAttempts(ConnectionAttempts* out) const override; |
| 75 void ClearConnectionAttempts() override {} | 75 void ClearConnectionAttempts() override {} |
| 76 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} | 76 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} |
| 77 int64_t GetTotalReceivedBytes() const override; | 77 int64_t GetTotalReceivedBytes() const override; |
| 78 void DumpMemoryStats( |
| 79 base::trace_event::MemoryAllocatorDump* dump) const override; |
| 78 | 80 |
| 79 // Socket implementation. | 81 // Socket implementation. |
| 80 int Read(IOBuffer* buf, | 82 int Read(IOBuffer* buf, |
| 81 int buf_len, | 83 int buf_len, |
| 82 const CompletionCallback& callback) override; | 84 const CompletionCallback& callback) override; |
| 83 int Write(IOBuffer* buf, | 85 int Write(IOBuffer* buf, |
| 84 int buf_len, | 86 int buf_len, |
| 85 const CompletionCallback& callback) override; | 87 const CompletionCallback& callback) override; |
| 86 int SetReceiveBufferSize(int32_t size) override; | 88 int SetReceiveBufferSize(int32_t size) override; |
| 87 int SetSendBufferSize(int32_t size) override; | 89 int SetSendBufferSize(int32_t size) override; |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 ProxyDelegate* proxy_delegate_; | 168 ProxyDelegate* proxy_delegate_; |
| 167 | 169 |
| 168 const NetLogWithSource net_log_; | 170 const NetLogWithSource net_log_; |
| 169 | 171 |
| 170 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); | 172 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); |
| 171 }; | 173 }; |
| 172 | 174 |
| 173 } // namespace net | 175 } // namespace net |
| 174 | 176 |
| 175 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ | 177 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ |
| OLD | NEW |