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

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: Follow review 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
« no previous file with comments | « mojo/services/window_manager/window_manager_api_unittest.cc ('k') | mojo/shell/desktop/mojo_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/context.cc
diff --git a/mojo/shell/context.cc b/mojo/shell/context.cc
index d7f8e30d5428a96063bd775e4b8572b6589b9fdd..62ff819e7fc868ace3b1507b00d9dbbce8aaceff 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(
« no previous file with comments | « mojo/services/window_manager/window_manager_api_unittest.cc ('k') | mojo/shell/desktop/mojo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698