// 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_USER_EDUCATION_TEST_TEST_FEATURE_PROMO_STORAGE_SERVICE_H_ #define COMPONENTS_USER_EDUCATION_TEST_TEST_FEATURE_PROMO_STORAGE_SERVICE_H_ #include <map> #include <optional> #include "base/feature_list.h" #include "components/user_education/common/feature_promo_data.h" #include "components/user_education/common/feature_promo_storage_service.h" namespace user_education::test { // Version of FeaturePromoStorageService that stores data in an in-memory map // for testing. class TestFeaturePromoStorageService : public FeaturePromoStorageService { … }; } // namespace user_education::test #endif // COMPONENTS_USER_EDUCATION_TEST_TEST_FEATURE_PROMO_STORAGE_SERVICE_H_