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

Side by Side Diff: net/socket/tcp_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/stream_socket.h ('k') | net/socket/tcp_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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TCP_CLIENT_SOCKET_H_ 5 #ifndef NET_SOCKET_TCP_CLIENT_SOCKET_H_
6 #define NET_SOCKET_TCP_CLIENT_SOCKET_H_ 6 #define NET_SOCKET_TCP_CLIENT_SOCKET_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 int Connect(const CompletionCallback& callback) override; 44 int Connect(const CompletionCallback& callback) override;
45 void Disconnect() override; 45 void Disconnect() override;
46 bool IsConnected() const override; 46 bool IsConnected() const override;
47 bool IsConnectedAndIdle() const override; 47 bool IsConnectedAndIdle() const override;
48 int GetPeerAddress(IPEndPoint* address) const override; 48 int GetPeerAddress(IPEndPoint* address) const override;
49 int GetLocalAddress(IPEndPoint* address) const override; 49 int GetLocalAddress(IPEndPoint* address) 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 void EnableTCPFastOpenIfSupported() override; 54 void EnableTCPFastOpenIfSupported() override;
56 bool WasNpnNegotiated() const override; 55 bool WasNpnNegotiated() const override;
57 NextProto GetNegotiatedProtocol() const override; 56 NextProto GetNegotiatedProtocol() const override;
58 bool GetSSLInfo(SSLInfo* ssl_info) override; 57 bool GetSSLInfo(SSLInfo* ssl_info) override;
59 58
60 // Socket implementation. 59 // Socket implementation.
61 // Multiple outstanding requests are not supported. 60 // Multiple outstanding requests are not supported.
62 // Full duplex mode (reading and writing at the same time) is supported. 61 // Full duplex mode (reading and writing at the same time) is supported.
63 int Read(IOBuffer* buf, 62 int Read(IOBuffer* buf,
64 int buf_len, 63 int buf_len,
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 134
136 // Total number of bytes received by the socket. 135 // Total number of bytes received by the socket.
137 int64_t total_received_bytes_; 136 int64_t total_received_bytes_;
138 137
139 DISALLOW_COPY_AND_ASSIGN(TCPClientSocket); 138 DISALLOW_COPY_AND_ASSIGN(TCPClientSocket);
140 }; 139 };
141 140
142 } // namespace net 141 } // namespace net
143 142
144 #endif // NET_SOCKET_TCP_CLIENT_SOCKET_H_ 143 #endif // NET_SOCKET_TCP_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/stream_socket.h ('k') | net/socket/tcp_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698