From 45f25db57639c0f41c80f20c11870d655fd48386 Mon Sep 17 00:00:00 2001 From: mkwst Date: Mon, 20 Jul 2015 21:03:50 -0700 Subject: 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} --- url/gurl.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'url/gurl.h') diff --git a/url/gurl.h b/url/gurl.h index bafafd8..a822195 100644 --- a/url/gurl.h +++ b/url/gurl.h @@ -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. // -- cgit v1.1