diff options
Diffstat (limited to 'chrome/browser/sandbox_policy.h')
-rw-r--r-- | chrome/browser/sandbox_policy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/sandbox_policy.h b/chrome/browser/sandbox_policy.h index cc9b538..664f279 100644 --- a/chrome/browser/sandbox_policy.h +++ b/chrome/browser/sandbox_policy.h @@ -6,6 +6,7 @@ #define CHROME_BROWSER_SANDBOX_POLICY_H_ #include "base/process.h" +#include "base/file_path.h" class CommandLine; @@ -14,6 +15,11 @@ namespace sandbox { // Starts a sandboxed process and returns a handle to it. base::ProcessHandle StartProcess(CommandLine* cmd_line); +// Starts a sandboxed process with the given directory unsandboxed +// and returns a handle to it. +base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line, + const FilePath& exposed_dir); + } // namespace sandbox; #endif // CHROME_BROWSER_SANDBOX_POLICY_H_ |