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

Unified Diff: shell/context.cc

Issue 967563002: Rename sample_app -> spinning_cube. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
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"));
qsr 2015/02/27 16:16:43 Not sure this is worth it. A mail on mojo-dev shou
ppi 2015/02/27 16:27:49 I intended to set the mapping, send the email, and
+
// Command line URL mapping.
std::vector<URLResolver::OriginMapping> origin_mappings =
URLResolver::GetOriginMappings(command_line->argv());
« examples/spinning_cube/gles2_client_impl.h ('K') | « 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