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

Unified Diff: base/task_scheduler/scheduler_worker_pool.h

Issue 2862143004: Remove SchedulerWorkerPoolImpl::ReEnqueueSequenceCallback. (Closed)
Patch Set: CR-robliao-remove-includes Created 3 years, 7 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 | base/task_scheduler/scheduler_worker_pool_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/scheduler_worker_pool.h
diff --git a/base/task_scheduler/scheduler_worker_pool.h b/base/task_scheduler/scheduler_worker_pool.h
index f7a89084c59b55dd12ded877fca205816b717de1..85e5dbebd2b4fed444e3b49c9135ebc0161cb243 100644
--- a/base/task_scheduler/scheduler_worker_pool.h
+++ b/base/task_scheduler/scheduler_worker_pool.h
@@ -18,8 +18,6 @@
namespace base {
namespace internal {
-class SequenceSortKey;
-
// Interface for a worker pool.
class BASE_EXPORT SchedulerWorkerPool {
public:
@@ -37,14 +35,6 @@ class BASE_EXPORT SchedulerWorkerPool {
virtual scoped_refptr<SequencedTaskRunner>
CreateSequencedTaskRunnerWithTraits(const TaskTraits& traits) = 0;
- // Inserts |sequence| with |sequence_sort_key| into a queue of Sequences that
- // can be processed by any worker owned by this SchedulerWorkerPool. Must only
- // be used to put |sequence| back into a queue after running a Task from it.
- // The thread that calls this doesn't have to belong to this
- // SchedulerWorkerPool.
- virtual void ReEnqueueSequence(scoped_refptr<Sequence> sequence,
- const SequenceSortKey& sequence_sort_key) = 0;
-
// Posts |task| to be executed by this SchedulerWorkerPool as part of
// |sequence|. |task| won't be executed before its delayed run time, if any.
// Returns true if |task| is posted.
« no previous file with comments | « no previous file | base/task_scheduler/scheduler_worker_pool_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698