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

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

Issue 10696166: Remove #pragma once from content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
« no previous file with comments | « content/common/sandbox_methods_linux.h ('k') | content/common/savable_url_schemes.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_COMMON_SANDBOX_POLICY_H_ 5 #ifndef CONTENT_COMMON_SANDBOX_POLICY_H_
6 #define CONTENT_COMMON_SANDBOX_POLICY_H_ 6 #define CONTENT_COMMON_SANDBOX_POLICY_H_
7 #pragma once
8 7
9 #include "base/process.h" 8 #include "base/process.h"
10 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
11 10
12 class CommandLine; 11 class CommandLine;
13 class FilePath; 12 class FilePath;
14 13
15 namespace sandbox { 14 namespace sandbox {
16 15
17 class BrokerServices; 16 class BrokerServices;
18 class TargetServices; 17 class TargetServices;
19 18
20 bool InitBrokerServices(sandbox::BrokerServices* broker_services); 19 bool InitBrokerServices(sandbox::BrokerServices* broker_services);
21 20
22 bool InitTargetServices(sandbox::TargetServices* target_services); 21 bool InitTargetServices(sandbox::TargetServices* target_services);
23 22
24 // Starts a sandboxed process with the given directory unsandboxed 23 // Starts a sandboxed process with the given directory unsandboxed
25 // and returns a handle to it. 24 // and returns a handle to it.
26 base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line, 25 base::ProcessHandle StartProcessWithAccess(CommandLine* cmd_line,
27 const FilePath& exposed_dir); 26 const FilePath& exposed_dir);
28 27
29 } // namespace sandbox 28 } // namespace sandbox
30 29
31 #endif // CONTENT_COMMON_SANDBOX_POLICY_H_ 30 #endif // CONTENT_COMMON_SANDBOX_POLICY_H_
OLDNEW
« no previous file with comments | « content/common/sandbox_methods_linux.h ('k') | content/common/savable_url_schemes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698