diff options
author | mkwst <mkwst@chromium.org> | 2015-07-20 21:03:50 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-21 04:05:10 +0000 |
commit | 45f25db57639c0f41c80f20c11870d655fd48386 (patch) | |
tree | 3a829d5f4fb47d99a1ffad6c0160a8f9200bdb3f /url/gurl.h | |
parent | fbaf034c8b63dfec81e89f0f063754693eec1cf2 (diff) | |
download | chromium_src-45f25db57639c0f41c80f20c11870d655fd48386.zip chromium_src-45f25db57639c0f41c80f20c11870d655fd48386.tar.gz chromium_src-45f25db57639c0f41c80f20c11870d655fd48386.tar.bz2 |
Remove 'GURL::ResolveWithCharsetConverter'.
No callsites in Chromium use the method; in fact, the only place in
which the underlying 'url::ResolveRelative' is called with a converter
is from KURL.
R=brettw@chromium.org
Review URL: https://codereview.chromium.org/1246613002
Cr-Commit-Position: refs/heads/master@{#339608}
Diffstat (limited to 'url/gurl.h')
-rw-r--r-- | url/gurl.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -137,20 +137,6 @@ class URL_EXPORT GURL { GURL Resolve(const std::string& relative) const; GURL Resolve(const base::string16& relative) const; - // Like Resolve() above but takes a character set encoder which will be used - // for any query text specified in the input. The charset converter parameter - // may be NULL, in which case it will be treated as UTF-8. - // - // TODO(brettw): These should be replaced with versions that take something - // more friendly than a raw CharsetConverter (maybe like an ICU character set - // name). - GURL ResolveWithCharsetConverter( - const std::string& relative, - url::CharsetConverter* charset_converter) const; - GURL ResolveWithCharsetConverter( - const base::string16& relative, - url::CharsetConverter* charset_converter) const; - // Creates a new GURL by replacing the current URL's components with the // supplied versions. See the Replacements class in url_canon.h for more. // |