Home
last modified time | relevance | path

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

/external/libchrome/base/test/
Dtest_pending_task.cc12 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 …]
Dtest_pending_task.h21 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);
Dtest_simple_task_runner.cc23 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()
Dtest_mock_time_task_runner.cc134 : 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()
Dtest_simple_task_runner.h54 base::circular_deque<TestPendingTask> TakePendingTasks();
82 base::circular_deque<TestPendingTask> pending_tasks_;
Dtest_mock_time_task_runner.h179 base::circular_deque<TestPendingTask> TakePendingTasks();
259 TestPendingTask* next_task);
/external/libchrome/libchrome_tools/patch/
Dtrace_event.patch96 @@ -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/
Dmock_timer.cc20 for (TestPendingTask& task : task_runner->TakePendingTasks()) in FlushPendingTasks()