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

Unified Diff: extensions/browser/updater/request_queue.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
Index: extensions/browser/updater/request_queue.h
diff --git a/extensions/browser/updater/request_queue.h b/extensions/browser/updater/request_queue.h
index 5b11468246a65668199927eebf6acdae2bc9dead..e770d7a649eab1a8459aaca9ae13aa628bd7a52b 100644
--- a/extensions/browser/updater/request_queue.h
+++ b/extensions/browser/updater/request_queue.h
@@ -111,7 +111,7 @@ class RequestQueue {
// Timer to schedule calls to StartNextRequest, if the first pending request
// hasn't passed its release time yet.
- base::Timer timer_;
+ base::OneShotTimer timer_;
};
// Iterator class that wraps a std::deque<> iterator, only giving access to the
« no previous file with comments | « extensions/browser/api/cast_channel/cast_channel_api.cc ('k') | extensions/browser/updater/request_queue_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698