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

Unified Diff: services/service_manager/service_manager.cc

Issue 2726843006: ShapeDetection: add support for Text Detection in Mac (Closed)
Patch Set: cleanup Created 3 years, 10 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
Index: services/service_manager/service_manager.cc
diff --git a/services/service_manager/service_manager.cc b/services/service_manager/service_manager.cc
index 99b9869ee5b99b844139621efe4698041b13fee5..b8fad2af30727fda88ee8737edb68c14048fe492 100644
--- a/services/service_manager/service_manager.cc
+++ b/services/service_manager/service_manager.cc
@@ -199,8 +199,8 @@ class ServiceManager::Instance
InterfaceSet exposed = GetInterfacesToExpose(source_connection_spec,
identity_,
GetConnectionSpec());
- bool allowed = (exposed.size() == 1 && exposed.count("*") == 1) ||
- exposed.count(params->interface_name()) > 0;
+ const bool allowed = (exposed.size() == 1 && exposed.count("*") == 1) ||
Reilly Grant (use Gerrit) 2017/03/02 22:10:26 This seems like an unrelated and unnecessary chang
mcasas 2017/03/02 23:27:50 Done.
+ exposed.count(params->interface_name()) > 0;
if (!allowed) {
std::stringstream ss;
ss << "Connection InterfaceProviderSpec prevented service: "

Powered by Google App Engine
This is Rietveld 408576698