Index: net/base/ip_address.h |
diff --git a/net/base/ip_address.h b/net/base/ip_address.h |
index ed76a7630485ce5c16da11fab205c918afdc65b0..f1f244e7fbf5877e06fa87b88d90d8a3107d9509 100644 |
--- a/net/base/ip_address.h |
+++ b/net/base/ip_address.h |
@@ -95,6 +95,12 @@ class NET_EXPORT IPAddress { |
// Returns an IPAddress made up of |num_zero_bytes| zeros. |
static IPAddress AllZeros(size_t num_zero_bytes); |
+ // Returns an IPAddress instance representing the 0.0.0.0 address. |
+ static IPAddress IPv4AllZeros(); |
+ |
+ // Returns an IPAddress instance representing the :: address. |
+ static IPAddress IPv6AllZeros(); |
+ |
bool operator==(const IPAddress& that) const; |
bool operator!=(const IPAddress& that) const; |
bool operator<(const IPAddress& that) const; |