summaryrefslogtreecommitdiffstats
path: root/chromium/base/task/thread_pool/pooled_task_runner_delegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/base/task/thread_pool/pooled_task_runner_delegate.h')
-rw-r--r--chromium/base/task/thread_pool/pooled_task_runner_delegate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/base/task/thread_pool/pooled_task_runner_delegate.h b/chromium/base/task/thread_pool/pooled_task_runner_delegate.h
index e00f481c6a5..0ec1b87c10b 100644
--- a/chromium/base/task/thread_pool/pooled_task_runner_delegate.h
+++ b/chromium/base/task/thread_pool/pooled_task_runner_delegate.h
@@ -46,6 +46,10 @@ class BASE_EXPORT PooledTaskRunnerDelegate {
virtual bool EnqueueJobTaskSource(
scoped_refptr<JobTaskSource> task_source) = 0;
+ // Removes |task_source| from the priority queue.
+ virtual void RemoveJobTaskSource(
+ scoped_refptr<JobTaskSource> task_source) = 0;
+
// Invoked when RunsTasksInCurrentSequence() is called on a
// PooledParallelTaskRunner. Returns true if the current thread is part of the
// ThreadGroup associated with |traits|.