aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-chrome_browser_global__features.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-chrome_browser_global__features.h')
-rw-r--r--devel/electron37/files/patch-chrome_browser_global__features.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-chrome_browser_global__features.h b/devel/electron37/files/patch-chrome_browser_global__features.h
new file mode 100644
index 000000000000..256f9c9a1f46
--- /dev/null
+++ b/devel/electron37/files/patch-chrome_browser_global__features.h
@@ -0,0 +1,38 @@
+--- chrome/browser/global_features.h.orig 2025-06-30 07:04:30 UTC
++++ chrome/browser/global_features.h
+@@ -15,7 +15,7 @@ class PlatformHandle;
+ namespace system_permission_settings {
+ class PlatformHandle;
+ } // namespace system_permission_settings
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ namespace whats_new {
+ class WhatsNewRegistry;
+ } // namespace whats_new
+@@ -63,7 +63,7 @@ class GlobalFeatures {
+ system_permissions_platform_handle() {
+ return system_permissions_platform_handle_.get();
+ }
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ whats_new::WhatsNewRegistry* whats_new_registry() {
+ return whats_new_registry_.get();
+ }
+@@ -103,7 +103,7 @@ class GlobalFeatures {
+
+ virtual std::unique_ptr<system_permission_settings::PlatformHandle>
+ CreateSystemPermissionsPlatformHandle();
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ virtual std::unique_ptr<whats_new::WhatsNewRegistry> CreateWhatsNewRegistry();
+ #endif
+
+@@ -113,7 +113,7 @@ class GlobalFeatures {
+
+ std::unique_ptr<system_permission_settings::PlatformHandle>
+ system_permissions_platform_handle_;
+-#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::unique_ptr<whats_new::WhatsNewRegistry> whats_new_registry_;
+ #endif
+