Index: net/socket/server_socket.h |
diff --git a/net/socket/server_socket.h b/net/socket/server_socket.h |
index 828b399c7a86dc7966f9c5acc6da47d99613899d..41894338e8a558ef78d33d90a1234b7549113067 100644 |
--- a/net/socket/server_socket.h |
+++ b/net/socket/server_socket.h |
@@ -5,9 +5,11 @@ |
#ifndef NET_SOCKET_SERVER_SOCKET_H_ |
#define NET_SOCKET_SERVER_SOCKET_H_ |
+#include <stdint.h> |
+ |
#include <string> |
-#include "base/basictypes.h" |
+#include "base/macros.h" |
#include "base/memory/scoped_ptr.h" |
#include "net/base/completion_callback.h" |
#include "net/base/net_export.h" |
@@ -31,7 +33,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, |
- uint16 port, |
+ uint16_t port, |
int backlog); |
// Gets current address the socket is bound to. |