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

Side by Side Diff: net/socket/socks_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/socks5_client_socket.cc ('k') | net/socket/socks_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_SOCKS_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // Does the SOCKS handshake and completes the protocol. 45 // Does the SOCKS handshake and completes the protocol.
46 int Connect(const CompletionCallback& callback) override; 46 int Connect(const CompletionCallback& callback) override;
47 void Disconnect() override; 47 void Disconnect() override;
48 bool IsConnected() const override; 48 bool IsConnected() const override;
49 bool IsConnectedAndIdle() const override; 49 bool IsConnectedAndIdle() const override;
50 const BoundNetLog& NetLog() const override; 50 const BoundNetLog& NetLog() const override;
51 void SetSubresourceSpeculation() override; 51 void SetSubresourceSpeculation() override;
52 void SetOmniboxSpeculation() override; 52 void SetOmniboxSpeculation() override;
53 bool WasEverUsed() const override; 53 bool WasEverUsed() const override;
54 bool UsingTCPFastOpen() const override;
55 bool WasNpnNegotiated() const override; 54 bool WasNpnNegotiated() const override;
56 NextProto GetNegotiatedProtocol() const override; 55 NextProto GetNegotiatedProtocol() const override;
57 bool GetSSLInfo(SSLInfo* ssl_info) override; 56 bool GetSSLInfo(SSLInfo* ssl_info) override;
58 void GetConnectionAttempts(ConnectionAttempts* out) const override; 57 void GetConnectionAttempts(ConnectionAttempts* out) const override;
59 void ClearConnectionAttempts() override {} 58 void ClearConnectionAttempts() override {}
60 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 59 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
61 int64_t GetTotalReceivedBytes() const override; 60 int64_t GetTotalReceivedBytes() const override;
62 61
63 // Socket implementation. 62 // Socket implementation.
64 int Read(IOBuffer* buf, 63 int Read(IOBuffer* buf,
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 RequestPriority priority_; 137 RequestPriority priority_;
139 138
140 BoundNetLog net_log_; 139 BoundNetLog net_log_;
141 140
142 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocket); 141 DISALLOW_COPY_AND_ASSIGN(SOCKSClientSocket);
143 }; 142 };
144 143
145 } // namespace net 144 } // namespace net
146 145
147 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_H_ 146 #endif // NET_SOCKET_SOCKS_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/socks5_client_socket.cc ('k') | net/socket/socks_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698