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

Side by Side Diff: net/socket/socks5_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 | « net/socket/socket_test_util.cc ('k') | net/socket/socks5_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_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 46
47 // Does the SOCKS handshake and completes the protocol. 47 // Does the SOCKS handshake and completes the protocol.
48 int Connect(const CompletionCallback& callback) override; 48 int Connect(const CompletionCallback& callback) override;
49 void Disconnect() override; 49 void Disconnect() override;
50 bool IsConnected() const override; 50 bool IsConnected() const override;
51 bool IsConnectedAndIdle() const override; 51 bool IsConnectedAndIdle() const override;
52 const BoundNetLog& NetLog() const override; 52 const BoundNetLog& NetLog() const override;
53 void SetSubresourceSpeculation() override; 53 void SetSubresourceSpeculation() override;
54 void SetOmniboxSpeculation() override; 54 void SetOmniboxSpeculation() override;
55 bool WasEverUsed() const override; 55 bool WasEverUsed() const override;
56 bool UsingTCPFastOpen() const override;
57 bool WasNpnNegotiated() const override; 56 bool WasNpnNegotiated() const override;
58 NextProto GetNegotiatedProtocol() const override; 57 NextProto GetNegotiatedProtocol() const override;
59 bool GetSSLInfo(SSLInfo* ssl_info) override; 58 bool GetSSLInfo(SSLInfo* ssl_info) override;
60 void GetConnectionAttempts(ConnectionAttempts* out) const override; 59 void GetConnectionAttempts(ConnectionAttempts* out) const override;
61 void ClearConnectionAttempts() override {} 60 void ClearConnectionAttempts() override {}
62 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 61 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
63 int64_t GetTotalReceivedBytes() const override; 62 int64_t GetTotalReceivedBytes() const override;
64 63
65 // Socket implementation. 64 // Socket implementation.
66 int Read(IOBuffer* buf, 65 int Read(IOBuffer* buf,
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 HostResolver::RequestInfo host_request_info_; 154 HostResolver::RequestInfo host_request_info_;
156 155
157 BoundNetLog net_log_; 156 BoundNetLog net_log_;
158 157
159 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket); 158 DISALLOW_COPY_AND_ASSIGN(SOCKS5ClientSocket);
160 }; 159 };
161 160
162 } // namespace net 161 } // namespace net
163 162
164 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_ 163 #endif // NET_SOCKET_SOCKS5_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/socket_test_util.cc ('k') | net/socket/socks5_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698