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

Unified Diff: mojo/shell/context.cc

Issue 701933004: Change mojo url to always use mojo:foo instead of mojo://foo (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Remove calls to AddStandardScheme Created 6 years, 1 month 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/shell/context.cc
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc
index d7f8e30d5428a96063bd775e4b8572b6589b9fdd..b1edda5f495bddaf95cdd84a2acbe0adf93313a8 100644
--- a/mojo/shell/context.cc
+++ b/mojo/shell/context.cc
@@ -69,9 +69,9 @@ static base::LazyInstance<Setup>::Leaky setup = LAZY_INSTANCE_INITIALIZER;
void InitContentHandlers(DynamicApplicationLoader* loader,
base::CommandLine* command_line) {
// Default content handlers.
- loader->RegisterContentHandler("application/pdf", GURL("mojo://pdf_viewer/"));
- loader->RegisterContentHandler("image/png", GURL("mojo://png_viewer/"));
- loader->RegisterContentHandler("text/html", GURL("mojo://html_viewer/"));
+ loader->RegisterContentHandler("application/pdf", GURL("mojo:pdf_viewer/"));
+ loader->RegisterContentHandler("image/png", GURL("mojo:png_viewer/"));
+ loader->RegisterContentHandler("text/html", GURL("mojo:html_viewer/"));
// Command-line-specified content handlers.
std::string handlers_spec = command_line->GetSwitchValueASCII(

Powered by Google App Engine
This is Rietveld 408576698