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

Unified Diff: content/shell/utility/shell_content_utility_client.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.h ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/utility/shell_content_utility_client.cc
diff --git a/content/shell/utility/shell_content_utility_client.cc b/content/shell/utility/shell_content_utility_client.cc
index 7581ceedfacfd0da99dc35c7238f578c80902883..1d7d5a3a7c00d15b53594a46c01f7f9e07cde91f 100644
--- a/content/shell/utility/shell_content_utility_client.cc
+++ b/content/shell/utility/shell_content_utility_client.cc
@@ -76,11 +76,10 @@ std::unique_ptr<shell::Service> CreateTestService(
ShellContentUtilityClient::~ShellContentUtilityClient() {
}
-void ShellContentUtilityClient::RegisterMojoApplications(
- StaticMojoApplicationMap* apps) {
- MojoApplicationInfo app_info;
- app_info.application_factory = base::Bind(&CreateTestService);
- apps->insert(std::make_pair(kTestServiceUrl, app_info));
+void ShellContentUtilityClient::RegisterServices(StaticServiceMap* services) {
+ ServiceInfo info;
+ info.factory = base::Bind(&CreateTestService);
+ services->insert(std::make_pair(kTestServiceUrl, info));
}
void ShellContentUtilityClient::ExposeInterfacesToBrowser(
« no previous file with comments | « content/shell/utility/shell_content_utility_client.h ('k') | content/utility/utility_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698