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

Side by Side Diff: webrtc/p2p/stunprober/stunprober.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/client/socketmonitor.h ('k') | webrtc/p2p/stunprober/stunprober.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 2015 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2015 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 139
140 // End the probe with the given |status|. Invokes |fininsh_callback|, which 140 // End the probe with the given |status|. Invokes |fininsh_callback|, which
141 // may destroy the class. 141 // may destroy the class.
142 void End(StunProber::Status status); 142 void End(StunProber::Status status);
143 143
144 Requester* CreateRequester(); 144 Requester* CreateRequester();
145 145
146 Requester* current_requester_ = nullptr; 146 Requester* current_requester_ = nullptr;
147 147
148 // The time when the next request should go out. 148 // The time when the next request should go out.
149 uint64 next_request_time_ms_ = 0; 149 uint64_t next_request_time_ms_ = 0;
150 150
151 // Total requests sent so far. 151 // Total requests sent so far.
152 uint32 num_request_sent_ = 0; 152 uint32_t num_request_sent_ = 0;
153 153
154 bool shared_socket_mode_ = false; 154 bool shared_socket_mode_ = false;
155 155
156 // How many requests should be done against each resolved IP. 156 // How many requests should be done against each resolved IP.
157 uint32 requests_per_ip_ = 0; 157 uint32_t requests_per_ip_ = 0;
158 158
159 // Milliseconds to pause between each STUN request. 159 // Milliseconds to pause between each STUN request.
160 int interval_ms_; 160 int interval_ms_;
161 161
162 // Timeout period after the last request is sent. 162 // Timeout period after the last request is sent.
163 int timeout_ms_; 163 int timeout_ms_;
164 164
165 // STUN server name to be resolved. 165 // STUN server name to be resolved.
166 std::vector<rtc::SocketAddress> servers_; 166 std::vector<rtc::SocketAddress> servers_;
167 167
(...skipping 21 matching lines...) Expand all
189 rtc::AsyncInvoker invoker_; 189 rtc::AsyncInvoker invoker_;
190 190
191 rtc::NetworkManager::NetworkList networks_; 191 rtc::NetworkManager::NetworkList networks_;
192 192
193 RTC_DISALLOW_COPY_AND_ASSIGN(StunProber); 193 RTC_DISALLOW_COPY_AND_ASSIGN(StunProber);
194 }; 194 };
195 195
196 } // namespace stunprober 196 } // namespace stunprober
197 197
198 #endif // WEBRTC_P2P_STUNPROBER_STUNPROBER_H_ 198 #endif // WEBRTC_P2P_STUNPROBER_STUNPROBER_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/client/socketmonitor.h ('k') | webrtc/p2p/stunprober/stunprober.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698