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

Unified Diff: content/utility/utility_service_factory.cc

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (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
« no previous file with comments | « content/shell/utility/shell_content_utility_client.cc ('k') | services/file/user_id_map.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/utility/utility_service_factory.cc
diff --git a/content/utility/utility_service_factory.cc b/content/utility/utility_service_factory.cc
index 69aeea97478de4e24136135675a226bb7c422df4..60be6b06e344188869a5b811fbea0fd5974c7c51 100644
--- a/content/utility/utility_service_factory.cc
+++ b/content/utility/utility_service_factory.cc
@@ -21,13 +21,12 @@ UtilityServiceFactory::UtilityServiceFactory() {}
UtilityServiceFactory::~UtilityServiceFactory() {}
void UtilityServiceFactory::RegisterServices(ServiceMap* services) {
- GetContentClient()->utility()->RegisterMojoApplications(services);
+ GetContentClient()->utility()->RegisterServices(services);
#if defined(ENABLE_MOJO_MEDIA_IN_UTILITY_PROCESS)
- MojoApplicationInfo service_info;
- service_info.application_factory =
- base::Bind(&media::CreateMojoMediaApplication);
- services->insert(std::make_pair("service:media", service_info));
+ ServiceInfo info;
+ info.factory = base::Bind(&media::CreateMojoMediaApplication);
+ services->insert(std::make_pair("service:media", info));
#endif
}
« no previous file with comments | « content/shell/utility/shell_content_utility_client.cc ('k') | services/file/user_id_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698