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

Unified Diff: services/shell/background/tests/test_catalog_store.cc

Issue 1943993005: Remove wildcard usage in interface lists (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 7 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 | « services/catalog/entry_unittest.cc ('k') | services/shell/public/cpp/lib/interface_registry.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/shell/background/tests/test_catalog_store.cc
diff --git a/services/shell/background/tests/test_catalog_store.cc b/services/shell/background/tests/test_catalog_store.cc
index aa2f2795970eb39accade6b3b0b38d8b58324767..57b450f4093e3663b62da983f2d78d6093c3eaa4 100644
--- a/services/shell/background/tests/test_catalog_store.cc
+++ b/services/shell/background/tests/test_catalog_store.cc
@@ -35,7 +35,7 @@ std::unique_ptr<base::DictionaryValue> BuildPermissiveSerializedAppInfo(
std::unique_ptr<base::DictionaryValue> interfaces_dictionary(
new base::DictionaryValue);
std::unique_ptr<base::ListValue> interfaces_list(new base::ListValue);
- interfaces_list->AppendString("*");
+ interfaces_list->AppendString("shell::mojom::TestService");
interfaces_dictionary->Set("interfaces", std::move(interfaces_list));
required_capabilities->Set("*", std::move(interfaces_dictionary));
capabilities->Set(Store::kCapabilities_RequiredKey,
« no previous file with comments | « services/catalog/entry_unittest.cc ('k') | services/shell/public/cpp/lib/interface_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698