Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(452)

Unified Diff: content/browser/mojo/mojo_shell_client_host.h

Issue 1461243002: [OLD ATTEMPT, DO NOT REVIEW] mustash: Enable connections to mus from the Chrome renderer Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Ben's comments Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/mojo/mojo_shell_client_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/mojo/mojo_shell_client_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698