OLD | NEW |
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_SANDBOX_INIT_H_ | 5 #ifndef CONTENT_PUBLIC_COMMON_SANDBOX_INIT_H_ |
6 #define CONTENT_PUBLIC_COMMON_SANDBOX_INIT_H_ | 6 #define CONTENT_PUBLIC_COMMON_SANDBOX_INIT_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/process.h" | 8 #include "base/process.h" |
10 #include "build/build_config.h" | 9 #include "build/build_config.h" |
11 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
12 #include "ipc/ipc_platform_file.h" | 11 #include "ipc/ipc_platform_file.h" |
13 | 12 |
14 class CommandLine; | 13 class CommandLine; |
15 class FilePath; | 14 class FilePath; |
16 | 15 |
17 namespace sandbox { | 16 namespace sandbox { |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 // DUPLICATE_SAME_ACCESS flag. On posix it behaves essentially the same as | 86 // DUPLICATE_SAME_ACCESS flag. On posix it behaves essentially the same as |
88 // IPC::GetFileHandleForProcess() | 87 // IPC::GetFileHandleForProcess() |
89 CONTENT_EXPORT IPC::PlatformFileForTransit BrokerGetFileHandleForProcess( | 88 CONTENT_EXPORT IPC::PlatformFileForTransit BrokerGetFileHandleForProcess( |
90 base::PlatformFile handle, | 89 base::PlatformFile handle, |
91 base::ProcessId target_process_id, | 90 base::ProcessId target_process_id, |
92 bool should_close_source); | 91 bool should_close_source); |
93 | 92 |
94 } // namespace content | 93 } // namespace content |
95 | 94 |
96 #endif // CONTENT_PUBLIC_COMMON_SANDBOX_INIT_H_ | 95 #endif // CONTENT_PUBLIC_COMMON_SANDBOX_INIT_H_ |
OLD | NEW |