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

Unified Diff: net/base/network_throttle_manager_impl.h

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 | « media/base/test_helpers.cc ('k') | net/base/network_throttle_manager_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.h
diff --git a/net/base/network_throttle_manager_impl.h b/net/base/network_throttle_manager_impl.h
index 47afcc46ffa10298a473aa54f115512c938a43ed..b8f9273587ca679c2fb0bdb731c71ec5d3fd3bf0 100644
--- a/net/base/network_throttle_manager_impl.h
+++ b/net/base/network_throttle_manager_impl.h
@@ -129,7 +129,7 @@ class NET_EXPORT NetworkThrottleManagerImpl : public NetworkThrottleManager {
// throttles are outstanding. This guarantees that the class will
// eventually detect aging out of outstanding throttles and unblock
// throttles blocked on those outstanding throttles.
- base::Timer outstanding_recomputation_timer_;
+ base::OneShotTimer outstanding_recomputation_timer_;
// FIFO of OUTSTANDING throttles (ordered by time of entry into the
// OUTSTANDING state).
« no previous file with comments | « media/base/test_helpers.cc ('k') | net/base/network_throttle_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698