From 1fca149ca717c64ae05edb534a61a909dc0a6d11 Mon Sep 17 00:00:00 2001 From: "mpcomplete@google.com" Date: Fri, 15 May 2009 22:23:43 +0000 Subject: Introducing the Utility process, which handles the unpacking and verification of extension packages. This is a first pass. In the second pass, I will add support for transcoding the manifest and any images in the browser process. BUG=11680 Review URL: http://codereview.chromium.org/114027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16198 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/sandbox_policy.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/browser/sandbox_policy.h') 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_ -- cgit v1.1