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 |