summaryrefslogtreecommitdiffstats
path: root/content/public/common/sandbox_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/public/common/sandbox_init.h')
-rw-r--r--content/public/common/sandbox_init.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/content/public/common/sandbox_init.h b/content/public/common/sandbox_init.h
index 071facda..cbd8142 100644
--- a/content/public/common/sandbox_init.h
+++ b/content/public/common/sandbox_init.h
@@ -8,6 +8,7 @@
#include "base/files/scoped_file.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/shared_memory.h"
+#include "base/process/launch.h"
#include "base/process/process.h"
#include "base/process/process_handle.h"
#include "build/build_config.h"
@@ -60,10 +61,13 @@ CONTENT_EXPORT bool BrokerDuplicateHandle(HANDLE source_handle,
CONTENT_EXPORT bool BrokerAddTargetPeer(HANDLE peer_process);
// Launch a sandboxed process. |delegate| may be NULL. If |delegate| is non-NULL
-// then it just has to outlive this method call.
+// then it just has to outlive this method call. |handles_to_inherit| is a list
+// of handles for the child process to inherit. The caller retains ownership of
+// the handles.
CONTENT_EXPORT base::Process StartSandboxedProcess(
SandboxedProcessLauncherDelegate* delegate,
- base::CommandLine* cmd_line);
+ base::CommandLine* cmd_line,
+ const base::HandlesToInheritVector& handles_to_inherit);
#elif defined(OS_MACOSX)