Home
last modified time | relevance | path

Searched refs:TaskTraits (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/task_scheduler/
Dtask_traits.cc16 TaskTraits::TaskTraits() in TaskTraits() function in base::TaskTraits
21 TaskTraits::~TaskTraits() = default;
23 TaskTraits& TaskTraits::WithFileIO() { in WithFileIO()
28 TaskTraits& TaskTraits::WithPriority(TaskPriority priority) { in WithPriority()
33 TaskTraits& TaskTraits::WithShutdownBehavior( in WithShutdownBehavior()
Dtask_traits.h79 class BASE_EXPORT TaskTraits {
87 TaskTraits();
88 TaskTraits(const TaskTraits& other) = default;
89 TaskTraits& operator=(const TaskTraits& other) = default;
90 ~TaskTraits();
93 TaskTraits& WithFileIO();
96 TaskTraits& WithPriority(TaskPriority priority);
99 TaskTraits& WithShutdownBehavior(TaskShutdownBehavior shutdown_behavior);
Dsequence_unittest.cc22 TaskTraits().WithPriority(TaskPriority::BACKGROUND), in TaskSchedulerSequenceTest()
27 TaskTraits().WithPriority(TaskPriority::USER_VISIBLE), in TaskSchedulerSequenceTest()
32 TaskTraits().WithPriority(TaskPriority::USER_BLOCKING), in TaskSchedulerSequenceTest()
37 TaskTraits().WithPriority(TaskPriority::USER_BLOCKING), in TaskSchedulerSequenceTest()
42 TaskTraits().WithPriority(TaskPriority::BACKGROUND), in TaskSchedulerSequenceTest()
Dtask.h30 const TaskTraits& traits,
35 const TaskTraits traits;
Dtask.cc12 const TaskTraits& traits, in Task()