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

Unified Diff: components/scheduler/child/child_scheduler.h

Issue 1223163006: Implement PostDelayedTaskAt for guaranteed timer ordering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing include to IdleHelperTest. Created 5 years, 5 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 | « no previous file | components/scheduler/child/idle_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/child/child_scheduler.h
diff --git a/components/scheduler/child/child_scheduler.h b/components/scheduler/child/child_scheduler.h
index 8fd5359e8cfc38647aa567031a51f34384dcc526..14f9efb1caa72ea413850a8c86a25b5b1380624c 100644
--- a/components/scheduler/child/child_scheduler.h
+++ b/components/scheduler/child/child_scheduler.h
@@ -7,6 +7,7 @@
#include "base/message_loop/message_loop.h"
#include "components/scheduler/child/single_thread_idle_task_runner.h"
+#include "components/scheduler/child/task_queue.h"
#include "components/scheduler/scheduler_export.h"
namespace base {
@@ -20,7 +21,7 @@ class SCHEDULER_EXPORT ChildScheduler {
virtual ~ChildScheduler() {}
// Returns the default task runner.
- virtual scoped_refptr<base::SingleThreadTaskRunner> DefaultTaskRunner() = 0;
+ virtual scoped_refptr<TaskQueue> DefaultTaskRunner() = 0;
// Returns the idle task runner. Tasks posted to this runner may be reordered
// relative to other task types and may be starved for an arbitrarily long
« no previous file with comments | « no previous file | components/scheduler/child/idle_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698