diff options
Diffstat (limited to 'chromium/base/task/thread_pool/thread_pool_impl.h')
-rw-r--r-- | chromium/base/task/thread_pool/thread_pool_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chromium/base/task/thread_pool/thread_pool_impl.h b/chromium/base/task/thread_pool/thread_pool_impl.h index 049ee6de692..8b3a6760ce9 100644 --- a/chromium/base/task/thread_pool/thread_pool_impl.h +++ b/chromium/base/task/thread_pool/thread_pool_impl.h @@ -60,8 +60,8 @@ class BASE_EXPORT ThreadPoolImpl : public ThreadPoolInstance, TaskTracker; #endif - // Creates a ThreadPoolImpl with a production TaskTracker. - //|histogram_label| is used to label histograms, it must not be empty. + // Creates a ThreadPoolImpl with a production TaskTracker. |histogram_label| + // is used to label histograms. No histograms are recorded if it is empty. explicit ThreadPoolImpl(StringPiece histogram_label); // For testing only. Creates a ThreadPoolImpl with a custom TaskTracker. @@ -103,6 +103,7 @@ class BASE_EXPORT ThreadPoolImpl : public ThreadPoolInstance, // PooledTaskRunnerDelegate: bool EnqueueJobTaskSource(scoped_refptr<JobTaskSource> task_source) override; + void RemoveJobTaskSource(scoped_refptr<JobTaskSource> task_source) override; void UpdatePriority(scoped_refptr<TaskSource> task_source, TaskPriority priority) override; |