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

Unified Diff: services/shell/public/cpp/lib/interface_registry.cc

Issue 2102353002: Update browser manifest to require ProcessControl from gpu service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 6 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/public/app/mojo/content_browser_manifest.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/public/cpp/lib/interface_registry.cc
diff --git a/services/shell/public/cpp/lib/interface_registry.cc b/services/shell/public/cpp/lib/interface_registry.cc
index 03e135dece389b3ac5c151e274c0ce54d142f66f..fb34590a667e50093239b8b39bd8361265ae0976 100644
--- a/services/shell/public/cpp/lib/interface_registry.cc
+++ b/services/shell/public/cpp/lib/interface_registry.cc
@@ -44,7 +44,7 @@ void InterfaceRegistry::GetInterface(const mojo::String& interface_name,
auto iter = name_to_binder_.find(interface_name);
if (iter != name_to_binder_.end()) {
iter->second->BindInterface(connection_, interface_name, std::move(handle));
- } else if (connection_ && connection_->AllowsInterface(interface_name)) {
+ } else if (connection_ && !connection_->AllowsInterface(interface_name)) {
LOG(ERROR) << "Connection CapabilityFilter prevented binding to "
<< "interface: " << interface_name << " connection_name:"
<< connection_->GetConnectionName() << " remote_name:"
« no previous file with comments | « content/public/app/mojo/content_browser_manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698