blob: 1ea35b78048454fe665e74f8c728fd167e488681 (
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 2025-01-27 17:37:37 UTC
+++ services/on_device_model/on_device_model_service.h
@@ -31,6 +31,10 @@ class TsHolder;
class TsHolder;
}
+#if BUILDFLAG(IS_BSD)
+#include "sandbox/policy/sandbox.h"
+#endif
+
namespace on_device_model {
class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelService
@@ -44,7 +48,7 @@ class COMPONENT_EXPORT(ON_DEVICE_MODEL) OnDeviceModelS
// Must be called in the service's process after the run loop finished.
[[nodiscard]] static bool Shutdown();
-#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
|