Chromium Code Reviews| 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 6f61f71e205fd0d9fe599d27c04e5e5aeaa136e5..6d8b20795602f0c8e7dba30aeb296f2ecd971464 100644 |
| --- a/content/browser/mojo/mojo_shell_client_host.h |
| +++ b/content/browser/mojo/mojo_shell_client_host.h |
| @@ -15,11 +15,9 @@ class RenderProcessHost; |
| // Creates a communication channel between the external Mojo shell and the |
| // child. The server handle of this channel is shared with the external shell |
| -// via Mojo IPC and the client handle is shared with the child via Chrome IPC. |
| -// |child_process_id| is used to uniquify the child in the external shell's |
| -// instance map. |
| +// via Mojo IPC. |child_process_id| is used to uniquify the child in the |
| +// external shell's instance map. |
| void RegisterChildWithExternalShell(int child_process_id, |
| - base::ProcessHandle process_handle, |
| RenderProcessHost* render_process_host); |
| // Returns the URL associated with an instance corresponding to the renderer |
| @@ -28,6 +26,10 @@ void RegisterChildWithExternalShell(int child_process_id, |
| std::string GetMojoApplicationInstanceURL( |
| RenderProcessHost* render_process_host); |
| +// Shares a client handle to the Mojo Shell with the child via Chrome IPC. |
| +void BindExternalMojoShellHandle(base::ProcessHandle process_handle, |
|
Ben Goodger (Google)
2015/11/25 20:28:14
SendExternalShellHandleToChild()
Fady Samuel
2015/11/25 20:46:50
Done.
|
| + RenderProcessHost* render_process_host); |
| + |
| } // namespace content |
| #endif // CONTENT_BROWSER_MOJO_MOJO_SHELL_CLIENT_HOST_H_ |