| Index: content/public/common/child_process_host.h
|
| diff --git a/content/public/common/child_process_host.h b/content/public/common/child_process_host.h
|
| index 51e617f8e901715bf2709aeb954d70733ad5ebde..0557524952399e827cc245a5edad0ce641bf1fbc 100644
|
| --- a/content/public/common/child_process_host.h
|
| +++ b/content/public/common/child_process_host.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/files/scoped_file.h"
|
| #include "build/build_config.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/public/common/bind_interface_helpers.h"
|
| #include "ipc/ipc_channel_proxy.h"
|
| #include "mojo/edk/embedder/pending_process_connection.h"
|
|
|
| @@ -21,10 +22,6 @@ namespace IPC {
|
| class MessageFilter;
|
| }
|
|
|
| -namespace service_manager {
|
| -class InterfaceProvider;
|
| -}
|
| -
|
| namespace content {
|
|
|
| class ChildProcessHostDelegate;
|
| @@ -94,10 +91,9 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Sender {
|
| // Adds an IPC message filter. A reference will be kept to the filter.
|
| virtual void AddFilter(IPC::MessageFilter* filter) = 0;
|
|
|
| - // Returns the service_manager::InterfaceProvider the process host can use to
|
| - // bind
|
| - // interfaces exposed to it from the child.
|
| - virtual service_manager::InterfaceProvider* GetRemoteInterfaces() = 0;
|
| + // Bind an interface exposed by the child process.
|
| + virtual void BindInterface(const std::string& interface_name,
|
| + mojo::ScopedMessagePipeHandle interface_pipe) = 0;
|
| };
|
|
|
| }; // namespace content
|
|
|