#include "chrome/browser/notifications/scheduler/internal/notification_schedule_service_impl.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/notreached.h"
#include "chrome/browser/notifications/scheduler/internal/notification_scheduler.h"
#include "chrome/browser/notifications/scheduler/internal/stats.h"
#include "chrome/browser/notifications/scheduler/public/notification_params.h"
namespace notifications {
NotificationScheduleServiceImpl::NotificationScheduleServiceImpl(
std::unique_ptr<NotificationScheduler> scheduler)
: … { … }
NotificationScheduleServiceImpl::~NotificationScheduleServiceImpl() = default;
void NotificationScheduleServiceImpl::Schedule(
std::unique_ptr<NotificationParams> notification_params) { … }
void NotificationScheduleServiceImpl::DeleteNotifications(
SchedulerClientType type) { … }
void NotificationScheduleServiceImpl::GetClientOverview(
SchedulerClientType type,
ClientOverview::ClientOverviewCallback callback) { … }
NotificationBackgroundTaskScheduler::Handler*
NotificationScheduleServiceImpl::GetBackgroundTaskSchedulerHandler() { … }
UserActionHandler* NotificationScheduleServiceImpl::GetUserActionHandler() { … }
void NotificationScheduleServiceImpl::OnStartTask(
TaskFinishedCallback callback) { … }
void NotificationScheduleServiceImpl::OnStopTask() { … }
void NotificationScheduleServiceImpl::OnUserAction(
const UserActionData& action_data) { … }
void NotificationScheduleServiceImpl::OnInitialized(bool success) { … }
}