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

Side by Side Diff: net/socket/ssl_client_socket_openssl.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/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_openssl.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_OPENSSL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
7 7
8 #include <openssl/base.h> 8 #include <openssl/base.h>
9 #include <openssl/ssl.h> 9 #include <openssl/ssl.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 int Connect(const CompletionCallback& callback) override; 92 int Connect(const CompletionCallback& callback) override;
93 void Disconnect() override; 93 void Disconnect() override;
94 bool IsConnected() const override; 94 bool IsConnected() const override;
95 bool IsConnectedAndIdle() const override; 95 bool IsConnectedAndIdle() const override;
96 int GetPeerAddress(IPEndPoint* address) const override; 96 int GetPeerAddress(IPEndPoint* address) const override;
97 int GetLocalAddress(IPEndPoint* address) const override; 97 int GetLocalAddress(IPEndPoint* address) const override;
98 const BoundNetLog& NetLog() const override; 98 const BoundNetLog& NetLog() const override;
99 void SetSubresourceSpeculation() override; 99 void SetSubresourceSpeculation() override;
100 void SetOmniboxSpeculation() override; 100 void SetOmniboxSpeculation() override;
101 bool WasEverUsed() const override; 101 bool WasEverUsed() const override;
102 bool UsingTCPFastOpen() const override;
103 bool GetSSLInfo(SSLInfo* ssl_info) override; 102 bool GetSSLInfo(SSLInfo* ssl_info) override;
104 void GetConnectionAttempts(ConnectionAttempts* out) const override; 103 void GetConnectionAttempts(ConnectionAttempts* out) const override;
105 void ClearConnectionAttempts() override {} 104 void ClearConnectionAttempts() override {}
106 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {} 105 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
107 int64_t GetTotalReceivedBytes() const override; 106 int64_t GetTotalReceivedBytes() const override;
108 107
109 // Socket implementation. 108 // Socket implementation.
110 int Read(IOBuffer* buf, 109 int Read(IOBuffer* buf,
111 int buf_len, 110 int buf_len,
112 const CompletionCallback& callback) override; 111 const CompletionCallback& callback) override;
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 // pinning failure. It is a (somewhat) human-readable string. 363 // pinning failure. It is a (somewhat) human-readable string.
365 std::string pinning_failure_log_; 364 std::string pinning_failure_log_;
366 365
367 BoundNetLog net_log_; 366 BoundNetLog net_log_;
368 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; 367 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_;
369 }; 368 };
370 369
371 } // namespace net 370 } // namespace net
372 371
373 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 372 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
OLDNEW
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/socket/ssl_client_socket_openssl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698