Home
last modified time | relevance | path

Searched refs:TestPendingTask (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/test/
Dtest_pending_task.cc11 TestPendingTask::TestPendingTask() : nestability(NESTABLE) {} in TestPendingTask() function in base::TestPendingTask
13 TestPendingTask::TestPendingTask( in TestPendingTask() function in base::TestPendingTask
25 TestPendingTask::TestPendingTask(const TestPendingTask& other) = default;
27 TimeTicks TestPendingTask::GetTimeToRun() const { in GetTimeToRun()
31 bool TestPendingTask::ShouldRunBefore(const TestPendingTask& other) const { in ShouldRunBefore()
37 TestPendingTask::~TestPendingTask() {} in ~TestPendingTask()
39 void TestPendingTask::AsValueInto(base::trace_event::TracedValue* state) const { in AsValueInto()
56 TestPendingTask::AsValue() const { in AsValue()
63 std::string TestPendingTask::ToString() const { in ToString()
70 std::ostream& operator<<(std::ostream& os, const TestPendingTask& task) { in operator <<()
[all …]
Dtest_pending_task.h20 struct TestPendingTask { struct
23 TestPendingTask(); argument
24 TestPendingTask(const TestPendingTask& other);
25 TestPendingTask(const tracked_objects::Location& location,
30 ~TestPendingTask();
51 bool ShouldRunBefore(const TestPendingTask& other) const;
68 std::ostream& operator<<(std::ostream& os, const TestPendingTask& task); argument
69 void PrintTo(const TestPendingTask& task, std::ostream* os);
Dtest_simple_task_runner.cc23 TestPendingTask(from_here, task, TimeTicks(), delay, in PostDelayedTask()
24 TestPendingTask::NESTABLE)); in PostDelayedTask()
34 TestPendingTask(from_here, task, TimeTicks(), delay, in PostNonNestableDelayedTask()
35 TestPendingTask::NON_NESTABLE)); in PostNonNestableDelayedTask()
44 const std::deque<TestPendingTask>&
68 std::deque<TestPendingTask> tasks_to_run; in RunPendingTasks()
70 for (std::deque<TestPendingTask>::iterator it = tasks_to_run.begin(); in RunPendingTasks()
Dtest_simple_task_runner.h59 const std::deque<TestPendingTask>& GetPendingTasks() const;
76 std::deque<TestPendingTask> pending_tasks_;