#include "chrome/browser/notifications/scheduler/internal/scheduler_config.h"
#include <string>
#include "base/metrics/field_trial_params.h"
#include "base/numerics/clamped_math.h"
#include "base/strings/string_number_conversions.h"
#include "chrome/browser/notifications/scheduler/public/features.h"
namespace notifications {
namespace {
int GetFinchConfigUInt(const std::string& name, int default_value) { … }
}
constexpr int kDefaultMaxDailyShownAllType = …;
constexpr int kDefaultMaxDailyShownPerType = …;
constexpr int kDefaultInitialDailyShownPerType = …;
constexpr int kDefaultDismissCount = …;
constexpr base::TimeDelta kDefaultNotificationExpiration = …;
constexpr base::TimeDelta kDefaultImpressionExpiration = …;
constexpr base::TimeDelta kDefaultSuppressionDuration = …;
constexpr base::TimeDelta kDefaultDismissDuration = …;
constexpr base::TimeDelta kDefaultBackgroundTaskWindowDuration = …;
std::unique_ptr<SchedulerConfig> SchedulerConfig::Create() { … }
std::unique_ptr<SchedulerConfig> SchedulerConfig::CreateFromFinch() { … }
SchedulerConfig::SchedulerConfig()
: … { … }
SchedulerConfig::~SchedulerConfig() = default;
}