Chromium Code Reviews| Index: content/browser/renderer_host/render_process_host_impl.cc |
| diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc |
| index 8834c0d31242f7b710ed928c71d54df267e86a97..c7c39ee25122cd89e3f1ea4851c7a3a6bbb4582c 100644 |
| --- a/content/browser/renderer_host/render_process_host_impl.cc |
| +++ b/content/browser/renderer_host/render_process_host_impl.cc |
| @@ -123,6 +123,7 @@ |
| #include "content/common/in_process_child_thread_params.h" |
| #include "content/common/mojo/channel_init.h" |
| #include "content/common/mojo/mojo_messages.h" |
| +#include "content/common/mojo/mojo_shell_connection_impl.h" |
|
Fady Samuel
2015/12/02 16:42:11
This should also be behind an if defined...
Peng
2015/12/02 16:51:51
Done.
|
| #include "content/common/render_process_messages.h" |
| #include "content/common/resource_messages.h" |
| #include "content/common/site_isolation_policy.h" |
| @@ -1544,6 +1545,11 @@ void RenderProcessHostImpl::PropagateBrowserCommandLineToRenderer( |
| renderer_cmd->AppendSwitch(switches::kWaitForDebugger); |
| } |
| } |
| + |
| +#if defined(MOJO_SHELL_CLIENT) |
| + if (IsRunningInMojoShell()) |
| + renderer_cmd->AppendSwitch(switches::kEnableMojoShellConnection); |
| +#endif |
| } |
| base::ProcessHandle RenderProcessHostImpl::GetHandle() const { |