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

Unified Diff: net/base/ip_endpoint.h

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 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 c1facda7bbe0c47a11865472a752fa64d24b22d4..a54a367b8af61df35dedf82f124c453eaabecb22 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, uint16 port);
+ IPEndPoint(const IPAddressNumber& address, uint16_t port);
IPEndPoint(const IPEndPoint& endpoint);
const IPAddressNumber& address() const { return address_; }
- uint16 port() const { return port_; }
+ uint16_t port() const { return port_; }
// Returns AddressFamily of the address.
AddressFamily GetFamily() const;
@@ -65,7 +65,7 @@ class NET_EXPORT IPEndPoint {
private:
IPAddressNumber address_;
- uint16 port_;
+ uint16_t port_;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698