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

Unified Diff: remoting/client/plugin/pepper_packet_socket_factory.cc

Issue 707713006: Update Chromium for webrtc r7656. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « remoting/client/plugin/pepper_packet_socket_factory.h ('k') | remoting/protocol/chromium_socket_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « remoting/client/plugin/pepper_packet_socket_factory.h ('k') | remoting/protocol/chromium_socket_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698