aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-sandbox_policy_sandbox.h
blob: b554e59e6cc15f021451da58bc42567a043f20f3 (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
--- sandbox/policy/sandbox.h.orig	2021-07-15 19:13:43 UTC
+++ sandbox/policy/sandbox.h
@@ -9,6 +9,10 @@
 #include "sandbox/policy/export.h"
 #include "sandbox/policy/sandbox_type.h"
 
+#if defined(OS_FREEBSD)
+#include "sandbox/policy/freebsd/sandbox_freebsd.h"
+#endif
+
 #if defined(OS_LINUX) || defined(OS_CHROMEOS)
 #include "sandbox/policy/linux/sandbox_linux.h"
 #endif
@@ -30,6 +34,10 @@ namespace policy {
 
 class SANDBOX_POLICY_EXPORT Sandbox {
  public:
+#if defined(OS_FREEBSD)
+  static bool Initialize(SandboxType sandbox_type);
+#endif  // defined(OS_FREEBSD)
+
 #if defined(OS_LINUX) || defined(OS_CHROMEOS)
   static bool Initialize(SandboxType sandbox_type,
                          SandboxLinux::PreSandboxHook hook,