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

Side by Side Diff: net/socket/ssl_client_socket_nss.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/socks_client_socket.cc ('k') | net/socket/ssl_client_socket_nss.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_SSL_CLIENT_SOCKET_NSS_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
7 7
8 #include <certt.h> 8 #include <certt.h>
9 #include <keyt.h> 9 #include <keyt.h>
10 #include <nspr.h> 10 #include <nspr.h>
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 int Connect(const CompletionCallback& callback) override; 72 int Connect(const CompletionCallback& callback) override;
73 void Disconnect() override; 73 void Disconnect() override;
74 bool IsConnected() const override; 74 bool IsConnected() const override;
75 bool IsConnectedAndIdle() const override; 75 bool IsConnectedAndIdle() const override;
76 int GetPeerAddress(IPEndPoint* address) const override; 76 int GetPeerAddress(IPEndPoint* address) const override;
77 int GetLocalAddress(IPEndPoint* address) const override; 77 int GetLocalAddress(IPEndPoint* address) const override;
78 const BoundNetLog& NetLog() const override; 78 const BoundNetLog& NetLog() const override;
79 void SetSubresourceSpeculation() override; 79 void SetSubresourceSpeculation() override;
80 void SetOmniboxSpeculation() override; 80 void SetOmniboxSpeculation() override;
81 bool WasEverUsed() const override; 81 bool WasEverUsed() const override;
82 bool UsingTCPFastOpen() const override;
83 bool GetSSLInfo(SSLInfo* ssl_info) override; 82 bool GetSSLInfo(SSLInfo* ssl_info) override;
84 void GetConnectionAttempts(ConnectionAttempts* out) const override; 83 void GetConnectionAttempts(ConnectionAttempts* out) const override;
85 void ClearConnectionAttempts() override {} 84 void ClearConnectionAttempts() override {}
86 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 85 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
87 int64_t GetTotalReceivedBytes() const override; 86 int64_t GetTotalReceivedBytes() const override;
88 87
89 // Socket implementation. 88 // Socket implementation.
90 int Read(IOBuffer* buf, 89 int Read(IOBuffer* buf,
91 int buf_len, 90 int buf_len,
92 const CompletionCallback& callback) override; 91 const CompletionCallback& callback) override;
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 // Added the following code Debugging in release mode. 209 // Added the following code Debugging in release mode.
211 mutable base::Lock lock_; 210 mutable base::Lock lock_;
212 // This is mutable so that CalledOnValidThread can set it. 211 // This is mutable so that CalledOnValidThread can set it.
213 // It's guarded by |lock_|. 212 // It's guarded by |lock_|.
214 mutable base::PlatformThreadId valid_thread_id_; 213 mutable base::PlatformThreadId valid_thread_id_;
215 }; 214 };
216 215
217 } // namespace net 216 } // namespace net
218 217
219 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_ 218 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_NSS_H_
OLDNEW
« no previous file with comments | « net/socket/socks_client_socket.cc ('k') | net/socket/ssl_client_socket_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698