Index: content/public/common/sandbox_init.h |
diff --git a/content/public/common/sandbox_init.h b/content/public/common/sandbox_init.h |
index 4c44ed5ca8b79b578b74c4e499f7b4e05a637baf..802baaf82921f88601f440d9c81077e614ce6e91 100644 |
--- a/content/public/common/sandbox_init.h |
+++ b/content/public/common/sandbox_init.h |
@@ -15,6 +15,10 @@ |
#include "build/build_config.h" |
#include "content/common/content_export.h" |
+#if defined(OS_WIN) |
+#include "sandbox/win/src/sandbox_types.h" |
+#endif |
+ |
namespace base { |
class CommandLine; |
class FilePath; |
@@ -55,10 +59,11 @@ CONTENT_EXPORT bool BrokerAddTargetPeer(HANDLE peer_process); |
// 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( |
+CONTENT_EXPORT sandbox::ResultCode StartSandboxedProcess( |
SandboxedProcessLauncherDelegate* delegate, |
base::CommandLine* cmd_line, |
- const base::HandlesToInheritVector& handles_to_inherit); |
+ const base::HandlesToInheritVector& handles_to_inherit, |
+ base::Process* process); |
#elif defined(OS_MACOSX) |