#include "chrome/browser/extensions/api/notifications/extension_notification_display_helper.h"
#include "base/ranges/algorithm.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/notifications/notification_display_service.h"
#include "chrome/browser/notifications/notification_display_service_factory.h"
#include "chrome/browser/notifications/notification_handler.h"
#include "ui/message_center/public/cpp/notification.h"
#include "url/gurl.h"
namespace extensions {
ExtensionNotificationDisplayHelper::ExtensionNotificationDisplayHelper(
Profile* profile)
: … { … }
ExtensionNotificationDisplayHelper::~ExtensionNotificationDisplayHelper() { … }
void ExtensionNotificationDisplayHelper::Display(
const message_center::Notification& notification) { … }
message_center::Notification*
ExtensionNotificationDisplayHelper::GetByNotificationId(
const std::string& notification_id) { … }
std::set<std::string>
ExtensionNotificationDisplayHelper::GetNotificationIdsForExtension(
const GURL& extension_origin) const { … }
bool ExtensionNotificationDisplayHelper::EraseDataForNotificationId(
const std::string& notification_id) { … }
bool ExtensionNotificationDisplayHelper::Close(
const std::string& notification_id) { … }
void ExtensionNotificationDisplayHelper::Shutdown() { … }
NotificationDisplayService*
ExtensionNotificationDisplayHelper::GetDisplayService() { … }
}