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

Unified Diff: content/browser/child_process_launcher_helper_posix.cc

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/child_process_launcher_helper_posix.h ('k') | content/browser/file_descriptor_info_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher_helper_posix.cc
diff --git a/content/browser/child_process_launcher_helper_posix.cc b/content/browser/child_process_launcher_helper_posix.cc
index 38b818dea8327061679ee76cc615a4e46a1c9285..42e1c9e4cf18dbeaefa2e1069b64f8af27ef9e3e 100644
--- a/content/browser/child_process_launcher_helper_posix.cc
+++ b/content/browser/child_process_launcher_helper_posix.cc
@@ -9,7 +9,7 @@
#include "base/posix/global_descriptors.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
-#include "content/browser/file_descriptor_info_impl.h"
+#include "content/browser/posix_file_descriptor_info_impl.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_descriptors.h"
@@ -71,14 +71,14 @@ base::PlatformFile OpenFileIfNecessary(const base::FilePath& path,
} // namespace
-std::unique_ptr<FileDescriptorInfo> CreateDefaultPosixFilesToMap(
+std::unique_ptr<PosixFileDescriptorInfo> CreateDefaultPosixFilesToMap(
int child_process_id,
const mojo::edk::PlatformHandle& mojo_client_handle,
bool include_service_required_files,
const std::string& process_type,
base::CommandLine* command_line) {
- std::unique_ptr<FileDescriptorInfo> files_to_register(
- FileDescriptorInfoImpl::Create());
+ std::unique_ptr<PosixFileDescriptorInfo> files_to_register(
+ PosixFileDescriptorInfoImpl::Create());
base::SharedMemoryHandle shm = base::FieldTrialList::GetFieldTrialHandle();
if (shm.IsValid()) {
« no previous file with comments | « content/browser/child_process_launcher_helper_posix.h ('k') | content/browser/file_descriptor_info_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698