#include "components/user_education/common/new_badge_controller.h"
#include "components/user_education/common/feature_promo_data.h"
#include "components/user_education/common/feature_promo_storage_service.h"
#include "components/user_education/common/user_education_features.h"
#include "ui/base/models/simple_menu_model.h"
namespace user_education {
bool NewBadgeController::disable_new_badges_ = …;
NewBadgeController::NewBadgeController(
NewBadgeRegistry& registry,
FeaturePromoStorageService& storage_service,
std::unique_ptr<NewBadgePolicy> policy)
: … { … }
void NewBadgeController::InitData() { … }
NewBadgeController::~NewBadgeController() = default;
DisplayNewBadge NewBadgeController::MaybeShowNewBadge(
const base::Feature& feature) { … }
void NewBadgeController::NotifyFeatureUsed(const base::Feature& feature) { … }
void NewBadgeController::NotifyFeatureUsedIfValid(
const base::Feature& feature) { … }
void NewBadgeController::NotifyFeatureUsedImpl(const base::Feature& feature,
bool allow_not_registered) { … }
bool NewBadgeController::CheckPrerequisites(const base::Feature& feature,
bool allow_not_registered) const { … }
NewBadgeController::TestLock NewBadgeController::DisableNewBadgesForTesting() { … }
}