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

Unified Diff: content/public/browser/browser_child_process_host.h

Issue 2221153003: Establish MojoChildConnection from BrowserChildProcessHostImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-channel
Patch Set: rebase Created 4 years, 4 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/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();
« no previous file with comments | « content/public/app/mojo/content_plugin_manifest.json ('k') | content/public/browser/browser_child_process_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698