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

Unified Diff: shell/context.cc

Issue 967563002: Rename sample_app -> spinning_cube. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Rebase. Created 5 years, 10 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 | « examples/surfaces_app/child_gl_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/context.cc
diff --git a/shell/context.cc b/shell/context.cc
index d2e286f1c1aaafd7360ab819706f4a32bb492f22..b4ea0f2f199d80db51de1589a893e68dcf086a53 100644
--- a/shell/context.cc
+++ b/shell/context.cc
@@ -125,6 +125,9 @@ bool ConfigureURLMappings(base::CommandLine* command_line, Context* context) {
GURL("mojo:network_service"),
context->ResolveShellFileURL("file:network_service.mojo"));
+ // Temporary mapping to avoid workflow breakages after app rename.
+ resolver->AddURLMapping(GURL("mojo:sample_app"), GURL("mojo:spinning_cube"));
+
// Command line URL mapping.
std::vector<URLResolver::OriginMapping> origin_mappings =
URLResolver::GetOriginMappings(command_line->argv());
« no previous file with comments | « examples/surfaces_app/child_gl_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698