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

Unified Diff: content/browser/zygote_host/zygote_communication_linux.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
Index: content/browser/zygote_host/zygote_communication_linux.h
diff --git a/content/browser/zygote_host/zygote_communication_linux.h b/content/browser/zygote_host/zygote_communication_linux.h
index 2b5340386c7d52aa5c277b195e84e69a7ad959f3..3add2ea24e8056501bde7589f62bc625fd75742b 100644
--- a/content/browser/zygote_host/zygote_communication_linux.h
+++ b/content/browser/zygote_host/zygote_communication_linux.h
@@ -17,7 +17,7 @@
#include "base/process/process_handle.h"
#include "base/synchronization/lock.h"
#include "content/common/content_export.h"
-#include "content/public/browser/file_descriptor_info.h"
+#include "content/public/browser/posix_file_descriptor_info.h"
namespace base {
class Pickle;
@@ -38,7 +38,7 @@ class CONTENT_EXPORT ZygoteCommunication {
// Tries to start a process of type indicated by process_type.
// Returns its pid on success, otherwise base::kNullProcessHandle;
pid_t ForkRequest(const std::vector<std::string>& command_line,
- std::unique_ptr<FileDescriptorInfo> mapping,
+ std::unique_ptr<PosixFileDescriptorInfo> mapping,
const std::string& process_type);
void EnsureProcessTerminated(pid_t process);
« no previous file with comments | « content/browser/posix_file_descriptor_info_impl_unittest.cc ('k') | content/browser/zygote_host/zygote_communication_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698