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

Unified Diff: shell/context.cc

Issue 859863002: Fix shell URL resolver. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « shell/context.h ('k') | shell/mojo_url_resolver.h » ('j') | 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 5f776e3fa1f8dcda6c962c85821885a0c6ca82da..37f83481d3f63c3df1be6fd6f4f8c66b8b68640c 100644
--- a/shell/context.cc
+++ b/shell/context.cc
@@ -209,6 +209,10 @@ GURL Context::ResolveURL(const GURL& url) {
return mojo_url_resolver_.Resolve(url);
}
+GURL Context::ResolveMappings(const GURL& url) {
+ return mojo_url_resolver_.ApplyCustomMappings(url);
+}
+
void Context::Run(const GURL& url) {
ServiceProviderPtr services;
ServiceProviderPtr exposed_services;
« no previous file with comments | « shell/context.h ('k') | shell/mojo_url_resolver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698