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

Unified Diff: net/socket/client_socket_handle.cc

Issue 2533063002: Fix Net.Socket.IdleSocketTimeSaving histogram (Closed)
Patch Set: self review Created 4 years, 1 month 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
« no previous file with comments | « net/http/http_stream_factory_impl_unittest.cc ('k') | net/socket/client_socket_pool.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_handle.cc
diff --git a/net/socket/client_socket_handle.cc b/net/socket/client_socket_handle.cc
index f171552e4c291b41dceb085a1e0a7286cbc34bed..edfa36d963e681c553c431b1e9e103c8fa659df2 100644
--- a/net/socket/client_socket_handle.cc
+++ b/net/socket/client_socket_handle.cc
@@ -45,7 +45,8 @@ void ClientSocketHandle::ResetInternal(bool cancel) {
socket_->NetLog().EndEvent(NetLogEventType::SOCKET_IN_USE);
// Release the socket back to the ClientSocketPool so it can be
// deleted or reused.
- pool_->ReleaseSocket(group_name_, std::move(socket_), pool_id_);
+ pool_->ReleaseSocket(group_name_, std::move(socket_), pool_id_,
+ connect_timing_);
} else {
// If the handle has been initialized, we should still have a
// socket.
« no previous file with comments | « net/http/http_stream_factory_impl_unittest.cc ('k') | net/socket/client_socket_pool.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698