Index: content/common/associated_interface_registry_impl.cc |
diff --git a/content/common/associated_interface_registry_impl.cc b/content/common/associated_interface_registry_impl.cc |
index 67b5b0e4e540cb2b9c030546e0f80336d16ad285..468dc99664e32c3b0e9b78bcfaa28c9ed8af5878 100644 |
--- a/content/common/associated_interface_registry_impl.cc |
+++ b/content/common/associated_interface_registry_impl.cc |
@@ -14,6 +14,11 @@ AssociatedInterfaceRegistryImpl::AssociatedInterfaceRegistryImpl() {} |
AssociatedInterfaceRegistryImpl::~AssociatedInterfaceRegistryImpl() {} |
+bool AssociatedInterfaceRegistryImpl::CanBindRequest( |
+ const std::string& interface_name) const { |
+ return interfaces_.find(interface_name) != interfaces_.end(); |
+} |
+ |
void AssociatedInterfaceRegistryImpl::BindRequest( |
const std::string& interface_name, |
mojo::ScopedInterfaceEndpointHandle handle) { |