aboutsummaryrefslogtreecommitdiff
path: root/webrtc/p2p/base/tcpport.cc
diff options
context:
space:
mode:
authorPeter Boström <pbos@webrtc.org>2015-10-07 12:23:21 +0200
committerPeter Boström <pbos@webrtc.org>2015-10-07 10:23:32 +0000
commit0c4e06b4c6107a1b94f764e279e4fb4161e905b0 (patch)
treeb0e40786378df3e3118c577e7890414669e536c5 /webrtc/p2p/base/tcpport.cc
parent8d15bd6dabae829d27443e17f2f02cfbe6fa6525 (diff)
downloadwebrtc-0c4e06b4c6107a1b94f764e279e4fb4161e905b0.tar.gz
Use suffixed {uint,int}{8,16,32,64}_t types.
Removes the use of uint8, etc. in favor of uint8_t. BUG=webrtc:5024 R=henrik.lundin@webrtc.org, henrikg@webrtc.org, perkj@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, tina.legrand@webrtc.org Review URL: https://codereview.webrtc.org/1362503003 . Cr-Commit-Position: refs/heads/master@{#10196}
Diffstat (limited to 'webrtc/p2p/base/tcpport.cc')
-rw-r--r--webrtc/p2p/base/tcpport.cc15
1 files changed, 11 insertions, 4 deletions
diff --git a/webrtc/p2p/base/tcpport.cc b/webrtc/p2p/base/tcpport.cc
index 86982b01c6..2590d0aca8 100644
--- a/webrtc/p2p/base/tcpport.cc
+++ b/webrtc/p2p/base/tcpport.cc
@@ -76,13 +76,20 @@ TCPPort::TCPPort(rtc::Thread* thread,
rtc::PacketSocketFactory* factory,
rtc::Network* network,
const rtc::IPAddress& ip,
- uint16 min_port,
- uint16 max_port,
+ uint16_t min_port,
+ uint16_t max_port,
const std::string& username,
const std::string& password,
bool allow_listen)
- : Port(thread, LOCAL_PORT_TYPE, factory, network, ip, min_port, max_port,
- username, password),
+ : Port(thread,
+ LOCAL_PORT_TYPE,
+ factory,
+ network,
+ ip,
+ min_port,
+ max_port,
+ username,
+ password),
incoming_only_(false),
allow_listen_(allow_listen),
socket_(NULL),