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

Unified Diff: net/socket/server_socket.h

Issue 718273002: Use uint16 for port numbers, net/ edition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment 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
Index: net/socket/server_socket.h
diff --git a/net/socket/server_socket.h b/net/socket/server_socket.h
index 4b9ca8e39cfa0c35e0948fe30ac7152d022c7b11..ab77a8e90158997a341260cf23059fed7431b78a 100644
--- a/net/socket/server_socket.h
+++ b/net/socket/server_socket.h
@@ -30,7 +30,7 @@ class NET_EXPORT ServerSocket {
// Subclasses may override this function if |address_string| is in a different
// format, for example, unix domain socket path.
virtual int ListenWithAddressAndPort(const std::string& address_string,
- int port,
+ uint16 port,
mmenke 2014/11/18 21:06:39 include basictypes.h
Peter Kasting 2014/11/18 23:38:43 Done.
int backlog);
// Gets current address the socket is bound to.

Powered by Google App Engine
This is Rietveld 408576698