| Index: net/base/ip_endpoint.h
|
| diff --git a/net/base/ip_endpoint.h b/net/base/ip_endpoint.h
|
| index a1c12296b3dca8b9b91913f1722e1187ebd8468e..34b378bdda365d1b16c9ba08743d36ae908f8f07 100644
|
| --- a/net/base/ip_endpoint.h
|
| +++ b/net/base/ip_endpoint.h
|
| @@ -57,12 +57,11 @@
|
| bool FromSockAddr(const struct sockaddr* address, socklen_t address_length)
|
| WARN_UNUSED_RESULT;
|
|
|
| - // Returns value as a string (e.g. "127.0.0.1:80"). Returns the empty string
|
| - // when |address_| is invalid (the port will be ignored).
|
| + // Returns value as a string (e.g. "127.0.0.1:80"). The IP address must be
|
| + // valid.
|
| std::string ToString() const;
|
|
|
| - // As above, but without port. Returns the empty string when address_ is
|
| - // invalid.
|
| + // As above, but without port.
|
| std::string ToStringWithoutPort() const;
|
|
|
| bool operator<(const IPEndPoint& that) const;
|
|
|