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

Unified Diff: shell/child_process_host.cc

Issue 1431203002: EDK: Make PlatformChannelPair not depend/use on base::CommandLine. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 1 month 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 | « shell/child_main.cc ('k') | shell/child_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/child_process_host.cc
diff --git a/shell/child_process_host.cc b/shell/child_process_host.cc
index 4318bc1fd1b3057e3766a85cc869c03c1474f755..aef8570159470fea7b8f4d7b544e2e060f63dbe0 100644
--- a/shell/child_process_host.cc
+++ b/shell/child_process_host.cc
@@ -136,8 +136,11 @@ base::Process ChildProcessHost::DoLaunch(scoped_ptr<LaunchData> launch_data) {
launch_data->child_connection_id);
mojo::embedder::HandlePassingInformation handle_passing_info;
+ std::string platform_channel_info;
launch_data->platform_channel_pair.PrepareToPassClientHandleToChildProcess(
- &child_command_line, &handle_passing_info);
+ &platform_channel_info, &handle_passing_info);
+ child_command_line.AppendSwitchASCII(switches::kPlatformChannelHandleInfo,
+ platform_channel_info);
base::LaunchOptions options;
options.fds_to_remap = &handle_passing_info;
« no previous file with comments | « shell/child_main.cc ('k') | shell/child_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698