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

Unified Diff: content/browser/child_process_launcher_helper.h

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Fix Created 3 years, 6 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.h
diff --git a/content/browser/child_process_launcher_helper.h b/content/browser/child_process_launcher_helper.h
index 8a48dbebaed49a4f4b7092a11d1994d3ba35eb0e..b6682669847f50621c3d8406c25f1445b0200ca0 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)
@@ -39,16 +39,19 @@ class CommandLine;
namespace content {
class ChildProcessLauncher;
-class FileDescriptorInfo;
class SandboxedProcessLauncherDelegate;
+#if defined(OS_POSIX)
+class PosixFileDescriptorInfo;
+#endif
+
namespace internal {
#if defined(OS_WIN)
-using FileMappedForLaunch = base::HandlesToInheritVector;
+using FileMappedForLaunch = std::vector<HANDLE>;
#else
-using FileMappedForLaunch = FileDescriptorInfo;
+using FileMappedForLaunch = PosixFileDescriptorInfo;
#endif
// ChildProcessLauncherHelper is used by ChildProcessLauncher to start a

Powered by Google App Engine
This is Rietveld 408576698