Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Side by Side Diff: net/http/http_proxy_client_socket_wrapper.h

Issue 1821633003: net: remove UsingTCPFastOpen() method from StreamSocket class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove use_tcp_fastopen_ from transport_client_socket_pool_test_util.cc Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http/http_proxy_client_socket.cc ('k') | net/http/http_proxy_client_socket_wrapper.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_WRAPPER_H_ 5 #ifndef NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ 6 #define NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 // StreamSocket implementation. 91 // StreamSocket implementation.
92 int Connect(const CompletionCallback& callback) override; 92 int Connect(const CompletionCallback& callback) override;
93 void Disconnect() override; 93 void Disconnect() override;
94 bool IsConnected() const override; 94 bool IsConnected() const override;
95 bool IsConnectedAndIdle() const override; 95 bool IsConnectedAndIdle() const override;
96 const BoundNetLog& NetLog() const override; 96 const BoundNetLog& NetLog() const override;
97 void SetSubresourceSpeculation() override; 97 void SetSubresourceSpeculation() override;
98 void SetOmniboxSpeculation() override; 98 void SetOmniboxSpeculation() override;
99 bool WasEverUsed() const override; 99 bool WasEverUsed() const override;
100 bool UsingTCPFastOpen() const override;
101 bool WasNpnNegotiated() const override; 100 bool WasNpnNegotiated() const override;
102 NextProto GetNegotiatedProtocol() const override; 101 NextProto GetNegotiatedProtocol() const override;
103 bool GetSSLInfo(SSLInfo* ssl_info) override; 102 bool GetSSLInfo(SSLInfo* ssl_info) override;
104 void GetConnectionAttempts(ConnectionAttempts* out) const override; 103 void GetConnectionAttempts(ConnectionAttempts* out) const override;
105 void ClearConnectionAttempts() override; 104 void ClearConnectionAttempts() override;
106 void AddConnectionAttempts(const ConnectionAttempts& attempts) override; 105 void AddConnectionAttempts(const ConnectionAttempts& attempts) override;
107 int64_t GetTotalReceivedBytes() const override; 106 int64_t GetTotalReceivedBytes() const override;
108 107
109 // Socket implementation. 108 // Socket implementation.
110 int Read(IOBuffer* buf, 109 int Read(IOBuffer* buf,
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 BoundNetLog net_log_; 206 BoundNetLog net_log_;
208 207
209 base::OneShotTimer connect_timer_; 208 base::OneShotTimer connect_timer_;
210 209
211 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketWrapper); 210 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocketWrapper);
212 }; 211 };
213 212
214 } // namespace net 213 } // namespace net
215 214
216 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_ 215 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_WRAPPER_H_
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket.cc ('k') | net/http/http_proxy_client_socket_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698