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

Unified Diff: mojo/runner/context.cc

Issue 1189703004: Reland: Build Mojo apps in sub-dirs, like application packages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup, move getAssetsList to FileHelper; rename local to cached. 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
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/android/tests/src/org/chromium/mojo/shell/ShellTestBase.java ('k') | mojo/runner/url_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698