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

Unified Diff: mash/package/mash_packaged_service.cc

Issue 2390013002: Rename mojo: to service: (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 | « mash/login/manifest.json ('k') | mash/quick_launch/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/package/mash_packaged_service.cc
diff --git a/mash/package/mash_packaged_service.cc b/mash/package/mash_packaged_service.cc
index 513653421a70df13bb51e8f84c71766a33f3f0ea..bf843cc25f4e22c9ac93b8897ddb88ddac4ccd82 100644
--- a/mash/package/mash_packaged_service.cc
+++ b/mash/package/mash_packaged_service.cc
@@ -56,27 +56,27 @@ void MashPackagedService::CreateService(shell::mojom::ServiceRequest request,
// Please see header file for details on adding new services.
std::unique_ptr<shell::Service> MashPackagedService::CreateService(
const std::string& name) {
- if (name == "mojo:ash")
+ if (name == "service:ash")
return base::WrapUnique(new ash::mus::WindowManagerApplication);
- if (name == "mojo:accessibility_autoclick")
+ if (name == "service:accessibility_autoclick")
return base::WrapUnique(new ash::autoclick::AutoclickApplication);
- if (name == "mojo:touch_hud")
+ if (name == "service:touch_hud")
return base::WrapUnique(new ash::touch_hud::TouchHudApplication);
- if (name == "mojo:mash_session")
+ if (name == "service:mash_session")
return base::WrapUnique(new mash::session::Session);
- if (name == "mojo:ui")
+ if (name == "service:ui")
return base::WrapUnique(new ui::Service);
- if (name == "mojo:quick_launch")
+ if (name == "service:quick_launch")
return base::WrapUnique(new mash::quick_launch::QuickLaunch);
- if (name == "mojo:task_viewer")
+ if (name == "service:task_viewer")
return base::WrapUnique(new mash::task_viewer::TaskViewer);
- if (name == "mojo:test_ime_driver")
+ if (name == "service:test_ime_driver")
return base::WrapUnique(new ui::test::TestIMEApplication);
#if defined(OS_LINUX)
- if (name == "mojo:font_service")
+ if (name == "service:font_service")
return base::WrapUnique(new font_service::FontServiceApp);
#endif
- if (name == "mojo:app_driver")
+ if (name == "service:app_driver")
return base::WrapUnique(new mash::app_driver::AppDriver);
return nullptr;
}
« no previous file with comments | « mash/login/manifest.json ('k') | mash/quick_launch/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698