Index: content/browser/mojo/mojo_child_connection.h |
diff --git a/content/browser/mojo/mojo_child_connection.h b/content/browser/mojo/mojo_child_connection.h |
index 2a6453053575b64e599da60f85093b4ad7282159..3d91cc6579dd41e4b39dbc4b6981faa702db1e7f 100644 |
--- a/content/browser/mojo/mojo_child_connection.h |
+++ b/content/browser/mojo/mojo_child_connection.h |
@@ -15,13 +15,8 @@ |
#include "base/sequenced_task_runner.h" |
#include "services/shell/public/cpp/identity.h" |
#include "services/shell/public/cpp/interface_provider.h" |
-#include "services/shell/public/cpp/interface_registry.h" |
#include "services/shell/public/interfaces/connector.mojom.h" |
-#if defined(OS_ANDROID) |
-#include "content/public/browser/android/interface_registry_android.h" |
-#endif |
- |
namespace shell { |
class Connection; |
class Connector; |
@@ -45,10 +40,6 @@ class MojoChildConnection { |
scoped_refptr<base::SequencedTaskRunner> io_task_runner); |
~MojoChildConnection(); |
- shell::InterfaceRegistry* GetInterfaceRegistry() { |
- return &interface_registry_; |
- } |
- |
shell::InterfaceProvider* GetRemoteInterfaces() { |
return &remote_interfaces_; |
} |
@@ -70,20 +61,12 @@ class MojoChildConnection { |
private: |
class IOThreadContext; |
- void GetInterface(const mojo::String& interface_name, |
- mojo::ScopedMessagePipeHandle request_handle); |
- |
scoped_refptr<IOThreadContext> context_; |
shell::Identity child_identity_; |
const std::string service_token_; |
- shell::InterfaceRegistry interface_registry_; |
shell::InterfaceProvider remote_interfaces_; |
-#if defined(OS_ANDROID) |
- std::unique_ptr<InterfaceRegistryAndroid> interface_registry_android_; |
-#endif |
- |
base::WeakPtrFactory<MojoChildConnection> weak_factory_; |
DISALLOW_COPY_AND_ASSIGN(MojoChildConnection); |