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

Side by Side Diff: content/browser/child_process_launcher_posix.h

Issue 2594203004: Unifying ChildProcessLauncher across platforms. (Closed)
Patch Set: Addressed boliu@'s comments Created 3 years, 11 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
OLDNEW
(Empty)
1 // Copyright 2016 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_POSIX_H_
6 #define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_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 std::unique_ptr<FileDescriptorInfo> CreateDefaultPosixFilesToMap(
28 const base::CommandLine& command_line,
29 int child_process_id,
30 const mojo::edk::PlatformHandle& mojo_client_handle);
31
32 } // namespace content
33
34 #endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_POSIX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698