Index: content/common/service_manager/child_connection.h |
diff --git a/content/common/service_manager/child_connection.h b/content/common/service_manager/child_connection.h |
index 01ece56b70bb8e6881cd2eb8f2a7c7451c9cb6e2..4799df57dd8372eb051b4207fded6ec6e4a15b9a 100644 |
--- a/content/common/service_manager/child_connection.h |
+++ b/content/common/service_manager/child_connection.h |
@@ -16,7 +16,6 @@ |
#include "content/common/content_export.h" |
#include "mojo/edk/embedder/pending_process_connection.h" |
#include "services/service_manager/public/cpp/identity.h" |
-#include "services/service_manager/public/cpp/interface_provider.h" |
#include "services/service_manager/public/interfaces/connector.mojom.h" |
namespace service_manager { |
@@ -41,9 +40,10 @@ class CONTENT_EXPORT ChildConnection { |
scoped_refptr<base::SequencedTaskRunner> io_task_runner); |
~ChildConnection(); |
- service_manager::InterfaceProvider* GetRemoteInterfaces() { |
- return &remote_interfaces_; |
- } |
+ // Binds an implementation of |interface_name| to |interface_pipe| in the |
+ // child. |
+ void BindInterface(const std::string& interface_name, |
+ mojo::ScopedMessagePipeHandle interface_pipe); |
const service_manager::Identity& child_identity() const { |
return child_identity_; |
@@ -67,8 +67,6 @@ class CONTENT_EXPORT ChildConnection { |
std::string service_token_; |
base::ProcessHandle process_handle_ = base::kNullProcessHandle; |
- service_manager::InterfaceProvider remote_interfaces_; |
- |
base::WeakPtrFactory<ChildConnection> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(ChildConnection); |