| 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 75334a2a885559f22fb3fdb4ada69df2d028a0aa..0aa3ee339c6c433d7ec4529851b98c64bbcdb6a9 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_process_host_impl.cc
|
| @@ -221,6 +221,10 @@
|
| #include "content/common/media/media_stream_messages.h"
|
| #endif
|
|
|
| +#if defined(MOJO_SHELL_CLIENT)
|
| +#include "content/browser/mojo/mojo_shell_client_host.h"
|
| +#endif
|
| +
|
| #if defined(OS_WIN)
|
| #define IntToStringType base::IntToString16
|
| #else
|
| @@ -2450,6 +2454,12 @@ void RenderProcessHostImpl::OnProcessLaunched() {
|
| Source<RenderProcessHost>(this),
|
| NotificationService::NoDetails());
|
|
|
| +#if defined(MOJO_SHELL_CLIENT)
|
| + // Send a handle that the external Mojo shell can use to pass an Application
|
| + // request to the child.
|
| + RegisterChildWithExternalShell(id_, GetHandle(), this);
|
| +#endif
|
| +
|
| // TODO(erikchen): Remove ScopedTracker below once http://crbug.com/465841
|
| // is fixed.
|
| tracked_objects::ScopedTracker tracking_profile4(
|
|
|