| Index: remoting/client/plugin/pepper_packet_socket_factory.cc
|
| diff --git a/remoting/client/plugin/pepper_packet_socket_factory.cc b/remoting/client/plugin/pepper_packet_socket_factory.cc
|
| index 2960a7f4b3812aa9c2d767a5357557e89ba656b4..e1b7ed24b1a56c37f020f244f286018b26453c70 100644
|
| --- a/remoting/client/plugin/pepper_packet_socket_factory.cc
|
| +++ b/remoting/client/plugin/pepper_packet_socket_factory.cc
|
| @@ -91,8 +91,8 @@ class UdpPacketSocket : public rtc::AsyncPacketSocket {
|
| // |min_port| and |max_port| are set to zero if the port number
|
| // should be assigned by the OS.
|
| bool Init(const rtc::SocketAddress& local_address,
|
| - int min_port,
|
| - int max_port);
|
| + uint16 min_port,
|
| + uint16 max_port);
|
|
|
| // rtc::AsyncPacketSocket interface.
|
| rtc::SocketAddress GetLocalAddress() const override;
|
| @@ -183,8 +183,8 @@ UdpPacketSocket::~UdpPacketSocket() {
|
| }
|
|
|
| bool UdpPacketSocket::Init(const rtc::SocketAddress& local_address,
|
| - int min_port,
|
| - int max_port) {
|
| + uint16 min_port,
|
| + uint16 max_port) {
|
| if (socket_.is_null()) {
|
| return false;
|
| }
|
| @@ -409,8 +409,8 @@ PepperPacketSocketFactory::~PepperPacketSocketFactory() {
|
|
|
| rtc::AsyncPacketSocket* PepperPacketSocketFactory::CreateUdpSocket(
|
| const rtc::SocketAddress& local_address,
|
| - int min_port,
|
| - int max_port) {
|
| + uint16 min_port,
|
| + uint16 max_port) {
|
| scoped_ptr<UdpPacketSocket> result(new UdpPacketSocket(pp_instance_));
|
| if (!result->Init(local_address, min_port, max_port))
|
| return NULL;
|
| @@ -419,8 +419,8 @@ rtc::AsyncPacketSocket* PepperPacketSocketFactory::CreateUdpSocket(
|
|
|
| rtc::AsyncPacketSocket* PepperPacketSocketFactory::CreateServerTcpSocket(
|
| const rtc::SocketAddress& local_address,
|
| - int min_port,
|
| - int max_port,
|
| + uint16 min_port,
|
| + uint16 max_port,
|
| int opts) {
|
| // We don't use TCP sockets for remoting connections.
|
| NOTREACHED();
|
|
|