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

Unified Diff: chrome/service/service_utility_process_host.cc

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: chrome/service/service_utility_process_host.cc
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc
index 77af2c74ec5cfb19cb4db583d8ebb4889586ab47..f2774f72c5c990486a75bbb4260f78f0cb81a2c8 100644
--- a/chrome/service/service_utility_process_host.cc
+++ b/chrome/service/service_utility_process_host.cc
@@ -258,7 +258,7 @@ bool ServiceUtilityProcessHost::Launch(base::CommandLine* cmd_line,
parent_handle = channel_pair.PassServerHandle();
mojo::edk::ScopedPlatformHandle client_handle =
channel_pair.PassClientHandle();
- base::HandlesToInheritVector handles;
+ std::vector<HANDLE> handles;
handles.push_back(client_handle.get().handle);
cmd_line->AppendSwitchASCII(
mojo::edk::PlatformChannelPair::kMojoPlatformChannelHandleSwitch,

Powered by Google App Engine
This is Rietveld 408576698