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

Unified Diff: content/browser/child_process_launcher_helper_posix.h

Issue 2594203004: Unifying ChildProcessLauncher across platforms. (Closed)
Patch Set: Clean-up. 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/child_process_launcher_helper_posix.h
diff --git a/content/browser/child_process_launcher_helper_posix.h b/content/browser/child_process_launcher_helper_posix.h
new file mode 100644
index 0000000000000000000000000000000000000000..3b7a2aeb4dcabc273907fd38d5d9134eaea61980
--- /dev/null
+++ b/content/browser/child_process_launcher_helper_posix.h
@@ -0,0 +1,38 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_HELPER_POSIX_H_
+#define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_HELPER_POSIX_H_
+
+#include <memory>
+
+namespace base {
+class CommandLine;
+} // namespace base
+
+namespace mojo {
+namespace edk {
+struct PlatformHandle;
+} // namespace mojo
+} // namespace edk
+
+// Contains the common functionalities between the various POSIX child process
+// launcher implementations.
+
+namespace content {
+
+class FileDescriptorInfo;
+
+namespace internal {
+
+std::unique_ptr<FileDescriptorInfo> CreateDefaultPosixFilesToMap(
+ const base::CommandLine& command_line,
+ int child_process_id,
+ const mojo::edk::PlatformHandle& mojo_client_handle);
+
+} // namespace internal
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_HELPER_POSIX_H_
« no previous file with comments | « content/browser/child_process_launcher_helper_mac.cc ('k') | content/browser/child_process_launcher_helper_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698