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

Side by Side Diff: webrtc/video/rampup_tests.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
« no previous file with comments | « webrtc/test/frame_generator_capturer.cc ('k') | webrtc/video/rampup_tests.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 (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 bool start_bitrate_verified_; 91 bool start_bitrate_verified_;
92 int expected_bitrate_bps_; 92 int expected_bitrate_bps_;
93 int64_t test_start_ms_; 93 int64_t test_start_ms_;
94 int64_t ramp_up_finished_ms_; 94 int64_t ramp_up_finished_ms_;
95 95
96 const std::string extension_type_; 96 const std::string extension_type_;
97 std::vector<uint32_t> ssrcs_; 97 std::vector<uint32_t> ssrcs_;
98 std::vector<uint32_t> rtx_ssrcs_; 98 std::vector<uint32_t> rtx_ssrcs_;
99 SsrcMap rtx_ssrc_map_; 99 SsrcMap rtx_ssrc_map_;
100 100
101 rtc::scoped_ptr<PlatformThread> poller_thread_; 101 rtc::PlatformThread poller_thread_;
102 Call* sender_call_; 102 Call* sender_call_;
103 }; 103 };
104 104
105 class RampUpDownUpTester : public RampUpTester { 105 class RampUpDownUpTester : public RampUpTester {
106 public: 106 public:
107 RampUpDownUpTester(size_t num_streams, 107 RampUpDownUpTester(size_t num_streams,
108 unsigned int start_bitrate_bps, 108 unsigned int start_bitrate_bps,
109 const std::string& extension_type, 109 const std::string& extension_type,
110 bool rtx, 110 bool rtx,
111 bool red); 111 bool red);
(...skipping 14 matching lines...) Expand all
126 std::string GetModifierString() const; 126 std::string GetModifierString() const;
127 void EvolveTestState(int bitrate_bps, bool suspended); 127 void EvolveTestState(int bitrate_bps, bool suspended);
128 128
129 TestStates test_state_; 129 TestStates test_state_;
130 int64_t state_start_ms_; 130 int64_t state_start_ms_;
131 int64_t interval_start_ms_; 131 int64_t interval_start_ms_;
132 int sent_bytes_; 132 int sent_bytes_;
133 }; 133 };
134 } // namespace webrtc 134 } // namespace webrtc
135 #endif // WEBRTC_VIDEO_RAMPUP_TESTS_H_ 135 #endif // WEBRTC_VIDEO_RAMPUP_TESTS_H_
OLDNEW
« no previous file with comments | « webrtc/test/frame_generator_capturer.cc ('k') | webrtc/video/rampup_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698