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

Unified Diff: content/public/browser/browser_child_process_host_delegate.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
Index: content/public/browser/browser_child_process_host_delegate.h
diff --git a/content/public/browser/browser_child_process_host_delegate.h b/content/public/browser/browser_child_process_host_delegate.h
index 892ca25c9f9a917e893a851356277267ebe19bad..79d202a1049f5b818cd5d0e839d77ef6600d0e14 100644
--- a/content/public/browser/browser_child_process_host_delegate.h
+++ b/content/public/browser/browser_child_process_host_delegate.h
@@ -8,6 +8,11 @@
#include "content/common/content_export.h"
#include "ipc/ipc_listener.h"
+namespace shell {
+class InterfaceProvider;
+class InterfaceRegistry;
+}
+
namespace content {
class ServiceRegistry;
@@ -35,8 +40,13 @@ class CONTENT_EXPORT BrowserChildProcessHostDelegate : public IPC::Listener {
// returned from GetExitCodeProcess()).
virtual void OnProcessCrashed(int exit_code) {}
- // Returns the ServiceRegistry for this child process.
- virtual ServiceRegistry* GetServiceRegistry();
+ // Returns the shell::InterfaceRegistry the browser process uses to expose
+ // interfaces to the child.
+ virtual shell::InterfaceRegistry* GetInterfaceRegistry();
+
+ // Returns the shell::InterfaceProvider the browser process can use to bind
+ // interfaces exposed to it from the child.
+ virtual shell::InterfaceProvider* GetRemoteInterfaces();
};
}; // namespace content
« no previous file with comments | « content/public/browser/browser_child_process_host.h ('k') | content/public/browser/browser_child_process_host_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698