1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef COMPONENTS_SCHEDULER_TEST_TEST_ALWAYS_FAIL_TIME_SOURCE_H_
6 #define COMPONENTS_SCHEDULER_TEST_TEST_ALWAYS_FAIL_TIME_SOURCE_H_
8 #include "base/time/tick_clock.h"
12 class TestAlwaysFailTimeSource
: public base::TickClock
{
14 explicit TestAlwaysFailTimeSource();
15 ~TestAlwaysFailTimeSource() override
;
17 base::TimeTicks
NowTicks() override
;
20 DISALLOW_COPY_AND_ASSIGN(TestAlwaysFailTimeSource
);
23 } // namespace scheduler
25 #endif // COMPONENTS_SCHEDULER_TEST_TEST_ALWAYS_FAIL_TIME_SOURCE_H_