| Index: content/public/common/child_process_host_delegate.h
|
| diff --git a/content/public/common/child_process_host_delegate.h b/content/public/common/child_process_host_delegate.h
|
| index 62fa80e733d5aa4c0f79385bc58ad828ea5bd925..d7bd45140598d6a1c7aabca7cd14aaae336cade0 100644
|
| --- a/content/public/common/child_process_host_delegate.h
|
| +++ b/content/public/common/child_process_host_delegate.h
|
| @@ -11,6 +11,10 @@
|
| #include "content/common/content_export.h"
|
| #include "ipc/ipc_listener.h"
|
|
|
| +namespace IPC {
|
| +class Channel;
|
| +}
|
| +
|
| namespace service_manager {
|
| class InterfaceProvider;
|
| }
|
| @@ -28,6 +32,9 @@ class ChildProcessHostDelegate : public IPC::Listener {
|
| // it's ok to shutdown, when really it's not.
|
| CONTENT_EXPORT virtual bool CanShutdown();
|
|
|
| + // Called when the IPC channel for the child process is initialized.
|
| + virtual void OnChannelInitialized(IPC::Channel* channel) {}
|
| +
|
| // Called when the child process unexpected closes the IPC channel. Delegates
|
| // would normally delete the object in this case.
|
| virtual void OnChildDisconnected() {}
|
| @@ -37,8 +44,7 @@ class ChildProcessHostDelegate : public IPC::Listener {
|
| virtual const base::Process& GetProcess() const = 0;
|
|
|
| // Returns the service_manager::InterfaceProvider the process host can use to
|
| - // bind
|
| - // interfaces exposed to it from the child.
|
| + // bind interfaces exposed to it from the child.
|
| CONTENT_EXPORT virtual service_manager::InterfaceProvider*
|
| GetRemoteInterfaces();
|
| };
|
|
|