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

Unified Diff: services/catalog/reader.cc

Issue 2172673002: Move Service packages from Mojo Applications -> Packages dir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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/constants.cc ('k') | services/shell/public/constants.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/reader.cc
diff --git a/services/catalog/reader.cc b/services/catalog/reader.cc
index 4d08eb034ed960c058e792d9140c635f12163866..7439f30876bb4702afb76312dedb776047ccb831 100644
--- a/services/catalog/reader.cc
+++ b/services/catalog/reader.cc
@@ -27,7 +27,7 @@ base::FilePath GetManifestPath(const base::FilePath& package_dir,
std::string type = shell::GetNameType(name);
std::string path = shell::GetNamePath(name);
if (type == shell::kNameType_Mojo) {
- return package_dir.AppendASCII(kMojoApplicationsDirName).AppendASCII(
+ return package_dir.AppendASCII(kPackagesDirName).AppendASCII(
path + "/manifest.json");
}
if (type == shell::kNameType_Exe)
@@ -127,7 +127,7 @@ std::unique_ptr<Entry> ReadManifest(const base::FilePath& package_dir,
if (!entry) {
entry.reset(new Entry(mojo_name));
entry->set_path(GetExecutablePath(
- package_dir.AppendASCII(kMojoApplicationsDirName), mojo_name));
+ package_dir.AppendASCII(kPackagesDirName), mojo_name));
}
return entry;
}
« no previous file with comments | « services/catalog/constants.cc ('k') | services/shell/public/constants.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698