DescriptionCreate base::test::ScopedTaskScheduler.
ScopedTaskScheduler initializes a TaskScheduler and allows usage of the
base/task_scheduler/post_task.h API within a scope. To make tests
deterministic, the TaskScheduler initialized by ScopedTaskScheduler has
a single thread.
BUG=553459
Committed: https://crrev.com/8602d8a7269695a80f9d796ba7b2d69209f8cbdd
Cr-Commit-Position: refs/heads/master@{#433702}
Patch Set 1 #Patch Set 2 : self-review #
Total comments: 11
Patch Set 3 : CR robliao/gab #4-6 #
Total comments: 2
Patch Set 4 : Use CreateAndSetSimpleTaskScheduler add const #
Total comments: 2
Patch Set 5 : CR danakj #12 (remove unused function) #Patch Set 6 : self-review #
Total comments: 1
Patch Set 7 : Use CreateAndSetDefaultTaskScheduler #Patch Set 8 : rebase #Patch Set 9 : rebase #
Messages
Total messages: 33 (12 generated)
|