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

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 debug and clang 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
« no previous file with comments | « content/public/browser/utility_process_host_client.h ('k') | sandbox/win/src/broker_services.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/sandbox_init.h
diff --git a/content/public/common/sandbox_init.h b/content/public/common/sandbox_init.h
index 9841ac44d888ce2decab2959190fc86caefa006a..1b5a5d3af5c184910e9383106f723d5307397977 100644
--- a/content/public/common/sandbox_init.h
+++ b/content/public/common/sandbox_init.h
@@ -25,6 +25,7 @@ namespace bpf_dsl {
class Policy;
}
struct SandboxInterfaceInfo;
+enum ResultCode : int;
}
namespace content {
@@ -46,10 +47,11 @@ CONTENT_EXPORT bool InitializeSandbox(
// 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)
« no previous file with comments | « content/public/browser/utility_process_host_client.h ('k') | sandbox/win/src/broker_services.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698