Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2026)

Unified Diff: docs/threading_and_tasks.md

Issue 2959563002: Sequence[d]TaskRunner (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « docs/task_scheduler_migration.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: docs/threading_and_tasks.md
diff --git a/docs/threading_and_tasks.md b/docs/threading_and_tasks.md
index b29e601acebe297986128ca5d027116a79f00f85..6cc56bdcac94002ef3d6babd8569122964af862e 100644
--- a/docs/threading_and_tasks.md
+++ b/docs/threading_and_tasks.md
@@ -656,11 +656,11 @@ class FooWithCustomizableTaskRunnerForTesting {
public:
void SetBackgroundTaskRunnerForTesting(
- scoped_refptr<base::SequenceTaskRunner> background_task_runner);
+ scoped_refptr<base::SequencedTaskRunner> background_task_runner);
private:
- scoped_refptr<base::SequenceTaskRunner> background_task_runner_ =
- base::CreateSequenceTaskRunnerWithTraits(
+ scoped_refptr<base::SequencedTaskRunner> background_task_runner_ =
+ base::CreateSequencedTaskRunnerWithTraits(
{base::MayBlock(), base::TaskPriority::BACKGROUND});
}
```
« no previous file with comments | « docs/task_scheduler_migration.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698