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

Unified Diff: url/url_util.h

Issue 23526048: Support URL fragment resolution againt non-hierarchical schemes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clea 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/url_parse_unittest.cc ('k') | url/url_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url_util.h
diff --git a/url/url_util.h b/url/url_util.h
index 44948190e3c49e834622bd94dc368f58eac7f232..1b32350ebcf566bf3e82d09ebd52f940ffcba8e5 100644
--- a/url/url_util.h
+++ b/url/url_util.h
@@ -114,12 +114,14 @@ URL_EXPORT bool Canonicalize(const char* spec,
int spec_len,
url_canon::CharsetConverter* charset_converter,
url_canon::CanonOutput* output,
- url_parse::Parsed* output_parsed);
+ url_parse::Parsed* output_parsed,
+ bool trim_tail = true);
URL_EXPORT bool Canonicalize(const base::char16* spec,
int spec_len,
url_canon::CharsetConverter* charset_converter,
url_canon::CanonOutput* output,
- url_parse::Parsed* output_parsed);
+ url_parse::Parsed* output_parsed,
+ bool trim_tail = true);
// Resolves a potentially relative URL relative to the given parsed base URL.
// The base MUST be valid. The resulting canonical URL and parsed information
« no previous file with comments | « url/url_parse_unittest.cc ('k') | url/url_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698