diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-23 17:21:03 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-01-23 16:25:15 +0000 |
commit | c551f43206405019121bd2b2c93714319a0a3300 (patch) | |
tree | 1f48c30631c421fd4bbb3c36da20183c8a2ed7d7 /chromium/base/task/thread_pool/pooled_task_runner_delegate.h | |
parent | 7961cea6d1041e3e454dae6a1da660b453efd238 (diff) |
BASELINE: Update Chromium to 79.0.3945.139
Change-Id: I336b7182fab9bca80b709682489c07db112eaca5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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.h | 4 |
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|. |