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

Unified Diff: net/socket/ssl_client_socket_unittest.cc

Issue 1096203006: Collect all ConnectionAttempts from both sockets in TransportConnectJob. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@domrel_serverip1
Patch Set: Add a couple comments 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 side-by-side diff with in-line comments
Download patch
Index: net/socket/ssl_client_socket_unittest.cc
diff --git a/net/socket/ssl_client_socket_unittest.cc b/net/socket/ssl_client_socket_unittest.cc
index 19e5e8d6464aeeb2ee42cc2bb7fd59c77069c53b..0a7b7118e3c799529e2db4fe4bac9aa6f7328db0 100644
--- a/net/socket/ssl_client_socket_unittest.cc
+++ b/net/socket/ssl_client_socket_unittest.cc
@@ -108,6 +108,15 @@ class WrappedStreamSocket : public StreamSocket {
bool GetSSLInfo(SSLInfo* ssl_info) override {
return transport_->GetSSLInfo(ssl_info);
}
+ void GetConnectionAttempts(ConnectionAttempts* out) const override {
+ transport_->GetConnectionAttempts(out);
+ }
+ void ClearConnectionAttempts() override {
+ transport_->ClearConnectionAttempts();
+ }
+ void AddConnectionAttempts(const ConnectionAttempts& attempts) override {
+ transport_->AddConnectionAttempts(attempts);
+ }
// Socket implementation:
int Read(IOBuffer* buf,

Powered by Google App Engine
This is Rietveld 408576698