| Index: net/base/ip_address_number.h
|
| diff --git a/net/base/ip_address_number.h b/net/base/ip_address_number.h
|
| index f8adb05ca6185fd0ff2dcd46ec4ad7b35bddd668..b1058758d9d1f3b91c7d4dfb264369b5b54a17ea 100644
|
| --- a/net/base/ip_address_number.h
|
| +++ b/net/base/ip_address_number.h
|
| @@ -9,6 +9,7 @@
|
| #include <vector>
|
|
|
| #include "base/basictypes.h"
|
| +#include "base/strings/string_piece.h"
|
| #include "net/base/net_export.h"
|
|
|
| namespace net {
|
| @@ -58,7 +59,7 @@ NET_EXPORT bool ParseURLHostnameToNumber(const std::string& hostname,
|
|
|
| // 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,
|
| +NET_EXPORT bool ParseIPLiteralToNumber(const base::StringPiece& ip_literal,
|
| IPAddressNumber* ip_number);
|
|
|
| // Converts an IPv4 address to an IPv4-mapped IPv6 address.
|
|
|