#include "chrome/browser/notifications/scheduler/internal/scheduled_notification_manager.h"
#include <algorithm>
#include <map>
#include <unordered_set>
#include <utility>
#include <vector>
#include "base/containers/contains.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/raw_ref.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/notifications/scheduler/internal/icon_store.h"
#include "chrome/browser/notifications/scheduler/internal/notification_entry.h"
#include "chrome/browser/notifications/scheduler/internal/scheduler_config.h"
#include "chrome/browser/notifications/scheduler/internal/scheduler_utils.h"
#include "chrome/browser/notifications/scheduler/internal/stats.h"
#include "chrome/browser/notifications/scheduler/public/notification_params.h"
#include "chrome/browser/notifications/scheduler/public/notification_scheduler_constant.h"
#include "chrome/grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
namespace notifications {
namespace {
bool CreateTimeCompare(const NotificationEntry* lhs,
const NotificationEntry* rhs) { … }
bool ValidateNotificationEntry(const NotificationEntry& entry) { … }
class ScheduledNotificationManagerImpl : public ScheduledNotificationManager { … };
}
std::unique_ptr<ScheduledNotificationManager>
ScheduledNotificationManager::Create(
std::unique_ptr<CollectionStore<NotificationEntry>> notification_store,
std::unique_ptr<IconStore> icon_store,
const std::vector<SchedulerClientType>& clients,
const SchedulerConfig& config) { … }
ScheduledNotificationManager::ScheduledNotificationManager() = default;
ScheduledNotificationManager::~ScheduledNotificationManager() = default;
}