// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_NOTIFICATIONS_SCHEDULER_TEST_FAKE_CLOCK_H_ #define CHROME_BROWSER_NOTIFICATIONS_SCHEDULER_TEST_FAKE_CLOCK_H_ #include "base/time/clock.h" #include "base/time/time.h" namespace notifications { namespace test { // Clock to mock Clock::Now() to get a fixed time in the test. class FakeClock : public base::Clock { … }; } // namespace test } // namespace notifications #endif // CHROME_BROWSER_NOTIFICATIONS_SCHEDULER_TEST_FAKE_CLOCK_H_