Index: content/public/common/sandboxed_process_launcher_delegate.h |
diff --git a/content/public/common/sandboxed_process_launcher_delegate.h b/content/public/common/sandboxed_process_launcher_delegate.h |
index 9dd45ad3f1aa3db07fbe191fb34a0366568fe569..3f634a159f3993059535c886df70bdf834fcb094 100644 |
--- a/content/public/common/sandboxed_process_launcher_delegate.h |
+++ b/content/public/common/sandboxed_process_launcher_delegate.h |
@@ -10,6 +10,10 @@ |
#include "content/common/content_export.h" |
+#if defined(OS_MACOSX) |
+#include "content/public/common/sandbox_type_mac.h" |
+#endif |
+ |
namespace base { |
class FilePath; |
} |
@@ -62,6 +66,12 @@ class CONTENT_EXPORT SandboxedProcessLauncherDelegate { |
// Return the file descriptor for the IPC channel. |
virtual int GetIpcFd() = 0; |
+#if defined(OS_MACOSX) |
+ // Gets the Mac SandboxType to enforce on the process. Return |
+ // SANDBOX_TYPE_INVALID for no sandbox policy. |
+ virtual SandboxType GetSandboxType(); |
+#endif |
+ |
#endif |
}; |