Index: sandbox/win/src/sandbox.h |
diff --git a/sandbox/win/src/sandbox.h b/sandbox/win/src/sandbox.h |
index fd9cd66b1a783a06601acd26103c62da04ca476b..029868d4a7f948f9e94ace8b7d48319b85526635 100644 |
--- a/sandbox/win/src/sandbox.h |
+++ b/sandbox/win/src/sandbox.h |
@@ -67,6 +67,11 @@ class BrokerServices { |
// process. This can be null if the exe_path parameter is not null. |
// policy: This is the pointer to the policy object for the sandbox to |
// be created. |
+ // last_warning: The argument will contain an indication on whether |
+ // the process security was initialized completely, Only set if the |
+ // process can be used without a serious compromise in security. |
+ // last_error: If an error or warning is returned from this method this |
+ // parameter will hold the last Win32 error value. |
// target: returns the resulting target process information such as process |
// handle and PID just as if CreateProcess() had been called. The caller is |
// responsible for closing the handles returned in this structure. |
@@ -75,6 +80,8 @@ class BrokerServices { |
virtual ResultCode SpawnTarget(const wchar_t* exe_path, |
const wchar_t* command_line, |
TargetPolicy* policy, |
+ ResultCode* last_warning, |
+ DWORD* last_error, |
PROCESS_INFORMATION* target) = 0; |
// This call blocks (waits) for all the targets to terminate. |