Searched refs:TestSimpleTaskRunner (Results 1 – 8 of 8) sorted by relevance
15 TestSimpleTaskRunner::TestSimpleTaskRunner() = default;17 TestSimpleTaskRunner::~TestSimpleTaskRunner() = default;19 bool TestSimpleTaskRunner::PostDelayedTask(const Location& from_here, in PostDelayedTask()29 bool TestSimpleTaskRunner::PostNonNestableDelayedTask(const Location& from_here, in PostNonNestableDelayedTask()42 bool TestSimpleTaskRunner::RunsTasksInCurrentSequence() const { in RunsTasksInCurrentSequence()46 base::circular_deque<TestPendingTask> TestSimpleTaskRunner::TakePendingTasks() { in TakePendingTasks()51 size_t TestSimpleTaskRunner::NumPendingTasks() const { in NumPendingTasks()56 bool TestSimpleTaskRunner::HasPendingTask() const { in HasPendingTask()61 base::TimeDelta TestSimpleTaskRunner::NextPendingTaskDelay() const { in NextPendingTaskDelay()66 base::TimeDelta TestSimpleTaskRunner::FinalPendingTaskDelay() const { in FinalPendingTaskDelay()[all …]
40 class TestSimpleTaskRunner : public SingleThreadTaskRunner {42 TestSimpleTaskRunner();73 ~TestSimpleTaskRunner() override;84 DISALLOW_COPY_AND_ASSIGN(TestSimpleTaskRunner);
109 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()110 new TestSimpleTaskRunner()); in TEST_F()127 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()128 new TestSimpleTaskRunner()); in TEST_F()146 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()147 new TestSimpleTaskRunner()); in TEST_F()213 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()214 new TestSimpleTaskRunner()); in TEST_F()242 scoped_refptr<TestSimpleTaskRunner> test_task_runner( in TEST_F()243 new TestSimpleTaskRunner()); in TEST_F()[all …]
13 class TestSimpleTaskRunner; variable33 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;52 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;71 scoped_refptr<TestSimpleTaskRunner> test_task_runner_;
13 void FlushPendingTasks(TestSimpleTaskRunner* task_runner) { in FlushPendingTasks()28 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockOneShotTimer()47 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRepeatingTimer()66 test_task_runner_(MakeRefCounted<TestSimpleTaskRunner>()) { in MockRetainingOneShotTimer()
66 MakeRefCounted<TestSimpleTaskRunner>()); in ExpectNotCalledOnValidThreadWithSequenceTokenAndThreadTaskRunnerHandle()82 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()133 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()150 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()183 MakeRefCounted<TestSimpleTaskRunner>()); in TEST()
2134 scoped_refptr<SingleThreadTaskRunner> new_runner(new TestSimpleTaskRunner()); in TEST_P()2143 scoped_refptr<SingleThreadTaskRunner> new_runner(new TestSimpleTaskRunner()); in TEST_P()
3114 MakeRefCounted<TestSimpleTaskRunner>(); in TEST_P()