Index: content/renderer/p2p/ipc_socket_factory.cc |
diff --git a/content/renderer/p2p/ipc_socket_factory.cc b/content/renderer/p2p/ipc_socket_factory.cc |
index 97de7d71a52b88b219c019132c7a34abd795119e..779bb216dd5f3b9037e59321ed4842376c7eaf90 100644 |
--- a/content/renderer/p2p/ipc_socket_factory.cc |
+++ b/content/renderer/p2p/ipc_socket_factory.cc |
@@ -4,10 +4,13 @@ |
#include "content/renderer/p2p/ipc_socket_factory.h" |
+#include <stddef.h> |
+ |
#include <algorithm> |
#include <list> |
#include "base/compiler_specific.h" |
+#include "base/macros.h" |
#include "base/message_loop/message_loop.h" |
#include "base/metrics/field_trial.h" |
#include "base/metrics/histogram.h" |
@@ -736,7 +739,9 @@ IpcPacketSocketFactory::~IpcPacketSocketFactory() { |
} |
rtc::AsyncPacketSocket* IpcPacketSocketFactory::CreateUdpSocket( |
- const rtc::SocketAddress& local_address, uint16 min_port, uint16 max_port) { |
+ const rtc::SocketAddress& local_address, |
+ uint16_t min_port, |
+ uint16_t max_port) { |
rtc::SocketAddress crome_address; |
P2PSocketClientImpl* socket_client = |
new P2PSocketClientImpl(socket_dispatcher_); |
@@ -751,7 +756,9 @@ rtc::AsyncPacketSocket* IpcPacketSocketFactory::CreateUdpSocket( |
} |
rtc::AsyncPacketSocket* IpcPacketSocketFactory::CreateServerTcpSocket( |
- const rtc::SocketAddress& local_address, uint16 min_port, uint16 max_port, |
+ const rtc::SocketAddress& local_address, |
+ uint16_t min_port, |
+ uint16_t max_port, |
int opts) { |
// TODO(sergeyu): Implement SSL support. |
if (opts & rtc::PacketSocketFactory::OPT_SSLTCP) |