| Index: base/threading/sequenced_worker_pool.h
|
| diff --git a/base/threading/sequenced_worker_pool.h b/base/threading/sequenced_worker_pool.h
|
| index 63c6204ebbb79bb80bd96fe79b31554b2b767ef8..0b6c5f9e392c06f8d9fd3297cd81ae918829bc45 100644
|
| --- a/base/threading/sequenced_worker_pool.h
|
| +++ b/base/threading/sequenced_worker_pool.h
|
| @@ -320,12 +320,10 @@ class BASE_EXPORT SequencedWorkerPool : public TaskRunner {
|
| // Must be called from the same thread this object was constructed on.
|
| void Shutdown() { Shutdown(0); }
|
|
|
| - // A variant that allows an arbitrary number of new blocking tasks to
|
| - // be posted during shutdown from within tasks that execute during shutdown.
|
| - // Only tasks designated as BLOCKING_SHUTDOWN will be allowed, and only if
|
| - // posted by tasks that are not designated as CONTINUE_ON_SHUTDOWN. Once
|
| + // A variant that allows an arbitrary number of new blocking tasks to be
|
| + // posted during shutdown. The tasks cannot be posted within the execution
|
| + // context of tasks whose shutdown behavior is not BLOCKING_SHUTDOWN. Once
|
| // the limit is reached, subsequent calls to post task fail in all cases.
|
| - //
|
| // Must be called from the same thread this object was constructed on.
|
| void Shutdown(int max_new_blocking_tasks_after_shutdown);
|
|
|
|
|