| 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 3f2b4dadcd9a79dd9d483c905d25123611d25b30..6f61f71e205fd0d9fe599d27c04e5e5aeaa136e5 100644
|
| --- a/content/browser/mojo/mojo_shell_client_host.h
|
| +++ b/content/browser/mojo/mojo_shell_client_host.h
|
| @@ -5,14 +5,14 @@
|
| #ifndef CONTENT_BROWSER_MOJO_MOJO_SHELL_CLIENT_HOST_H_
|
| #define CONTENT_BROWSER_MOJO_MOJO_SHELL_CLIENT_HOST_H_
|
|
|
| -#include "base/process/process_handle.h"
|
| +#include <string>
|
|
|
| -namespace IPC {
|
| -class Sender;
|
| -}
|
| +#include "base/process/process_handle.h"
|
|
|
| namespace content {
|
|
|
| +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.
|
| @@ -20,7 +20,13 @@ namespace content {
|
| // instance map.
|
| void RegisterChildWithExternalShell(int child_process_id,
|
| base::ProcessHandle process_handle,
|
| - IPC::Sender* sender);
|
| + 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);
|
|
|
| } // namespace content
|
|
|
|
|