#include "components/user_education/common/user_education_features.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "base/time/time.h"
namespace user_education::features {
namespace {
inline constexpr char kMinimumValidSessionLengthParamName[] = …;
inline constexpr base::TimeDelta kDefaultMinimumValidSessionLength = …;
inline constexpr char kIdleTimeBetweenSessionsParamName[] = …;
inline constexpr base::TimeDelta kDefaultIdleTimeBetweenSessions = …;
inline constexpr char kSessionStartGracePeriodParamName[] = …;
inline constexpr base::TimeDelta kDefaultSessionStartGracePeriod = …;
inline constexpr char kNewProfileGracePeriodParamName[] = …;
inline constexpr base::TimeDelta kDefaultNewProfileGracePeriod = …;
inline constexpr char kLowPriorityCooldownParamName[] = …;
inline constexpr base::TimeDelta kDefaultLowPriorityCooldown = …;
inline constexpr char kSnoozeDurationParamName[] = …;
inline constexpr base::TimeDelta kDefaultSnoozeDuration = …;
inline constexpr char kAbortCooldownParamName[] = …;
inline constexpr base::TimeDelta kDefaultAbortCooldown = …;
inline constexpr char kMaxSnoozeCountParamName[] = …;
inline constexpr int kDefaultMaxSnoozeCount = …;
inline constexpr char kMaxPromoShowCount[] = …;
inline constexpr int kDefaultMaxPromoShowCount = …;
inline constexpr char kNewBadgeShowCount[] = …;
inline constexpr int kDefaultNewBadgeShowCount = …;
inline constexpr char kNewBadgeFeatureUsedCount[] = …;
inline constexpr int kDefaultNewBadgeFeatureUsedCount = …;
inline constexpr char kNewBadgeDisplayWindow[] = …;
inline constexpr base::TimeDelta kDefaultNewBadgeDisplayWindow = …;
}
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
bool IsUserEducationV2() { … }
bool IsWhatsNewV2() { … }
bool IsRateLimitingDisabled() { … }
base::TimeDelta GetMinimumValidSessionLength() { … }
base::TimeDelta GetIdleTimeBetweenSessions() { … }
base::TimeDelta GetSessionStartGracePeriod() { … }
base::TimeDelta GetLowPriorityCooldown() { … }
base::TimeDelta GetNewProfileGracePeriod() { … }
base::TimeDelta GetSnoozeDuration() { … }
base::TimeDelta GetAbortCooldown() { … }
int GetMaxSnoozeCount() { … }
int GetMaxPromoShowCount() { … }
int GetNewBadgeShowCount() { … }
int GetNewBadgeFeatureUsedCount() { … }
base::TimeDelta GetNewBadgeDisplayWindow() { … }
}