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

Side by Side Diff: webrtc/p2p/base/turnport.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 months 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 unified diff | Download patch
« no previous file with comments | « webrtc/p2p/base/transportcontroller.h ('k') | webrtc/p2p/base/turnport.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2012 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2012 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 int server_priority, 50 int server_priority,
51 const std::string& origin) { 51 const std::string& origin) {
52 return new TurnPort(thread, factory, network, socket, username, password, 52 return new TurnPort(thread, factory, network, socket, username, password,
53 server_address, credentials, server_priority, origin); 53 server_address, credentials, server_priority, origin);
54 } 54 }
55 55
56 static TurnPort* Create(rtc::Thread* thread, 56 static TurnPort* Create(rtc::Thread* thread,
57 rtc::PacketSocketFactory* factory, 57 rtc::PacketSocketFactory* factory,
58 rtc::Network* network, 58 rtc::Network* network,
59 const rtc::IPAddress& ip, 59 const rtc::IPAddress& ip,
60 uint16 min_port, 60 uint16_t min_port,
61 uint16 max_port, 61 uint16_t max_port,
62 const std::string& username, // ice username. 62 const std::string& username, // ice username.
63 const std::string& password, // ice password. 63 const std::string& password, // ice password.
64 const ProtocolAddress& server_address, 64 const ProtocolAddress& server_address,
65 const RelayCredentials& credentials, 65 const RelayCredentials& credentials,
66 int server_priority, 66 int server_priority,
67 const std::string& origin) { 67 const std::string& origin) {
68 return new TurnPort(thread, factory, network, ip, min_port, max_port, 68 return new TurnPort(thread, factory, network, ip, min_port, max_port,
69 username, password, server_address, credentials, 69 username, password, server_address, credentials,
70 server_priority, origin); 70 server_priority, origin);
71 } 71 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 const std::string& password, 142 const std::string& password,
143 const ProtocolAddress& server_address, 143 const ProtocolAddress& server_address,
144 const RelayCredentials& credentials, 144 const RelayCredentials& credentials,
145 int server_priority, 145 int server_priority,
146 const std::string& origin); 146 const std::string& origin);
147 147
148 TurnPort(rtc::Thread* thread, 148 TurnPort(rtc::Thread* thread,
149 rtc::PacketSocketFactory* factory, 149 rtc::PacketSocketFactory* factory,
150 rtc::Network* network, 150 rtc::Network* network,
151 const rtc::IPAddress& ip, 151 const rtc::IPAddress& ip,
152 uint16 min_port, 152 uint16_t min_port,
153 uint16 max_port, 153 uint16_t max_port,
154 const std::string& username, 154 const std::string& username,
155 const std::string& password, 155 const std::string& password,
156 const ProtocolAddress& server_address, 156 const ProtocolAddress& server_address,
157 const RelayCredentials& credentials, 157 const RelayCredentials& credentials,
158 int server_priority, 158 int server_priority,
159 const std::string& origin); 159 const std::string& origin);
160 160
161 private: 161 private:
162 enum { 162 enum {
163 MSG_ERROR = MSG_FIRST_AVAILABLE, 163 MSG_ERROR = MSG_FIRST_AVAILABLE,
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 friend class TurnEntry; 245 friend class TurnEntry;
246 friend class TurnAllocateRequest; 246 friend class TurnAllocateRequest;
247 friend class TurnRefreshRequest; 247 friend class TurnRefreshRequest;
248 friend class TurnCreatePermissionRequest; 248 friend class TurnCreatePermissionRequest;
249 friend class TurnChannelBindRequest; 249 friend class TurnChannelBindRequest;
250 }; 250 };
251 251
252 } // namespace cricket 252 } // namespace cricket
253 253
254 #endif // WEBRTC_P2P_BASE_TURNPORT_H_ 254 #endif // WEBRTC_P2P_BASE_TURNPORT_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/transportcontroller.h ('k') | webrtc/p2p/base/turnport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698