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

Side by Side Diff: content/public/common/sandboxed_process_launcher_delegate.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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
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_PUBLIC_COMMON_SANDBOXED_PROCESS_LAUNCHER_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_SANDBOXED_PROCESS_LAUNCHER_DELEGATE_H_
6 #define CONTENT_PUBLIC_COMMON_SANDBOXED_PROCESS_LAUNCHER_DELEGATE_H_ 6 #define CONTENT_PUBLIC_COMMON_SANDBOXED_PROCESS_LAUNCHER_DELEGATE_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 9
10 #include "base/environment.h" 10 #include "base/environment.h"
11 #include "base/files/scoped_file.h" 11 #include "base/files/scoped_file.h"
12 #include "base/process/process.h" 12 #include "base/process/process.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "content/public/common/sandbox_type.h" 15 #include "content/public/common/sandbox_type.h"
16 #include "content/public/common/zygote_handle.h" 16 #include "content/public/common/zygote_handle.h"
17 17
18 namespace base {
19 class FilePath;
20 }
21
22 namespace sandbox { 18 namespace sandbox {
23 class TargetPolicy; 19 class TargetPolicy;
24 } 20 }
25 21
26 namespace content { 22 namespace content {
27 23
28 // Allows a caller of StartSandboxedProcess or 24 // Allows a caller of StartSandboxedProcess or
29 // BrowserChildProcessHost/ChildProcessLauncher to control the sandbox policy, 25 // BrowserChildProcessHost/ChildProcessLauncher to control the sandbox policy,
30 // i.e. to loosen it if needed. 26 // i.e. to loosen it if needed.
31 // The methods below will be called on the PROCESS_LAUNCHER thread. 27 // The methods below will be called on the PROCESS_LAUNCHER thread.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 #endif 63 #endif
68 64
69 // Returns the SandboxType to enforce on the process, or SANDBOX_TYPE_INVALID 65 // Returns the SandboxType to enforce on the process, or SANDBOX_TYPE_INVALID
70 // for no sandbox policy. 66 // for no sandbox policy.
71 virtual SandboxType GetSandboxType(); 67 virtual SandboxType GetSandboxType();
72 }; 68 };
73 69
74 } // namespace content 70 } // namespace content
75 71
76 #endif // CONTENT_PUBLIC_COMMON_SANDBOXED_PROCESS_LAUNCHER_DELEGATE_H_ 72 #endif // CONTENT_PUBLIC_COMMON_SANDBOXED_PROCESS_LAUNCHER_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/public/common/content_client.h ('k') | content/public/renderer/browser_plugin_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698