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

Unified Diff: net/socket/client_socket_handle.cc

Issue 2542433002: Remove unused fields from ClientSocketHandle. (Closed)
Patch Set: 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/socket/client_socket_handle.h ('k') | no next file » | 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..0fc48756110fb22d2736d9e6973532616e431bd6 100644
--- a/net/socket/client_socket_handle.cc
+++ b/net/socket/client_socket_handle.cc
@@ -66,8 +66,6 @@ void ClientSocketHandle::ResetInternal(bool cancel) {
RemoveHigherLayeredPool(higher_pool_);
pool_ = NULL;
idle_time_ = base::TimeDelta();
- init_time_ = base::TimeTicks();
- setup_time_ = base::TimeDelta();
connect_timing_ = LoadTimingInfo::ConnectTiming();
pool_id_ = -1;
}
@@ -161,7 +159,6 @@ void ClientSocketHandle::HandleInitCompletion(int result) {
}
is_initialized_ = true;
CHECK_NE(-1, pool_id_) << "Pool should have set |pool_id_| to a valid value.";
- setup_time_ = base::TimeTicks::Now() - init_time_;
// Broadcast that the socket has been acquired.
// TODO(eroman): This logging is not complete, in particular set_socket() and
« no previous file with comments | « net/socket/client_socket_handle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698