// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_REPORTING_UTIL_MOCK_CLOCK_H_ #define COMPONENTS_REPORTING_UTIL_MOCK_CLOCK_H_ #include "base/no_destructor.h" #include "base/synchronization/lock.h" #include "base/time/time.h" #include "base/time/time_override.h" namespace reporting::test { // Mock clock that supplies a mock time and can be advanced for testing // purposes. Only applicable for browser tests where a `TaskEnvironment` is // unavailable. class MockClock { … }; } // namespace reporting::test #endif // COMPONENTS_REPORTING_UTIL_MOCK_CLOCK_H_