Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1497)

Unified Diff: net/base/ip_address.h

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/ip_address.h
diff --git a/net/base/ip_address.h b/net/base/ip_address.h
index 69e6696fd6da3d3280669f8e57a3f3cc8f26b1ff..92a3ce8d3870d05afed9e69a8377b4339f8e3028 100644
--- a/net/base/ip_address.h
+++ b/net/base/ip_address.h
@@ -79,6 +79,7 @@ class NET_EXPORT IPAddress {
const std::vector<uint8_t>& bytes() const { return ip_address_; };
bool operator==(const IPAddress& that) const;
+ bool operator!=(const IPAddress& that) const;
bool operator<(const IPAddress& that) const;
private:

Powered by Google App Engine
This is Rietveld 408576698