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

Side by Side Diff: webrtc/modules/rtp_rtcp/test/BWEStandAlone/TestSenderReceiver.h

Issue 1476453002: Clean up PlatformThread. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: IsRunning DCHECK Created 5 years 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const uint8_t fractionLost, 131 const uint8_t fractionLost,
132 const uint16_t roundTripTimeMs, 132 const uint16_t roundTripTimeMs,
133 const uint16_t bwEstimateKbitMin, 133 const uint16_t bwEstimateKbitMin,
134 const uint16_t bwEstimateKbitMax); 134 const uint16_t bwEstimateKbitMax);
135 135
136 private: 136 private:
137 RtpRtcp* _rtp; 137 RtpRtcp* _rtp;
138 UdpTransport* _transport; 138 UdpTransport* _transport;
139 webrtc::CriticalSectionWrapper* _critSect; 139 webrtc::CriticalSectionWrapper* _critSect;
140 webrtc::EventWrapper *_eventPtr; 140 webrtc::EventWrapper *_eventPtr;
141 rtc::scoped_ptr<webrtc::PlatformThread> _procThread; 141 rtc::PlatformThread _procThread;
142 bool _running; 142 bool _running;
143 int8_t _payloadType; 143 int8_t _payloadType;
144 TestLoadGenerator* _loadGenerator; 144 TestLoadGenerator* _loadGenerator;
145 bool _isSender; 145 bool _isSender;
146 bool _isReceiver; 146 bool _isReceiver;
147 SendRecCB * _sendRecCB; 147 SendRecCB * _sendRecCB;
148 size_t _lastBytesReceived; 148 size_t _lastBytesReceived;
149 int64_t _lastTime; 149 int64_t _lastTime;
150 150
151 }; 151 };
152 152
153 #endif // WEBRTC_MODULES_RTP_RTCP_TEST_BWESTANDALONE_TESTSENDERRECEIVER_H_ 153 #endif // WEBRTC_MODULES_RTP_RTCP_TEST_BWESTANDALONE_TESTSENDERRECEIVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698