| Index: content/public/browser/browser_thread.h
|
| diff --git a/content/public/browser/browser_thread.h b/content/public/browser/browser_thread.h
|
| index 104e374eb319e3c58ca9cff688ea8a7b8f6b9c12..10e8c160ba38a27adf5822525a3e8f64ec1203bb 100644
|
| --- a/content/public/browser/browser_thread.h
|
| +++ b/content/public/browser/browser_thread.h
|
| @@ -74,8 +74,7 @@ class CONTENT_EXPORT BrowserThread {
|
| // DEPRECATED: prefer base/task_scheduler/post_task.h for new classes
|
| // requiring a background file I/O task runner, i.e.:
|
| // base::CreateSequencedTaskRunnerWithTraits(
|
| - // base::TaskTraits().MayBlock()
|
| - // .WithPriority(base::TaskPriority::BACKGROUND))
|
| + // {base::MayBlock(), base::TaskPriority::BACKGROUND})
|
| // Note: You can use base::TaskPriority::USER_VISIBLE instead of
|
| // base::TaskPriority::BACKGROUND if the latency of this operation
|
| // is visible but non-blocking to the user.
|
| @@ -86,8 +85,7 @@ class CONTENT_EXPORT BrowserThread {
|
| // DEPRECATED: prefer base/task_scheduler/post_task.h for new classes
|
| // requiring a user-blocking file I/O task runner, i.e.:
|
| // base::CreateSequencedTaskRunnerWithTraits(
|
| - // base::TaskTraits().MayBlock()
|
| - // .WithPriority(base::TaskPriority::USER_BLOCKING))
|
| + // {base::MayBlock(), base::TaskPriority::USER_BLOCKING})
|
| FILE_USER_BLOCKING,
|
|
|
| // Used to launch and terminate Chrome processes.
|
| @@ -224,7 +222,7 @@ class CONTENT_EXPORT BrowserThread {
|
| // base::SequencedWorkerPool::GetSequenceToken())
|
| // =>
|
| // base::CreateSequencedTaskRunnerWithTraits(
|
| - // base::TaskTraits().MayBlock()...).
|
| + // {base::MayBlock()}).
|
| static base::SequencedWorkerPool* GetBlockingPool() WARN_UNUSED_RESULT;
|
|
|
| // Callable on any thread. Returns whether the given well-known thread is
|
|
|