blob: b7d349601f47f42a19f672078ad13420f972c5d4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- services/on_device_model/on_device_model_service.h.orig 2024-05-23 20:04:36 UTC
+++ services/on_device_model/on_device_model_service.h
@@ -22,6 +22,10 @@
#include "sandbox/policy/linux/sandbox_linux.h"
#endif
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
+#endif
+
namespace on_device_model {
class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelService
@@ -31,7 +35,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelS
// These are defined separately in pre_sandbox_init.cc for explicit security
// review coverage.
[[nodiscard]] static bool PreSandboxInit();
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
static void AddSandboxLinuxOptions(
sandbox::policy::SandboxLinux::Options& options);
#endif
|