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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/child_process_launcher_posix.h
diff --git a/content/browser/child_process_launcher_posix.h b/content/browser/child_process_launcher_posix.h
new file mode 100644
index 0000000000000000000000000000000000000000..82762c6304b9b00c1f39325d590f8a9b70dd1a8d
--- /dev/null
+++ b/content/browser/child_process_launcher_posix.h
@@ -0,0 +1,34 @@
+// Copyright 2016 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_POSIX_H_
+#define CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_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;
+
+std::unique_ptr<FileDescriptorInfo> CreateDefaultPosixFilesToMap(
+ const base::CommandLine& command_line,
+ int child_process_id,
+ const mojo::edk::PlatformHandle& mojo_client_handle);
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_CHILD_PROCESS_LAUNCHER_POSIX_H_

Powered by Google App Engine
This is Rietveld 408576698