Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / components / scheduler / test / test_always_fail_time_source.h
blob4f1ac4ef13ce15a2760ee6fc30df3d895bb417e7
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"
10 namespace scheduler {
12 class TestAlwaysFailTimeSource : public base::TickClock {
13 public:
14 explicit TestAlwaysFailTimeSource();
15 ~TestAlwaysFailTimeSource() override;
17 base::TimeTicks NowTicks() override;
19 private:
20 DISALLOW_COPY_AND_ASSIGN(TestAlwaysFailTimeSource);
23 } // namespace scheduler
25 #endif // COMPONENTS_SCHEDULER_TEST_TEST_ALWAYS_FAIL_TIME_SOURCE_H_