Searched refs:TestPendingTask (Results 1 – 8 of 8) sorted by relevance
/external/libchrome/base/test/ |
D | test_pending_task.cc | 12 TestPendingTask::TestPendingTask() : nestability(NESTABLE) {} in TestPendingTask() function in base::TestPendingTask 14 TestPendingTask::TestPendingTask(const Location& location, in TestPendingTask() function in base::TestPendingTask 25 TestPendingTask::TestPendingTask(TestPendingTask&& other) = default; 27 TestPendingTask& TestPendingTask::operator=(TestPendingTask&& other) = default; 29 TimeTicks TestPendingTask::GetTimeToRun() const { in GetTimeToRun() 33 bool TestPendingTask::ShouldRunBefore(const TestPendingTask& other) const { in ShouldRunBefore() 39 TestPendingTask::~TestPendingTask() = default; 43 void TestPendingTask::AsValueInto(base::trace_event::TracedValue* state) const { 60 TestPendingTask::AsValue() const { 68 std::string TestPendingTask::ToString() const { in ToString() [all …]
|
D | test_pending_task.h | 21 struct TestPendingTask { struct 24 TestPendingTask(); argument 25 TestPendingTask(TestPendingTask&& other); 26 TestPendingTask(const Location& location, 31 ~TestPendingTask(); 33 TestPendingTask& operator=(TestPendingTask&& other); argument 54 bool ShouldRunBefore(const TestPendingTask& other) const; 72 DISALLOW_COPY_AND_ASSIGN(TestPendingTask); argument 77 std::ostream& operator<<(std::ostream& os, const TestPendingTask& task); 78 void PrintTo(const TestPendingTask& task, std::ostream* os);
|
D | test_simple_task_runner.cc | 23 pending_tasks_.push_back(TestPendingTask(from_here, std::move(task), in PostDelayedTask() 25 TestPendingTask::NESTABLE)); in PostDelayedTask() 33 pending_tasks_.push_back(TestPendingTask(from_here, std::move(task), in PostNonNestableDelayedTask() 35 TestPendingTask::NON_NESTABLE)); in PostNonNestableDelayedTask() 46 base::circular_deque<TestPendingTask> TestSimpleTaskRunner::TakePendingTasks() { in TakePendingTasks() 80 base::circular_deque<TestPendingTask> tasks_to_run; in RunPendingTasks()
|
D | test_mock_time_task_runner.cc | 134 : public base::TestPendingTask { 167 : base::TestPendingTask(location, in TestOrderedPendingTask() 299 base::circular_deque<TestPendingTask> 302 base::circular_deque<TestPendingTask> tasks; in TakePendingTasks() 360 TestPendingTask::NESTABLE)); in PostDelayedTask() 400 TestPendingTask task_info; in ProcessAllTasksNoLaterThan() 429 TestPendingTask* next_task) { in DequeueNextTask()
|
D | test_simple_task_runner.h | 54 base::circular_deque<TestPendingTask> TakePendingTasks(); 82 base::circular_deque<TestPendingTask> pending_tasks_;
|
D | test_mock_time_task_runner.h | 179 base::circular_deque<TestPendingTask> TakePendingTasks(); 259 TestPendingTask* next_task);
|
/external/libchrome/libchrome_tools/patch/ |
D | trace_event.patch | 96 @@ -58,10 +59,13 @@ struct TestPendingTask { 112 @@ -38,6 +38,8 @@ bool TestPendingTask::ShouldRunBefore(co 114 TestPendingTask::~TestPendingTask() {} 118 void TestPendingTask::AsValueInto(base::trace_event::TracedValue* state) const { 121 @@ -61,10 +63,14 @@ TestPendingTask::AsValue() const { 127 std::string TestPendingTask::ToString() const { 128 std::string output("TestPendingTask(");
|
/external/libchrome/base/timer/ |
D | mock_timer.cc | 20 for (TestPendingTask& task : task_runner->TakePendingTasks()) in FlushPendingTasks()
|