Differential D23984 Diff 69308 head/www/chromium/files/patch-chrome_browser_notifications_notification__display__service__impl.cc
Changeset View
Changeset View
Standalone View
Standalone View
head/www/chromium/files/patch-chrome_browser_notifications_notification__display__service__impl.cc
--- chrome/browser/notifications/notification_display_service_impl.cc.orig 2019-10-21 19:06:22 UTC | --- chrome/browser/notifications/notification_display_service_impl.cc.orig 2020-03-03 18:53:51 UTC | ||||
+++ chrome/browser/notifications/notification_display_service_impl.cc | +++ chrome/browser/notifications/notification_display_service_impl.cc | ||||
@@ -33,7 +33,7 @@ | @@ -34,7 +34,7 @@ | ||||
#include "chrome/browser/notifications/notification_platform_bridge_message_center.h" | #include "chrome/browser/notifications/notification_platform_bridge_message_center.h" | ||||
#endif | #endif | ||||
-#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) | -#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) | ||||
+#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_BSD) | +#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_BSD) | ||||
#include "chrome/browser/send_tab_to_self/desktop_notification_handler.h" | #include "chrome/browser/send_tab_to_self/desktop_notification_handler.h" | ||||
#endif | #endif | ||||
@@ -122,7 +122,7 @@ NotificationDisplayServiceImpl::NotificationDisplaySer | @@ -123,7 +123,7 @@ NotificationDisplayServiceImpl::NotificationDisplaySer | ||||
AddNotificationHandler(NotificationHandler::Type::WEB_PERSISTENT, | AddNotificationHandler(NotificationHandler::Type::WEB_PERSISTENT, | ||||
std::make_unique<PersistentNotificationHandler>()); | std::make_unique<PersistentNotificationHandler>()); | ||||
-#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) | -#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) | ||||
+#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_BSD) | +#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || defined(OS_BSD) | ||||
AddNotificationHandler( | AddNotificationHandler( | ||||
NotificationHandler::Type::SEND_TAB_TO_SELF, | NotificationHandler::Type::SEND_TAB_TO_SELF, | ||||
std::make_unique<send_tab_to_self::DesktopNotificationHandler>( | std::make_unique<send_tab_to_self::DesktopNotificationHandler>( |