// 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_OPTIMIZATION_GUIDE_CORE_TEST_OPTIMIZATION_GUIDE_DECIDER_H_ #define COMPONENTS_OPTIMIZATION_GUIDE_CORE_TEST_OPTIMIZATION_GUIDE_DECIDER_H_ #include "base/functional/callback.h" #include "components/optimization_guide/core/optimization_guide_decider.h" #include "components/optimization_guide/proto/hints.pb.h" namespace optimization_guide { // Meant to be used in unit tests for services that use the decider. class TestOptimizationGuideDecider : public OptimizationGuideDecider { … }; } // namespace optimization_guide #endif // COMPONENTS_OPTIMIZATION_GUIDE_CORE_TEST_OPTIMIZATION_GUIDE_DECIDER_H_