Searched refs:TaskTraits (Results 1 – 5 of 5) sorted by relevance
16 TaskTraits::TaskTraits() in TaskTraits() function in base::TaskTraits21 TaskTraits::~TaskTraits() = default;23 TaskTraits& TaskTraits::WithFileIO() { in WithFileIO()28 TaskTraits& TaskTraits::WithPriority(TaskPriority priority) { in WithPriority()33 TaskTraits& TaskTraits::WithShutdownBehavior( in WithShutdownBehavior()
79 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);
22 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()
30 const TaskTraits& traits,35 const TaskTraits traits;
12 const TaskTraits& traits, in Task()