Searched refs:OneShotTimer (Results 1 – 6 of 6) sorted by relevance
239 class BASE_EXPORT OneShotTimer : public Timer {241 OneShotTimer() : OneShotTimer(nullptr) {} in OneShotTimer() function242 explicit OneShotTimer(const TickClock* tick_clock) in OneShotTimer() function
27 : OneShotTimer(&clock_), in MockOneShotTimer()29 OneShotTimer::SetTaskRunner(test_task_runner_); in MockOneShotTimer()
87 std::unique_ptr<OneShotTimer> timer_ = std::make_unique<OneShotTimer>();348 OneShotTimer timers[20]; in RunTest_DelayTimer_Reset()441 OneShotTimer timer(task_runner->GetMockTickClock()); in TEST()579 OneShotTimer timer_;744 void CreateTimer() { timer_.reset(new OneShotTimer); } in CreateTimer()780 std::unique_ptr<OneShotTimer> timer_;
19 class MockOneShotTimer : public OneShotTimer {
268 void OneShotTimer::FireNow() { in FireNow()
139 OneShotTimer timer_;