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

Side by Side Diff: net/http/http_proxy_client_socket.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 | « jingle/glue/proxy_resolving_client_socket.cc ('k') | net/http/http_proxy_client_socket.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 (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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // StreamSocket implementation. 62 // StreamSocket implementation.
63 int Connect(const CompletionCallback& callback) override; 63 int Connect(const CompletionCallback& callback) override;
64 void Disconnect() override; 64 void Disconnect() override;
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;
72 bool WasNpnNegotiated() const override; 71 bool WasNpnNegotiated() const override;
73 NextProto GetNegotiatedProtocol() const override; 72 NextProto GetNegotiatedProtocol() const override;
74 bool GetSSLInfo(SSLInfo* ssl_info) override; 73 bool GetSSLInfo(SSLInfo* ssl_info) override;
75 void GetConnectionAttempts(ConnectionAttempts* out) const override; 74 void GetConnectionAttempts(ConnectionAttempts* out) const override;
76 void ClearConnectionAttempts() override {} 75 void ClearConnectionAttempts() override {}
77 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 76 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
78 int64_t GetTotalReceivedBytes() const override; 77 int64_t GetTotalReceivedBytes() const override;
79 78
80 // Socket implementation. 79 // Socket implementation.
81 int Read(IOBuffer* buf, 80 int Read(IOBuffer* buf,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 ProxyDelegate* proxy_delegate_; 166 ProxyDelegate* proxy_delegate_;
168 167
169 const BoundNetLog net_log_; 168 const BoundNetLog net_log_;
170 169
171 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket); 170 DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket);
172 }; 171 };
173 172
174 } // namespace net 173 } // namespace net
175 174
176 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_ 175 #endif // NET_HTTP_HTTP_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « jingle/glue/proxy_resolving_client_socket.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698