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 |