#include "chrome/browser/new_tab_page/feature_promo_helper/new_tab_page_feature_promo_helper.h"
#include "build/build_config.h"
#include "chrome/browser/feature_engagement/tracker_factory.h"
#include "chrome/browser/ui/views/user_education/browser_user_education_service.h"
#include "chrome/browser/user_education/user_education_service.h"
#include "chrome/browser/user_education/user_education_service_factory.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "chrome/test/base/test_browser_window.h"
#include "components/feature_engagement/public/event_constants.h"
#include "components/feature_engagement/public/feature_constants.h"
#include "components/feature_engagement/test/mock_tracker.h"
#include "components/feature_engagement/test/scoped_iph_feature_list.h"
#include "components/user_education/common/feature_promo_controller.h"
#include "components/user_education/test/mock_feature_promo_controller.h"
#include "testing/gmock/include/gmock/gmock.h"
class NewTabPageFeaturePromoHelperTest : public BrowserWithTestWindowTest { … };
#if !BUILDFLAG(CHROME_FOR_TESTING)
TEST_F(NewTabPageFeaturePromoHelperTest, RecordFeatureUsage_CustomizeChrome) { … }
#endif
TEST_F(NewTabPageFeaturePromoHelperTest,
MaybeShowFeaturePromo_CustomizeChrome) { … }
TEST_F(NewTabPageFeaturePromoHelperTest,
MaybeShowFeaturePromo_NonGoogle_CustomizeChrome) { … }
TEST_F(NewTabPageFeaturePromoHelperTest, CloseFeaturePromo_CustomizeChrome) { … }