| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_HELPER_POSIX_H_ |
| 6 #define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_HELPER_POSIX_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 namespace base { |
| 11 class CommandLine; |
| 12 } // namespace base |
| 13 |
| 14 namespace mojo { |
| 15 namespace edk { |
| 16 struct PlatformHandle; |
| 17 } // namespace mojo |
| 18 } // namespace edk |
| 19 |
| 20 // Contains the common functionalities between the various POSIX child process |
| 21 // launcher implementations. |
| 22 |
| 23 namespace content { |
| 24 |
| 25 class FileDescriptorInfo; |
| 26 |
| 27 namespace internal { |
| 28 |
| 29 std::unique_ptr<FileDescriptorInfo> CreateDefaultPosixFilesToMap( |
| 30 const base::CommandLine& command_line, |
| 31 int child_process_id, |
| 32 const mojo::edk::PlatformHandle& mojo_client_handle); |
| 33 |
| 34 } // namespace internal |
| 35 |
| 36 } // namespace content |
| 37 |
| 38 #endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_HELPER_POSIX_H_ |
| OLD | NEW |