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

Unified Diff: mojo/runner/context.cc

Issue 1180653002: Build Mojo apps in subdirectories, like application packages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase; update tests. Created 5 years, 6 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 | « mojo/runner/BUILD.gn ('k') | mojo/runner/url_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/runner/context.cc
diff --git a/mojo/runner/context.cc b/mojo/runner/context.cc
index 57ee11dfc3a36fb07d7373487abd157ebc4603e3..c124529a621434bc6c012bbd51977949b52c2110 100644
--- a/mojo/runner/context.cc
+++ b/mojo/runner/context.cc
@@ -76,9 +76,9 @@ bool ConfigureURLMappings(const base::CommandLine& command_line,
// The network service must be loaded from the filesystem.
// This mapping is done before the command line URL mapping are processed, so
// that it can be overridden.
- resolver->AddURLMapping(
- GURL("mojo:network_service"),
- context->ResolveShellFileURL("file:network_service.mojo"));
+ resolver->AddURLMapping(GURL("mojo:network_service"),
+ context->ResolveShellFileURL(
+ "file:network_service/network_service.mojo"));
// Command line URL mapping.
std::vector<URLResolver::OriginMapping> origin_mappings =
« no previous file with comments | « mojo/runner/BUILD.gn ('k') | mojo/runner/url_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698