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

Side by Side Diff: content/common/sandbox_policy.h

Issue 7084010: Move sandbox_policy to content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_COMMON_SANDBOX_POLICY_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_POLICY_H_
6 #define CHROME_COMMON_SANDBOX_POLICY_H_ 6 #define CONTENT_COMMON_SANDBOX_POLICY_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/process.h" 9 #include "base/process.h"
10 10
11 class CommandLine; 11 class CommandLine;
12 class FilePath; 12 class FilePath;
13 13
14 namespace sandbox { 14 namespace sandbox {
15 15
16 class BrokerServices; 16 class BrokerServices;
17 17
18 void InitBrokerServices(sandbox::BrokerServices* broker_services); 18 void InitBrokerServices(sandbox::BrokerServices* broker_services);
19 19
20 // Starts a sandboxed process with the given directory unsandboxed 20 // Starts a sandboxed process with the given directory unsandboxed
21 // and returns a handle to it. 21 // and returns a handle to it.
22 base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line, 22 base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
23 const FilePath& exposed_dir); 23 const FilePath& exposed_dir);
24 24
25 } // namespace sandbox 25 } // namespace sandbox
26 26
27 #endif // CHROME_COMMON_SANDBOX_POLICY_H_ 27 #endif // CONTENT_COMMON_SANDBOX_POLICY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698