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

Unified Diff: services/catalog/instance.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 | « services/catalog/entry_unittest.cc ('k') | services/catalog/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/instance.cc
diff --git a/services/catalog/instance.cc b/services/catalog/instance.cc
index c22fc6128c5743c77a2e07c1a7806d3d3c4f8dbb..d5ee23fe45171b35ef62a0b61ce26bbbb33cd88d 100644
--- a/services/catalog/instance.cc
+++ b/services/catalog/instance.cc
@@ -63,7 +63,7 @@ void Instance::ResolveMojoName(const std::string& mojo_name,
DCHECK(system_cache_);
std::string type = shell::GetNameType(mojo_name);
- if (type != shell::kNameType_Mojo && type != shell::kNameType_Exe) {
+ if (type != shell::kNameType_Service && type != shell::kNameType_Exe) {
std::unique_ptr<Entry> entry(new Entry(mojo_name));
shell::mojom::ResolveResultPtr result =
shell::mojom::ResolveResult::From(*entry);
« no previous file with comments | « services/catalog/entry_unittest.cc ('k') | services/catalog/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698