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

Unified Diff: mojo/shell/mojo_url_resolver.h

Issue 414633003: Mojo: Set a default value for the --origin command line switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactored Created 6 years, 5 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 | « mojo/examples/wget/wget.cc ('k') | mojo/shell/mojo_url_resolver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/mojo_url_resolver.h
diff --git a/mojo/shell/mojo_url_resolver.h b/mojo/shell/mojo_url_resolver.h
index c82845c642c2149762e8d786f0673989cbf8eb8b..ccd9bf4eeea732c51a33d65f620694325990afd2 100644
--- a/mojo/shell/mojo_url_resolver.h
+++ b/mojo/shell/mojo_url_resolver.h
@@ -31,7 +31,7 @@ class MojoURLResolver {
void AddCustomMapping(const GURL& mojo_url, const GURL& resolved_url);
// Add a local file mapping for a particular "mojo:" URL. This causes the
- // "mojo:" URL to be resolved to an base::DIR_EXE-relative shared library.
+ // "mojo:" URL to be resolved to a base::DIR_MODULE-relative shared library.
void AddLocalFileMapping(const GURL& mojo_url);
// Resolve the given "mojo:" URL to the URL that should be used to fetch the
@@ -41,6 +41,7 @@ class MojoURLResolver {
private:
std::map<GURL, GURL> url_map_;
std::set<GURL> local_file_set_;
+ GURL default_base_url_;
GURL base_url_;
};
« no previous file with comments | « mojo/examples/wget/wget.cc ('k') | mojo/shell/mojo_url_resolver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698