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

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

Issue 1675633002: WebTaskRunnerImpl to take a TaskQueue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 10 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/compositor_worker_scheduler.h » ('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 87bcf56893bc8dbb50bb6895e1ebd597051f5d7f..113be648e08973e51b0dcaf0d4835ec56cd7ec56 100644
--- a/components/scheduler/child/child_scheduler.h
+++ b/components/scheduler/child/child_scheduler.h
@@ -16,13 +16,14 @@ class MessageLoop;
}
namespace scheduler {
+class TaskQueue;
class SCHEDULER_EXPORT ChildScheduler {
public:
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/compositor_worker_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698