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

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

Issue 987193002: Redirect the MessageLoop's task runner to the renderer scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments + refactor all the things 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
Index: components/scheduler/child/scheduler_helper.h
diff --git a/components/scheduler/child/scheduler_helper.h b/components/scheduler/child/scheduler_helper.h
index 3c439c70a41322dae2ea2816b7a11ce1654fc976..2876114899833bef0913373a90e121706ad25b0a 100644
--- a/components/scheduler/child/scheduler_helper.h
+++ b/components/scheduler/child/scheduler_helper.h
@@ -15,7 +15,7 @@ class TickClock;
namespace scheduler {
-class NestableSingleThreadTaskRunner;
+class SchedulerTaskRunnerDelegate;
// Common scheduler functionality for default tasks.
class SCHEDULER_EXPORT SchedulerHelper {
@@ -23,12 +23,11 @@ class SCHEDULER_EXPORT SchedulerHelper {
// NOTE |total_task_queue_count| must be >= TASK_QUEUE_COUNT.
// Category strings must have application lifetime (statics or
// literals). They may not include " chars.
- SchedulerHelper(
- scoped_refptr<NestableSingleThreadTaskRunner> main_task_runner,
- const char* tracing_category,
- const char* disabled_by_default_tracing_category,
- const char* disabled_by_default_verbose_tracing_category,
- size_t total_task_queue_count);
+ SchedulerHelper(scoped_refptr<SchedulerTaskRunnerDelegate> main_task_runner,
+ const char* tracing_category,
+ const char* disabled_by_default_tracing_category,
+ const char* disabled_by_default_verbose_tracing_category,
+ size_t total_task_queue_count);
~SchedulerHelper();
// Returns the default task runner.

Powered by Google App Engine
This is Rietveld 408576698