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

Unified Diff: url/url_canon.h

Issue 2159203002: Fix inconsistent values of anchor element IDL attributes compare to other vendors Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | « url/third_party/mozilla/url_parse.cc ('k') | url/url_canon_etc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/url_canon.h
diff --git a/url/url_canon.h b/url/url_canon.h
index 95d53453f64362efc98d8141c11691573eaae165..fb4736b58d056a86943a50f9b1d7ffef769ffd01 100644
--- a/url/url_canon.h
+++ b/url/url_canon.h
@@ -570,6 +570,20 @@ URL_EXPORT bool CanonicalizeMailtoURL(const base::char16* spec,
CanonOutput* output,
Parsed* new_parsed);
+// Use for URLs with unknown, non standard schemes.
+URL_EXPORT bool CanonicalizeNonStandardURL(const char* spec,
+ int spec_len,
+ const Parsed& parsed,
+ CharsetConverter* query_converter,
+ CanonOutput* output,
+ Parsed* new_parsed);
+URL_EXPORT bool CanonicalizeNonStandardURL(const base::char16* spec,
+ int spec_len,
+ const Parsed& parsed,
+ CharsetConverter* query_converter,
+ CanonOutput* output,
+ Parsed* new_parsed);
+
// Part replacer --------------------------------------------------------------
// Internal structure used for storing separate strings for each component.
« no previous file with comments | « url/third_party/mozilla/url_parse.cc ('k') | url/url_canon_etc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698