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

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h

Issue 2812313002: [scheduler] Remove blink::scheduler::TaskQueue from public API. (Closed)
Patch Set: Rebased & addressed skyostil@'s comment 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: third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h
diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h
index 4659927f81d32d03ed3ac13d715f45d17bfd8d99..0dcdc5cf53d6ae67e00e2297040455ae5dac089e 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h
+++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h
@@ -45,13 +45,13 @@ class BLINK_PLATFORM_EXPORT SchedulerHelper
void OnTriedToExecuteBlockedTask(const TaskQueue& queue,
const base::PendingTask& task) override;
- // Returns the default task runner.
- scoped_refptr<TaskQueue> DefaultTaskRunner();
+ // Returns the default task queue.
+ scoped_refptr<TaskQueue> DefaultTaskQueue();
- // Returns the control task runner. Tasks posted to this runner are executed
+ // Returns the control task queue. Tasks posted to this queue are executed
// with the highest priority. Care must be taken to avoid starvation of other
// task queues.
- scoped_refptr<TaskQueue> ControlTaskRunner();
+ scoped_refptr<TaskQueue> ControlTaskQueue();
// Adds or removes a task observer from the scheduler. The observer will be
// notified before and after every executed task. These functions can only be
@@ -63,7 +63,7 @@ class BLINK_PLATFORM_EXPORT SchedulerHelper
void RemoveTaskTimeObserver(TaskTimeObserver* task_time_observer);
// Shuts down the scheduler by dropping any remaining pending work in the work
- // queues. After this call any work posted to the task runners will be
+ // queues. After this call any work posted to the task queue will be
// silently dropped.
void Shutdown();

Powered by Google App Engine
This is Rietveld 408576698