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

Unified Diff: net/base/network_throttle_manager_impl.cc

Issue 2837863004: Use base::OneShotTimer instead of base::Timer(false, false)
Patch Set: rebase Created 3 years, 8 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
« no previous file with comments | « net/base/network_throttle_manager_impl.h ('k') | net/dns/mdns_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_throttle_manager_impl.cc
diff --git a/net/base/network_throttle_manager_impl.cc b/net/base/network_throttle_manager_impl.cc
index eda6fea2cfccc7c0f967d1aac4497e5ccd188252..e17ab2c0d186a000206ead78b7cb0e1d9372e934 100644
--- a/net/base/network_throttle_manager_impl.cc
+++ b/net/base/network_throttle_manager_impl.cc
@@ -154,8 +154,6 @@ void NetworkThrottleManagerImpl::ThrottleImpl::NotifyUnblocked() {
NetworkThrottleManagerImpl::NetworkThrottleManagerImpl()
: lifetime_median_estimate_(PercentileEstimator::kMedianPercentile,
kInitialMedianInMs),
- outstanding_recomputation_timer_(false /* retain_user_task */,
- false /* is_repeating */),
tick_clock_(new base::DefaultTickClock()),
weak_ptr_factory_(this) {
outstanding_recomputation_timer_.SetTaskRunner(
« no previous file with comments | « net/base/network_throttle_manager_impl.h ('k') | net/dns/mdns_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698