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

Unified Diff: content/browser/child_process_launcher_helper.h

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Merge Created 3 years, 5 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
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/child_process_launcher_helper_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher_helper.h
diff --git a/content/browser/child_process_launcher_helper.h b/content/browser/child_process_launcher_helper.h
index c68e0a52f8b497d33307f28651d34f7ca239c5bd..8c35bc4ac256dc64c170e60a1c9a81cb9ac0f65c 100644
--- a/content/browser/child_process_launcher_helper.h
+++ b/content/browser/child_process_launcher_helper.h
@@ -25,7 +25,7 @@
#if defined(OS_WIN)
#include "sandbox/win/src/sandbox_types.h"
#else
-#include "content/public/browser/file_descriptor_info.h"
+#include "content/public/browser/posix_file_descriptor_info.h"
#endif
#if defined(OS_LINUX)
@@ -43,16 +43,18 @@ class CommandLine;
namespace content {
class ChildProcessLauncher;
-class FileDescriptorInfo;
class SandboxedProcessLauncherDelegate;
-namespace internal {
+#if defined(OS_POSIX)
+class PosixFileDescriptorInfo;
+#endif
+namespace internal {
-#if defined(OS_WIN)
-using FileMappedForLaunch = base::HandlesToInheritVector;
+#if defined(OS_POSIX)
+using FileMappedForLaunch = PosixFileDescriptorInfo;
#else
-using FileMappedForLaunch = FileDescriptorInfo;
+using FileMappedForLaunch = base::HandlesToInheritVector;
#endif
// ChildProcessLauncherHelper is used by ChildProcessLauncher to start a
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/browser/child_process_launcher_helper_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698