Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: content/public/common/sandbox_init.h

Issue 1923653002: Wire up process launch error codes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698