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

Unified Diff: components/resource_provider/file_utils.cc

Issue 1850623004: Create .mojo applications in a common subdir under out/Debug (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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 | « components/mus/BUILD.gn ('k') | mojo/public/mojo_application.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/resource_provider/file_utils.cc
diff --git a/components/resource_provider/file_utils.cc b/components/resource_provider/file_utils.cc
index 9c3948eccef1b48cf23845948f82c0ef271cfcf1..b8063da1c7221848428295deae3f5b293b9c269b 100644
--- a/components/resource_provider/file_utils.cc
+++ b/components/resource_provider/file_utils.cc
@@ -69,7 +69,9 @@ base::FilePath GetPathForApplicationName(const std::string& application_name) {
#else
PathService::Get(base::DIR_EXE, &base_path);
#endif
- return base_path.AppendASCII(path).AppendASCII("resources");
+ // TODO(beng): this won't handle user-specific components.
+ return base_path.AppendASCII("Mojo Applications").AppendASCII(path).
+ AppendASCII("resources");
}
base::FilePath GetPathForResourceNamed(const base::FilePath& app_path,
« no previous file with comments | « components/mus/BUILD.gn ('k') | mojo/public/mojo_application.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698