blob: 270f06febc1d83457787ac16ec51d14d960124e2 [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// 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/webui_client.h"
#include <utility>
#include "base/notreached.h"
namespace notifications {
WebUIClient::WebUIClient() = default;
WebUIClient::~WebUIClient() = default;
void WebUIClient::BeforeShowNotification(
std::unique_ptr<NotificationData> notification_data,
NotificationDataCallback callback) {
std::move(callback).Run(std::move(notification_data));
}
void WebUIClient::OnSchedulerInitialized(bool success,
std::set<std::string> guids) {
NOTIMPLEMENTED();
}
void WebUIClient::OnUserAction(const UserActionData& action_data) {
NOTIMPLEMENTED();
}
void WebUIClient::GetThrottleConfig(ThrottleConfigCallback callback) {
std::move(callback).Run(nullptr);
}
} // namespace notifications