diff options
Diffstat (limited to 'chromium/components/scheduler/base/test_time_source.h')
-rw-r--r-- | chromium/components/scheduler/base/test_time_source.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/chromium/components/scheduler/base/test_time_source.h b/chromium/components/scheduler/base/test_time_source.h deleted file mode 100644 index 9ff57f0202e..00000000000 --- a/chromium/components/scheduler/base/test_time_source.h +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2015 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. - -#ifndef COMPONENTS_SCHEDULER_BASE_TEST_TIME_SOURCE_H_ -#define COMPONENTS_SCHEDULER_BASE_TEST_TIME_SOURCE_H_ - -#include "base/macros.h" -#include "base/memory/ref_counted.h" -#include "base/test/simple_test_tick_clock.h" -#include "base/time/tick_clock.h" - -namespace scheduler { - -class TestTimeSource : public base::TickClock { - public: - explicit TestTimeSource(base::SimpleTestTickClock* time_source); - ~TestTimeSource() override; - - base::TimeTicks NowTicks() override; - - private: - // Not owned. - base::SimpleTestTickClock* time_source_; - - DISALLOW_COPY_AND_ASSIGN(TestTimeSource); -}; - -} // namespace scheduler - -#endif // COMPONENTS_SCHEDULER_BASE_TEST_TIME_SOURCE_H_ |