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

Unified Diff: net/base/ip_endpoint.h

Issue 754433003: Update from https://crrev.com/305340 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « net/base/host_port_pair.cc ('k') | net/base/ip_endpoint.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/ip_endpoint.h
diff --git a/net/base/ip_endpoint.h b/net/base/ip_endpoint.h
index 5e5d9c19684e63a27959ee8cdd85eb5d9a202bc9..c2639b161d6f41dac152be0e7007afb484c5d4c9 100644
--- a/net/base/ip_endpoint.h
+++ b/net/base/ip_endpoint.h
@@ -24,11 +24,11 @@ class NET_EXPORT IPEndPoint {
public:
IPEndPoint();
~IPEndPoint();
- IPEndPoint(const IPAddressNumber& address, int port);
+ IPEndPoint(const IPAddressNumber& address, uint16 port);
IPEndPoint(const IPEndPoint& endpoint);
const IPAddressNumber& address() const { return address_; }
- int port() const { return port_; }
+ uint16 port() const { return port_; }
// Returns AddressFamily of the address.
AddressFamily GetFamily() const;
@@ -66,7 +66,7 @@ class NET_EXPORT IPEndPoint {
private:
IPAddressNumber address_;
- int port_;
+ uint16 port_;
};
} // namespace net
« no previous file with comments | « net/base/host_port_pair.cc ('k') | net/base/ip_endpoint.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698