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

Unified Diff: net/base/ip_endpoint.h

Issue 1565303002: Change IPEndpoint::address() to return a net::IPAddress (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android 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_endpoint.h
diff --git a/net/base/ip_endpoint.h b/net/base/ip_endpoint.h
index 07ef3841d1e7303ca67e5289324dff32d68b29c3..e44cd1d89da6ebf118151bb44703b85576fe8718 100644
--- a/net/base/ip_endpoint.h
+++ b/net/base/ip_endpoint.h
@@ -33,7 +33,7 @@ class NET_EXPORT IPEndPoint {
IPEndPoint(const IPAddress& address, uint16_t port);
IPEndPoint(const IPEndPoint& endpoint);
- const IPAddressNumber& address() const { return address_; }
+ const IPAddressNumber& address_number() const { return address_; }
uint16_t port() const { return port_; }
// Returns AddressFamily of the address.

Powered by Google App Engine
This is Rietveld 408576698