Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1039)

Unified Diff: content/common/associated_interface_registry_impl.cc

Issue 2653973002: Remove associated interface registration from ChannelProxy (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/associated_interface_registry_impl.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « content/common/associated_interface_registry_impl.h ('k') | content/gpu/gpu_child_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698