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

Side by Side Diff: jingle/glue/proxy_resolving_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/fake_ssl_client_socket.cc ('k') | jingle/glue/proxy_resolving_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 // This StreamSocket implementation wraps a ClientSocketHandle that is created 5 // This StreamSocket implementation wraps a ClientSocketHandle that is created
6 // from the client socket pool after resolving proxies. 6 // from the client socket pool after resolving proxies.
7 7
8 #ifndef JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 8 #ifndef JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_
9 #define JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 9 #define JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_
10 10
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 int Connect(const net::CompletionCallback& callback) override; 62 int Connect(const net::CompletionCallback& callback) override;
63 void Disconnect() override; 63 void Disconnect() override;
64 bool IsConnected() const override; 64 bool IsConnected() const override;
65 bool IsConnectedAndIdle() const override; 65 bool IsConnectedAndIdle() const override;
66 int GetPeerAddress(net::IPEndPoint* address) const override; 66 int GetPeerAddress(net::IPEndPoint* address) const override;
67 int GetLocalAddress(net::IPEndPoint* address) const override; 67 int GetLocalAddress(net::IPEndPoint* address) const override;
68 const net::BoundNetLog& NetLog() const override; 68 const net::BoundNetLog& NetLog() const override;
69 void SetSubresourceSpeculation() override; 69 void SetSubresourceSpeculation() override;
70 void SetOmniboxSpeculation() override; 70 void SetOmniboxSpeculation() override;
71 bool WasEverUsed() const override; 71 bool WasEverUsed() const override;
72 bool UsingTCPFastOpen() const override;
73 bool WasNpnNegotiated() const override; 72 bool WasNpnNegotiated() const override;
74 net::NextProto GetNegotiatedProtocol() const override; 73 net::NextProto GetNegotiatedProtocol() const override;
75 bool GetSSLInfo(net::SSLInfo* ssl_info) override; 74 bool GetSSLInfo(net::SSLInfo* ssl_info) override;
76 void GetConnectionAttempts(net::ConnectionAttempts* out) const override; 75 void GetConnectionAttempts(net::ConnectionAttempts* out) const override;
77 void ClearConnectionAttempts() override {} 76 void ClearConnectionAttempts() override {}
78 void AddConnectionAttempts(const net::ConnectionAttempts& attempts) override { 77 void AddConnectionAttempts(const net::ConnectionAttempts& attempts) override {
79 } 78 }
80 int64_t GetTotalReceivedBytes() const override; 79 int64_t GetTotalReceivedBytes() const override;
81 80
82 private: 81 private:
(...skipping 27 matching lines...) Expand all
110 net::CompletionCallback user_connect_callback_; 109 net::CompletionCallback user_connect_callback_;
111 110
112 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_; 111 base::WeakPtrFactory<ProxyResolvingClientSocket> weak_factory_;
113 112
114 DISALLOW_COPY_AND_ASSIGN(ProxyResolvingClientSocket); 113 DISALLOW_COPY_AND_ASSIGN(ProxyResolvingClientSocket);
115 }; 114 };
116 115
117 } // namespace jingle_glue 116 } // namespace jingle_glue
118 117
119 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_ 118 #endif // JINGLE_GLUE_PROXY_RESOLVING_CLIENT_SOCKET_H_
OLDNEW
« no previous file with comments | « jingle/glue/fake_ssl_client_socket.cc ('k') | jingle/glue/proxy_resolving_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698