Index: content/public/browser/render_process_host.h |
diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
index 67fc03f27d938f4bbd0bac27ec35de5edd206aa0..cb4418c0600667a838e1c706dfdb741a4fff2140 100644 |
--- a/content/public/browser/render_process_host.h |
+++ b/content/public/browser/render_process_host.h |
@@ -33,6 +33,8 @@ class MediaKeys; |
namespace shell { |
class Connection; |
+class InterfaceProvider; |
+class InterfaceRegistry; |
} |
namespace content { |
@@ -40,7 +42,6 @@ class BrowserContext; |
class BrowserMessageFilter; |
class RenderProcessHostObserver; |
class RenderWidgetHost; |
-class ServiceRegistry; |
class StoragePartition; |
struct GlobalRequestID; |
@@ -254,8 +255,13 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
// have changed. |
virtual void NotifyTimezoneChange(const std::string& zone_id) = 0; |
- // Returns the ServiceRegistry for this process. |
- virtual ServiceRegistry* GetServiceRegistry() = 0; |
+ // Returns the shell::InterfaceRegistry the browser process uses to expose |
+ // interfaces to the renderer. |
+ virtual shell::InterfaceRegistry* GetInterfaceRegistry() = 0; |
+ |
+ // Returns the shell::InterfaceProvider the browser process can use to bind |
+ // interfaces exposed to it from the renderer. |
+ virtual shell::InterfaceProvider* GetRemoteInterfaces() = 0; |
// Returns the shell connection for this process. |
virtual shell::Connection* GetChildConnection() = 0; |