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

Unified Diff: url/third_party/mozilla/url_parse.h

Issue 23460053: Allow tail to not be trimmed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « url/gurl_unittest.cc ('k') | url/third_party/mozilla/url_parse.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/third_party/mozilla/url_parse.h
diff --git a/url/third_party/mozilla/url_parse.h b/url/third_party/mozilla/url_parse.h
index 345d1a6670080e563531920170a5552112efa44b..25612ea911ae84ad2ba31c67cfd885011d1e56b8 100644
--- a/url/third_party/mozilla/url_parse.h
+++ b/url/third_party/mozilla/url_parse.h
@@ -238,10 +238,12 @@ URL_EXPORT void ParseStandardURL(const base::char16* url,
// section but that aren't file URLs either. The scheme is parsed, and
// everything after the scheme is considered as the path. This is used for
// things like "about:" and "javascript:"
-URL_EXPORT void ParsePathURL(const char* url, int url_len, Parsed* parsed);
+URL_EXPORT void ParsePathURL(const char* url, int url_len, Parsed* parsed,
+ bool trim_tail = true);
URL_EXPORT void ParsePathURL(const base::char16* url,
int url_len,
- Parsed* parsed);
+ Parsed* parsed,
+ bool trim_tail = true);
// FileURL is for file URLs. There are some special rules for interpreting
// these.
« no previous file with comments | « url/gurl_unittest.cc ('k') | url/third_party/mozilla/url_parse.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698