| Index: net/base/net_util.h
|
| diff --git a/net/base/net_util.h b/net/base/net_util.h
|
| index 0b8dfc3981cd0f1c4a4ebb611d409ada7e7393bf..ecd7400cfa16e516a1d986ea76a807db5faa07a5 100644
|
| --- a/net/base/net_util.h
|
| +++ b/net/base/net_util.h
|
| @@ -438,6 +438,9 @@ bool HaveOnlyLoopbackAddresses();
|
| NET_EXPORT_PRIVATE AddressFamily GetAddressFamily(
|
| const IPAddressNumber& address);
|
|
|
| +// Maps the given AddressFamily to either AF_INET, AF_INET6 or AF_UNSPEC.
|
| +int ConvertAddressFamily(AddressFamily address_family);
|
| +
|
| // 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_PRIVATE bool ParseIPLiteralToNumber(const std::string& ip_literal,
|
|
|