#include "components/feature_engagement/internal/once_condition_validator.h"
#include <optional>
#include "components/feature_engagement/internal/event_model.h"
#include "components/feature_engagement/internal/time_provider.h"
#include "components/feature_engagement/public/configuration.h"
namespace feature_engagement {
OnceConditionValidator::OnceConditionValidator() = default;
OnceConditionValidator::~OnceConditionValidator() = default;
ConditionValidator::Result OnceConditionValidator::MeetsConditions(
const base::Feature& feature,
const FeatureConfig& config,
const std::vector<GroupConfig>& group_configs,
const EventModel& event_model,
const AvailabilityModel& availability_model,
const DisplayLockController& display_lock_controller,
const Configuration* configuration,
const TimeProvider& time_provider) const { … }
void OnceConditionValidator::NotifyIsShowing(
const base::Feature& feature,
const FeatureConfig& config,
const std::vector<std::string>& all_feature_names) { … }
void OnceConditionValidator::NotifyDismissed(const base::Feature& feature) { … }
void OnceConditionValidator::SetPriorityNotification(
const std::optional<std::string>& feature) { … }
std::optional<std::string>
OnceConditionValidator::GetPendingPriorityNotification() { … }
void OnceConditionValidator::AllowMultipleFeaturesForTesting(
bool allows_multiple_features) { … }
void OnceConditionValidator::ResetSession() { … }
}