| // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #include "base/test/simple_test_tick_clock.h" |
| #include "base/logging.h" |
| SimpleTestTickClock::SimpleTestTickClock() = default; |
| SimpleTestTickClock::~SimpleTestTickClock() = default; |
| TimeTicks SimpleTestTickClock::NowTicks() const { |
| void SimpleTestTickClock::Advance(TimeDelta delta) { |
| DCHECK(delta >= TimeDelta()); |
| void SimpleTestTickClock::SetNowTicks(TimeTicks ticks) { |