chromium/base/timer/mock_timer.cc

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/timer/mock_timer.h"

#include "base/test/test_simple_task_runner.h"

namespace base {

namespace {

void FlushPendingTasks(TestSimpleTaskRunner* task_runner) {}

}  // namespace

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() {}

}  // namespace base