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

Side by Side Diff: net/spdy/spdy_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
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_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 63
64 // StreamSocket implementation. 64 // StreamSocket implementation.
65 int Connect(const CompletionCallback& callback) override; 65 int Connect(const CompletionCallback& callback) override;
66 void Disconnect() override; 66 void Disconnect() override;
67 bool IsConnected() const override; 67 bool IsConnected() const override;
68 bool IsConnectedAndIdle() const override; 68 bool IsConnectedAndIdle() const override;
69 const BoundNetLog& NetLog() const override; 69 const BoundNetLog& NetLog() const override;
70 void SetSubresourceSpeculation() override; 70 void SetSubresourceSpeculation() override;
71 void SetOmniboxSpeculation() override; 71 void SetOmniboxSpeculation() override;
72 bool WasEverUsed() const override; 72 bool WasEverUsed() const override;
73 bool UsingTCPFastOpen() const override;
74 bool WasNpnNegotiated() const override; 73 bool WasNpnNegotiated() const override;
75 NextProto GetNegotiatedProtocol() const override; 74 NextProto GetNegotiatedProtocol() const override;
76 bool GetSSLInfo(SSLInfo* ssl_info) override; 75 bool GetSSLInfo(SSLInfo* ssl_info) override;
77 void GetConnectionAttempts(ConnectionAttempts* out) const override; 76 void GetConnectionAttempts(ConnectionAttempts* out) const override;
78 void ClearConnectionAttempts() override {} 77 void ClearConnectionAttempts() override {}
79 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 78 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
80 int64_t GetTotalReceivedBytes() const override; 79 int64_t GetTotalReceivedBytes() const override;
81 80
82 // Socket implementation. 81 // Socket implementation.
83 int Read(IOBuffer* buf, 82 int Read(IOBuffer* buf,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // Only used for posting write callbacks. Weak pointers created by this 177 // Only used for posting write callbacks. Weak pointers created by this
179 // factory are invalidated in Disconnect(). 178 // factory are invalidated in Disconnect().
180 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_; 179 base::WeakPtrFactory<SpdyProxyClientSocket> write_callback_weak_factory_;
181 180
182 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 181 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
183 }; 182 };
184 183
185 } // namespace net 184 } // namespace net
186 185
187 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 186 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « net/socket/websocket_endpoint_lock_manager_unittest.cc ('k') | net/spdy/spdy_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698