// 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 CHROME_BROWSER_UI_WEBUI_PASSWORD_MANAGER_PROMO_CARD_H_ #define CHROME_BROWSER_UI_WEBUI_PASSWORD_MANAGER_PROMO_CARD_H_ #include <string> #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "base/time/time.h" class PrefService; namespace password_manager { // These values are persisted to logs. Entries should not be renumbered and // numeric values should never be reused. Needs to stay in sync with the // PasswordManagerPromoCard enum in enums.xml. enum class PromoCardType { … }; // This is the base class for all password manager promo cards. It has a basic // implementation to read/write to PrefService as well as basic properties // needed for each promo card. Each subclass must override GetPromoID() and the // content to be displayed. class PasswordPromoCardBase { … }; } // namespace password_manager #endif // CHROME_BROWSER_UI_WEBUI_PASSWORD_MANAGER_PROMO_CARD_H_