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

Unified Diff: content/browser/child_process_launcher_helper_posix.cc

Issue 2950153002: Improve process launch handle sharing API. (Closed)
Patch Set: Fix Mojo launcher, review comments 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/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 9b2f6e0fc6285b2453e77974a4e12a4f8bde8ddc..7bd628ea3a7022170453047b3e0c4cd81aef28e6 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()) {

Powered by Google App Engine
This is Rietveld 408576698