blob: b0c6bb40a7a88935e3d64a804029c9d37149245c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
--- chrome/browser/global_features.h.orig 2025-05-31 17:16:41 UTC
+++ chrome/browser/global_features.h
@@ -14,7 +14,7 @@
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
@@ -58,7 +58,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();
}
@@ -91,7 +91,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
@@ -101,7 +101,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
|