Index: content/browser/mojo/mojo_shell_client_host.h |
diff --git a/content/browser/mojo/mojo_shell_client_host.h b/content/browser/mojo/mojo_shell_client_host.h |
index 3b1484f4f8e2e1dd9b2cc3c6602302d4a5f3d3ca..6585d5847172bab7aff3f2698237120ffc4d7825 100644 |
--- a/content/browser/mojo/mojo_shell_client_host.h |
+++ b/content/browser/mojo/mojo_shell_client_host.h |
@@ -18,21 +18,19 @@ |
// child. The server handle of this channel is shared with the external shell |
// via Mojo IPC. |child_process_id| and |instance_id| are used to uniquify the |
// child in the external shell's instance map. |
-// |
-// This returns a token that may be passed to the child process and exchanged |
-// for a pipe there. That pipe can in turn be passed to |
-// MojoShellConnectionImpl::BindToMessagePipe() to initialize the child's |
-// shell connection. |
-std::string RegisterChildWithExternalShell( |
- int child_process_id, |
- int instance_id, |
- RenderProcessHost* render_process_host); |
+void RegisterChildWithExternalShell(int child_process_id, |
+ int instance_id, |
+ RenderProcessHost* render_process_host); |
// Returns the URL associated with an instance corresponding to the renderer |
// process in the external shell. This URL can be passed to |
// ConnectToApplication() to open a new connection to this renderer. |
std::string GetMojoApplicationInstanceURL( |
RenderProcessHost* render_process_host); |
+ |
+// Shares a client handle to the Mojo Shell with the child via Chrome IPC. |
+void SendExternalMojoShellHandleToChild(base::ProcessHandle process_handle, |
+ RenderProcessHost* render_process_host); |
// Constructs a Capability Filter for the renderer's application instance in the |
// external shell. This contains the restrictions imposed on what applications |