diff options
Diffstat (limited to 'devel/electron12/files/patch-chrome_browser_notifications_notification__display__service__impl.cc')
-rw-r--r-- | devel/electron12/files/patch-chrome_browser_notifications_notification__display__service__impl.cc | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron12/files/patch-chrome_browser_notifications_notification__display__service__impl.cc b/devel/electron12/files/patch-chrome_browser_notifications_notification__display__service__impl.cc deleted file mode 100644 index 0c3fef6ccaa2..000000000000 --- a/devel/electron12/files/patch-chrome_browser_notifications_notification__display__service__impl.cc +++ /dev/null @@ -1,29 +0,0 @@ ---- chrome/browser/notifications/notification_display_service_impl.cc.orig 2021-04-14 01:08:40 UTC -+++ chrome/browser/notifications/notification_display_service_impl.cc -@@ -30,7 +30,7 @@ - #include "chrome/browser/extensions/api/notifications/extension_notification_handler.h" - #endif - --#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || \ -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || defined(OS_BSD) || \ - defined(OS_WIN) - #include "chrome/browser/send_tab_to_self/desktop_notification_handler.h" - #include "chrome/browser/sharing/sharing_notification_handler.h" -@@ -66,7 +66,7 @@ void NotificationDisplayServiceImpl::RegisterProfilePr - user_prefs::PrefRegistrySyncable* registry) { - // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch - // of lacros-chrome is complete. --#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) -+#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD) - registry->RegisterBooleanPref(prefs::kAllowNativeNotifications, true); - #endif - } -@@ -81,7 +81,7 @@ NotificationDisplayServiceImpl::NotificationDisplaySer - AddNotificationHandler(NotificationHandler::Type::WEB_PERSISTENT, - std::make_unique<PersistentNotificationHandler>()); - --#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || \ -+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || defined(OS_BSD) || \ - defined(OS_WIN) - AddNotificationHandler( - NotificationHandler::Type::SEND_TAB_TO_SELF, |