#include "chrome/browser/user_education/user_education_service.h"
#include <memory>
#include "base/check.h"
#include "base/feature_list.h"
#include "chrome/browser/feature_engagement/tracker_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/user_education/recent_session_tracker.h"
#include "chrome/browser/user_education/user_education_service_factory.h"
#include "components/feature_engagement/public/tracker.h"
#include "components/user_education/common/feature_promo_registry.h"
#include "components/user_education/common/feature_promo_session_policy.h"
#include "components/user_education/common/feature_promo_storage_service.h"
#include "components/user_education/common/new_badge_controller.h"
#include "components/user_education/common/new_badge_policy.h"
#include "components/user_education/common/user_education_features.h"
BASE_FEATURE(…);
UserEducationService::UserEducationService(
std::unique_ptr<BrowserFeaturePromoStorageService> storage_service,
bool allows_promos)
: … { … }
user_education::DisplayNewBadge UserEducationService::MaybeShowNewBadge(
content::BrowserContext* context,
const base::Feature& feature) { … }
void UserEducationService::MaybeNotifyPromoFeatureUsed(
content::BrowserContext* context,
const base::Feature& feature) { … }
UserEducationService::~UserEducationService() = default;