Index: webrtc/p2p/base/basicpacketsocketfactory.cc |
diff --git a/webrtc/p2p/base/basicpacketsocketfactory.cc b/webrtc/p2p/base/basicpacketsocketfactory.cc |
index 9b12e78d876997b880a3d2e8607bb369a65d7026..697518da9d0508cfcec888306b133514307726c7 100644 |
--- a/webrtc/p2p/base/basicpacketsocketfactory.cc |
+++ b/webrtc/p2p/base/basicpacketsocketfactory.cc |
@@ -44,7 +44,9 @@ BasicPacketSocketFactory::~BasicPacketSocketFactory() { |
} |
AsyncPacketSocket* BasicPacketSocketFactory::CreateUdpSocket( |
- const SocketAddress& address, uint16 min_port, uint16 max_port) { |
+ const SocketAddress& address, |
+ uint16_t min_port, |
+ uint16_t max_port) { |
// UDP sockets are simple. |
rtc::AsyncSocket* socket = |
socket_factory()->CreateAsyncSocket( |
@@ -62,9 +64,10 @@ AsyncPacketSocket* BasicPacketSocketFactory::CreateUdpSocket( |
} |
AsyncPacketSocket* BasicPacketSocketFactory::CreateServerTcpSocket( |
- const SocketAddress& local_address, uint16 min_port, uint16 max_port, |
+ const SocketAddress& local_address, |
+ uint16_t min_port, |
+ uint16_t max_port, |
int opts) { |
- |
// Fail if TLS is required. |
if (opts & PacketSocketFactory::OPT_TLS) { |
LOG(LS_ERROR) << "TLS support currently is not available."; |
@@ -176,9 +179,10 @@ AsyncResolverInterface* BasicPacketSocketFactory::CreateAsyncResolver() { |
return new rtc::AsyncResolver(); |
} |
-int BasicPacketSocketFactory::BindSocket( |
- AsyncSocket* socket, const SocketAddress& local_address, |
- uint16 min_port, uint16 max_port) { |
+int BasicPacketSocketFactory::BindSocket(AsyncSocket* socket, |
+ const SocketAddress& local_address, |
+ uint16_t min_port, |
+ uint16_t max_port) { |
int ret = -1; |
if (min_port == 0 && max_port == 0) { |
// If there's no port range, let the OS pick a port for us. |