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

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

Issue 2427443002: Replace remaining shell references with service manager (Closed)
Patch Set: Created 4 years, 2 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/background/tests/test_catalog_store.cc
diff --git a/services/service_manager/background/tests/test_catalog_store.cc b/services/service_manager/background/tests/test_catalog_store.cc
index b2cf09a5a1c4725516783b44c430f7edd90df435..6fedf7a53d06659ae56ec40f216be905c39e6c8c 100644
--- a/services/service_manager/background/tests/test_catalog_store.cc
+++ b/services/service_manager/background/tests/test_catalog_store.cc
@@ -35,7 +35,8 @@ std::unique_ptr<base::DictionaryValue> BuildPermissiveSerializedAppInfo(
std::unique_ptr<base::ListValue> provided_classes_list(
new base::ListValue);
provided_classes_list->AppendString("service_manager::mojom::TestService");
- provided_classes->Set("shell:test_service", std::move(provided_classes_list));
+ provided_classes->Set("service_manager:test_service",
+ std::move(provided_classes_list));
capabilities->Set(Store::kCapabilities_ProvidedKey,
std::move(provided_classes));
std::unique_ptr<base::DictionaryValue> required_capabilities(
@@ -43,7 +44,7 @@ std::unique_ptr<base::DictionaryValue> BuildPermissiveSerializedAppInfo(
std::unique_ptr<base::DictionaryValue> classes_dictionary(
new base::DictionaryValue);
std::unique_ptr<base::ListValue> classes_list(new base::ListValue);
- classes_list->AppendString("shell:test_service");
+ classes_list->AppendString("service_manager:test_service");
classes_dictionary->Set("classes", std::move(classes_list));
required_capabilities->Set("*", std::move(classes_dictionary));
capabilities->Set(Store::kCapabilities_RequiredKey,

Powered by Google App Engine
This is Rietveld 408576698