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

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

Issue 1778443002: Use instance name to uniquify renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@40fix2
Patch Set: Created 4 years, 9 months 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
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..74aaf6c6a3b9a1cbf67a8a4e06eeca5e28152f9c 100644
--- a/content/browser/mojo/mojo_shell_client_host.h
+++ b/content/browser/mojo/mojo_shell_client_host.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/process/process_handle.h"
+#include "mojo/shell/public/cpp/identity.h"
#include "mojo/shell/public/interfaces/shell.mojom.h"
namespace content {
@@ -28,11 +29,10 @@ std::string RegisterChildWithExternalShell(
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);
+// Returns the Identity associated with an instance corresponding to the
+// renderer process in shell. This Identity can be passed to Connect() to open a
+// new connection to this renderer.
+mojo::Identity GetMojoIdentity(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
« no previous file with comments | « no previous file | content/browser/mojo/mojo_shell_client_host.cc » ('j') | content/browser/mojo/mojo_shell_client_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698