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

Unified Diff: components/component_updater/timer.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 | « base/timer/timer_unittest.cc ('k') | components/component_updater/timer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/component_updater/timer.h
diff --git a/components/component_updater/timer.h b/components/component_updater/timer.h
index 8b728996a96cf62f5c26bd9ee38ef0377b3890b4..12c6c5107ccc04d6c8c7620d06efd2843a8077e8 100644
--- a/components/component_updater/timer.h
+++ b/components/component_updater/timer.h
@@ -29,7 +29,7 @@ class Timer {
base::ThreadChecker thread_checker_;
- base::Timer timer_;
+ base::OneShotTimer timer_;
base::TimeDelta delay_;
base::Closure user_task_;
« no previous file with comments | « base/timer/timer_unittest.cc ('k') | components/component_updater/timer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698