Searched refs:test_clock_ (Results 1 – 4 of 4) sorted by relevance
21 FakeTaskRunner::FakeTaskRunner() : test_clock_{new TestClock} {} in FakeTaskRunner()30 test_clock_->SetNow(std::max(test_clock_->Now(), top.first.first)); in RunOnce()46 return test_clock_.get(); in GetClock()52 queue_.emplace(std::make_pair(test_clock_->Now() + delay, ++counter_), task); in PostDelayedTask()
13 : test_clock_(clock) { in FakeMessageLoop()23 if (test_clock_) in PostDelayedTask()24 current_time_ = test_clock_->Now(); in PostDelayedTask()59 if (test_clock_) in RunOnce()60 current_time_ = test_clock_->Now(); in RunOnce()105 if (test_clock_) in RunOnce()106 test_clock_->SetNow(current_time_); in RunOnce()
89 base::SimpleTestClock* test_clock_ = nullptr; variable
53 std::unique_ptr<TestClock> test_clock_; variable