Index: content/public/browser/browser_child_process_host.h |
diff --git a/content/public/browser/browser_child_process_host.h b/content/public/browser/browser_child_process_host.h |
index 60334a9afa2c4499f1e5c3342c875c032d42dc6a..1ef3e48752e421ad3922b630cd37b1386e614ca4 100644 |
--- a/content/public/browser/browser_child_process_host.h |
+++ b/content/public/browser/browser_child_process_host.h |
@@ -45,13 +45,13 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender { |
content::ProcessType process_type, |
BrowserChildProcessHostDelegate* delegate); |
- // Used to create a child process host, with a unique token to identify the |
- // child process to Mojo. |mojo_child_token| should be a unique string |
- // generated using mojo::edk::GenerateRandomToken(). |
+ // Used to create a child process host, connecting the process to the shell |
+ // as a new service instance identified by |service_name| and (optional) |
+ // |instance_id|. |
static BrowserChildProcessHost* Create( |
content::ProcessType process_type, |
BrowserChildProcessHostDelegate* delegate, |
- const std::string& mojo_child_token); |
+ const std::string& service_name); |
// Returns the child process host with unique id |child_process_id|, or |
// nullptr if it doesn't exist. |child_process_id| is NOT the process ID, but |
@@ -92,10 +92,6 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender { |
// this object. |
virtual void SetHandle(base::ProcessHandle handle) = 0; |
- // Returns the shell::InterfaceProvider the browser process can use to bind |
- // interfaces exposed to it from the child. |
- virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; |
- |
#if defined(OS_MACOSX) |
// Returns a PortProvider used to get the task port for child processes. |
static base::PortProvider* GetPortProvider(); |