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

Unified Diff: net/base/address_list.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/address_list.h
diff --git a/net/base/address_list.h b/net/base/address_list.h
index f271dfcd4cf93a7b8d0fe861eae22c06c1ecf2af..4d793e7ebd27d718d34578d8561554fc849b3506 100644
--- a/net/base/address_list.h
+++ b/net/base/address_list.h
@@ -29,7 +29,7 @@ class NET_EXPORT AddressList
explicit AddressList(const IPEndPoint& endpoint);
static AddressList CreateFromIPAddress(const IPAddressNumber& address,
- uint16 port);
+ uint16_t port);
static AddressList CreateFromIPAddressList(
const IPAddressList& addresses,
@@ -39,7 +39,7 @@ class NET_EXPORT AddressList
static AddressList CreateFromAddrinfo(const struct addrinfo* head);
// Returns a copy of |list| with port on each element set to |port|.
- static AddressList CopyWithPort(const AddressList& list, uint16 port);
+ static AddressList CopyWithPort(const AddressList& list, uint16_t port);
// TODO(szym): Remove all three. http://crbug.com/126134
const std::string& canonical_name() const {

Powered by Google App Engine
This is Rietveld 408576698