| Index: content/public/common/sandbox_init.h
|
| ===================================================================
|
| --- content/public/common/sandbox_init.h (revision 140351)
|
| +++ content/public/common/sandbox_init.h (working copy)
|
| @@ -11,13 +11,12 @@
|
| #include "content/common/content_export.h"
|
| #include "ipc/ipc_platform_file.h"
|
|
|
| -#if defined(OS_WIN)
|
| +class CommandLine;
|
| +class FilePath;
|
| +
|
| namespace sandbox {
|
| struct SandboxInterfaceInfo;
|
| }
|
| -#elif defined(OS_MACOSX)
|
| -class FilePath;
|
| -#endif
|
|
|
| namespace content {
|
|
|
| @@ -52,6 +51,12 @@
|
| // false otherwise.
|
| CONTENT_EXPORT bool BrokerAddTargetPeer(HANDLE peer_process);
|
|
|
| +// Starts a sandboxed process with the given directory unsandboxed
|
| +// and returns a handle to it.
|
| +CONTENT_EXPORT base::ProcessHandle StartProcessWithAccess(
|
| + CommandLine* cmd_line,
|
| + const FilePath& exposed_dir);
|
| +
|
| #elif defined(OS_MACOSX)
|
|
|
| // Initialize the sandbox of the given |sandbox_type|, optionally specifying a
|
|
|