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..4173799281cafa0e7db42b3e64b1b1f74dda0d85 100644 |
--- a/content/browser/mojo/mojo_shell_client_host.h |
+++ b/content/browser/mojo/mojo_shell_client_host.h |
@@ -9,6 +9,10 @@ |
#include "base/process/process_handle.h" |
+namespace mojo { |
+class ApplicationConnection; |
+} |
+ |
namespace content { |
class RenderProcessHost; |
@@ -28,6 +32,9 @@ void RegisterChildWithExternalShell(int child_process_id, |
std::string GetMojoApplicationInstanceURL( |
RenderProcessHost* render_process_host); |
+// Returns the RenderProcessHost ID associated with the mojo app URL. |
+int GetRenderProcessIDFromConnection(mojo::ApplicationConnection* connection); |
+ |
} // namespace content |
#endif // CONTENT_BROWSER_MOJO_MOJO_SHELL_CLIENT_HOST_H_ |