blob: da6a6ce314cb6b279fea866b518351d494bf4460 [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/notifications/scheduler/internal/noop_notification_schedule_service.h"
#include "chrome/browser/notifications/scheduler/public/notification_params.h"
namespace notifications {
NoopNotificationScheduleService::NoopNotificationScheduleService() = default;
NoopNotificationScheduleService::~NoopNotificationScheduleService() = default;
void NoopNotificationScheduleService::Schedule(
std::unique_ptr<NotificationParams> notification_params) {}
void NoopNotificationScheduleService::DeleteNotifications(
SchedulerClientType type) {}
void NoopNotificationScheduleService::GetImpressionDetail(
SchedulerClientType,
ImpressionDetail::ImpressionDetailCallback callback) {}
NotificationBackgroundTaskScheduler::Handler*
NoopNotificationScheduleService::GetBackgroundTaskSchedulerHandler() {
return this;
}
UserActionHandler* NoopNotificationScheduleService::GetUserActionHandler() {
return this;
}
void NoopNotificationScheduleService::OnStartTask(
TaskFinishedCallback callback) {}
void NoopNotificationScheduleService::OnStopTask() {}
void NoopNotificationScheduleService::OnUserAction(
const UserActionData& action_data) {}
} // namespace notifications