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

Unified Diff: shell/mojo_url_resolver.h

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.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/mojo_url_resolver.h
diff --git a/shell/mojo_url_resolver.h b/shell/mojo_url_resolver.h
index 60e2a3470b9f7e771e71bf3bb33bf6b66f3ffa21..1b5acbaa360e8c17683ea97fba053a1f70fbc9d3 100644
--- a/shell/mojo_url_resolver.h
+++ b/shell/mojo_url_resolver.h
@@ -45,12 +45,12 @@ class MojoURLResolver {
// code for the corresponding Mojo App.
GURL Resolve(const GURL& mojo_url) const;
- private:
// Applies all custom mappings for |url|, returning the last non-mapped url.
// For example, if 'a' maps to 'b' and 'b' maps to 'c' calling this with 'a'
// returns 'c'.
GURL ApplyCustomMappings(const GURL& url) const;
+ private:
std::map<GURL, GURL> url_map_;
std::set<GURL> local_file_set_;
GURL local_apps_url_;
« no previous file with comments | « shell/context.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698