| Index: net/base/url_util.h
|
| diff --git a/net/base/url_util.h b/net/base/url_util.h
|
| index a86a9e02d4021f891bbbcda68e3f9d4eeb5f83d0..dc9ae0cc0169f8340bfa4bdaddf53342df7cbeeb 100644
|
| --- a/net/base/url_util.h
|
| +++ b/net/base/url_util.h
|
| @@ -132,6 +132,11 @@ NET_EXPORT std::string CanonicalizeHost(base::StringPiece host,
|
| // CanonicalizeHost(), or you may not get accurate results.
|
| NET_EXPORT bool IsCanonicalizedHostCompliant(const std::string& host);
|
|
|
| +// Returns true if |hostname| contains a non-registerable or non-assignable
|
| +// domain name (eg: a gTLD that has not been assigned by IANA) or an IP address
|
| +// that falls in an IANA-reserved range.
|
| +NET_EXPORT bool IsHostnameNonUnique(const std::string& hostname);
|
| +
|
| // Strip the portions of |url| that aren't core to the network request.
|
| // - user name / password
|
| // - reference section
|
|
|