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

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

Issue 2096643002: Eliminate MojoApplicationHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mah3
Patch Set: . Created 4 years, 6 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
« no previous file with comments | « content/public/browser/BUILD.gn ('k') | content/public/browser/browser_child_process_host_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 74cf035b6bcd7027f5c164571cd3ec4cb25db0fb..2b82b5b4d8c8bcab38c51c27466e143813d65c65 100644
--- a/content/public/browser/browser_child_process_host.h
+++ b/content/public/browser/browser_child_process_host.h
@@ -23,12 +23,16 @@ class CommandLine;
class FilePath;
}
+namespace shell {
+class InterfaceProvider;
+class InterfaceRegistry;
+}
+
namespace content {
class BrowserChildProcessHostDelegate;
class ChildProcessHost;
class SandboxedProcessLauncherDelegate;
-class ServiceRegistry;
struct ChildProcessData;
// This represents child processes of the browser process, i.e. plugins. They
@@ -89,9 +93,13 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender {
// this object.
virtual void SetHandle(base::ProcessHandle handle) = 0;
- // Get the Mojo service registry connected to the child process. Returns
- // nullptr if no service registry exists.
- virtual ServiceRegistry* GetServiceRegistry() = 0;
+ // Returns the shell::InterfaceRegistry the browser process uses to expose
+ // interfaces to the child.
+ virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 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.
« no previous file with comments | « content/public/browser/BUILD.gn ('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