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 b6568af1f20d8763ce0c1ec035cc43085d544c3b..ac59a2e553cd53435aa562e18be8eea2c3c0844e 100644 |
--- a/content/public/browser/browser_child_process_host_delegate.h |
+++ b/content/public/browser/browser_child_process_host_delegate.h |
@@ -10,6 +10,8 @@ |
namespace content { |
+class ServiceRegistry; |
+ |
// Interface that all users of BrowserChildProcessHost need to provide. |
class CONTENT_EXPORT BrowserChildProcessHostDelegate : public IPC::Listener { |
public: |
@@ -32,6 +34,9 @@ class CONTENT_EXPORT BrowserChildProcessHostDelegate : public IPC::Listener { |
// process crashed (for posix, as returned from waitpid(), for Windows, as |
// returned from GetExitCodeProcess()). |
virtual void OnProcessCrashed(int exit_code) {} |
+ |
+ // Returns the ServiceRegistry for this child process. |
+ virtual ServiceRegistry* GetServiceRegistry(); |
}; |
}; // namespace content |