| Index: net/base/ip_endpoint.h
|
| diff --git a/net/base/ip_endpoint.h b/net/base/ip_endpoint.h
|
| index 575040f2a30c6f42400eaf53cad76993086ec016..07ef3841d1e7303ca67e5289324dff32d68b29c3 100644
|
| --- a/net/base/ip_endpoint.h
|
| +++ b/net/base/ip_endpoint.h
|
| @@ -19,6 +19,8 @@ struct sockaddr;
|
|
|
| namespace net {
|
|
|
| +class IPAddress;
|
| +
|
| // An IPEndPoint represents the address of a transport endpoint:
|
| // * IP address (either v4 or v6)
|
| // * Port
|
| @@ -26,7 +28,9 @@ class NET_EXPORT IPEndPoint {
|
| public:
|
| IPEndPoint();
|
| ~IPEndPoint();
|
| + // DEPRECATED(crbug.com/496258): Use the ctor that takes IPAddress instead.
|
| IPEndPoint(const IPAddressNumber& address, uint16_t port);
|
| + IPEndPoint(const IPAddress& address, uint16_t port);
|
| IPEndPoint(const IPEndPoint& endpoint);
|
|
|
| const IPAddressNumber& address() const { return address_; }
|
|
|