| 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..3958bd3336b7b5f097778640732f77845f51f2ba 100644
|
| --- a/content/public/browser/browser_child_process_host_delegate.h
|
| +++ b/content/public/browser/browser_child_process_host_delegate.h
|
| @@ -8,9 +8,12 @@
|
| #include "content/common/content_export.h"
|
| #include "ipc/ipc_listener.h"
|
|
|
| -namespace content {
|
| +namespace shell {
|
| +class InterfaceProvider;
|
| +class InterfaceRegistry;
|
| +}
|
|
|
| -class ServiceRegistry;
|
| +namespace content {
|
|
|
| // Interface that all users of BrowserChildProcessHost need to provide.
|
| class CONTENT_EXPORT BrowserChildProcessHostDelegate : public IPC::Listener {
|
| @@ -35,8 +38,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
|
|
|