Index: net/base/net_util.h |
diff --git a/net/base/net_util.h b/net/base/net_util.h |
index c74dfd2ea48486b08e16be9fdb700b9d99f06bd0..364d41ebd50dccf77a92cb8c1fd908b667c80cc0 100644 |
--- a/net/base/net_util.h |
+++ b/net/base/net_util.h |
@@ -372,11 +372,6 @@ |
// Maps the given AddressFamily to either AF_INET, AF_INET6 or AF_UNSPEC. |
NET_EXPORT_PRIVATE int ConvertAddressFamily(AddressFamily address_family); |
-// Parses a URL-safe IP literal (see RFC 3986, Sec 3.2.2) to its numeric value. |
-// Returns true on success, and fills |ip_number| with the numeric value |
-NET_EXPORT bool ParseURLHostnameToNumber(const std::string& hostname, |
- IPAddressNumber* ip_number); |
- |
// Parses an IP address literal (either IPv4 or IPv6) to its numeric value. |
// Returns true on success and fills |ip_number| with the numeric value. |
NET_EXPORT bool ParseIPLiteralToNumber(const std::string& ip_literal, |