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

Side by Side Diff: net/socket/ssl_client_socket_openssl.h

Issue 1096203006: Collect all ConnectionAttempts from both sockets in TransportConnectJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@domrel_serverip1
Patch Set: Return fake ConnectionAttempt in MockTCPClientSocket Created 5 years, 7 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 <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 bool IsConnected() const override; 78 bool IsConnected() const override;
79 bool IsConnectedAndIdle() const override; 79 bool IsConnectedAndIdle() const override;
80 int GetPeerAddress(IPEndPoint* address) const override; 80 int GetPeerAddress(IPEndPoint* address) const override;
81 int GetLocalAddress(IPEndPoint* address) const override; 81 int GetLocalAddress(IPEndPoint* address) const override;
82 const BoundNetLog& NetLog() const override; 82 const BoundNetLog& NetLog() const override;
83 void SetSubresourceSpeculation() override; 83 void SetSubresourceSpeculation() override;
84 void SetOmniboxSpeculation() override; 84 void SetOmniboxSpeculation() override;
85 bool WasEverUsed() const override; 85 bool WasEverUsed() const override;
86 bool UsingTCPFastOpen() const override; 86 bool UsingTCPFastOpen() const override;
87 bool GetSSLInfo(SSLInfo* ssl_info) override; 87 bool GetSSLInfo(SSLInfo* ssl_info) override;
88 void GetConnectionAttempts(ConnectionAttempts* out) const override;
89 void ClearConnectionAttempts() override {}
90 void AddConnectionAttempts(const ConnectionAttempts& attempts) override {}
88 91
89 // Socket implementation. 92 // Socket implementation.
90 int Read(IOBuffer* buf, 93 int Read(IOBuffer* buf,
91 int buf_len, 94 int buf_len,
92 const CompletionCallback& callback) override; 95 const CompletionCallback& callback) override;
93 int Write(IOBuffer* buf, 96 int Write(IOBuffer* buf,
94 int buf_len, 97 int buf_len,
95 const CompletionCallback& callback) override; 98 const CompletionCallback& callback) override;
96 int SetReceiveBufferSize(int32 size) override; 99 int SetReceiveBufferSize(int32 size) override;
97 int SetSendBufferSize(int32 size) override; 100 int SetSendBufferSize(int32 size) override;
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 // pinning failure. It is a (somewhat) human-readable string. 313 // pinning failure. It is a (somewhat) human-readable string.
311 std::string pinning_failure_log_; 314 std::string pinning_failure_log_;
312 315
313 BoundNetLog net_log_; 316 BoundNetLog net_log_;
314 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_; 317 base::WeakPtrFactory<SSLClientSocketOpenSSL> weak_factory_;
315 }; 318 };
316 319
317 } // namespace net 320 } // namespace net
318 321
319 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 322 #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