| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "net/socket/client_socket_pool_histograms.h" | 5 #include "net/socket/client_socket_pool_histograms.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/field_trial.h" | 9 #include "base/field_trial.h" |
| 10 #include "base/histogram.h" | 10 #include "base/histogram.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 } | 74 } |
| 75 | 75 |
| 76 void ClientSocketPoolHistograms::AddUnusedIdleTime(base::TimeDelta time) const { | 76 void ClientSocketPoolHistograms::AddUnusedIdleTime(base::TimeDelta time) const { |
| 77 unused_idle_time_->AddTime(time); | 77 unused_idle_time_->AddTime(time); |
| 78 } | 78 } |
| 79 | 79 |
| 80 void ClientSocketPoolHistograms::AddReusedIdleTime(base::TimeDelta time) const { | 80 void ClientSocketPoolHistograms::AddReusedIdleTime(base::TimeDelta time) const { |
| 81 reused_idle_time_->AddTime(time); | 81 reused_idle_time_->AddTime(time); |
| 82 } | 82 } |
| 83 | 83 |
| 84 ClientSocketPoolHistograms::~ClientSocketPoolHistograms() {} |
| 85 |
| 84 } // namespace net | 86 } // namespace net |
| OLD | NEW |