#include "base/timer/mock_timer.h"
#include "base/test/test_simple_task_runner.h"
namespace base {
namespace {
void FlushPendingTasks(TestSimpleTaskRunner* task_runner) { … }
}
MockOneShotTimer::MockOneShotTimer()
: … { … }
MockOneShotTimer::~MockOneShotTimer() = default;
void MockOneShotTimer::SetTaskRunner(
scoped_refptr<SequencedTaskRunner> task_runner) { … }
void MockOneShotTimer::Fire() { … }
void MockOneShotTimer::FireNow() { … }
MockRepeatingTimer::MockRepeatingTimer()
: … { … }
MockRepeatingTimer::~MockRepeatingTimer() = default;
void MockRepeatingTimer::SetTaskRunner(
scoped_refptr<SequencedTaskRunner> task_runner) { … }
void MockRepeatingTimer::Fire() { … }
MockRetainingOneShotTimer::MockRetainingOneShotTimer()
: … { … }
MockRetainingOneShotTimer::~MockRetainingOneShotTimer() = default;
void MockRetainingOneShotTimer::SetTaskRunner(
scoped_refptr<SequencedTaskRunner> task_runner) { … }
void MockRetainingOneShotTimer::Fire() { … }
}