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

Side by Side Diff: webrtc/call/rampup_tests.h

Issue 2998923002: Use SingleThreadedTaskQueue in DirectTransport (Closed)
Patch Set: Appease win_msvc_rel. Created 3 years, 3 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
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 test::PacketTransport* send_transport_; 77 test::PacketTransport* send_transport_;
78 78
79 private: 79 private:
80 typedef std::map<uint32_t, uint32_t> SsrcMap; 80 typedef std::map<uint32_t, uint32_t> SsrcMap;
81 class VideoStreamFactory; 81 class VideoStreamFactory;
82 82
83 Call::Config GetSenderCallConfig() override; 83 Call::Config GetSenderCallConfig() override;
84 void OnVideoStreamsCreated( 84 void OnVideoStreamsCreated(
85 VideoSendStream* send_stream, 85 VideoSendStream* send_stream,
86 const std::vector<VideoReceiveStream*>& receive_streams) override; 86 const std::vector<VideoReceiveStream*>& receive_streams) override;
87 test::PacketTransport* CreateSendTransport(Call* sender_call) override; 87 test::PacketTransport* CreateSendTransport(
88 test::SingleThreadedTaskQueueForTesting* task_queue,
89 Call* sender_call) override;
88 void ModifyVideoConfigs( 90 void ModifyVideoConfigs(
89 VideoSendStream::Config* send_config, 91 VideoSendStream::Config* send_config,
90 std::vector<VideoReceiveStream::Config>* receive_configs, 92 std::vector<VideoReceiveStream::Config>* receive_configs,
91 VideoEncoderConfig* encoder_config) override; 93 VideoEncoderConfig* encoder_config) override;
92 void ModifyAudioConfigs( 94 void ModifyAudioConfigs(
93 AudioSendStream::Config* send_config, 95 AudioSendStream::Config* send_config,
94 std::vector<AudioReceiveStream::Config>* receive_configs) override; 96 std::vector<AudioReceiveStream::Config>* receive_configs) override;
95 void ModifyFlexfecConfigs( 97 void ModifyFlexfecConfigs(
96 std::vector<FlexfecReceiveStream::Config>* receive_configs) override; 98 std::vector<FlexfecReceiveStream::Config>* receive_configs) override;
97 void OnCallsCreated(Call* sender_call, Call* receiver_call) override; 99 void OnCallsCreated(Call* sender_call, Call* receiver_call) override;
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 const std::vector<int> link_rates_; 151 const std::vector<int> link_rates_;
150 TestStates test_state_; 152 TestStates test_state_;
151 TestStates next_state_; 153 TestStates next_state_;
152 int64_t state_start_ms_; 154 int64_t state_start_ms_;
153 int64_t interval_start_ms_; 155 int64_t interval_start_ms_;
154 int sent_bytes_; 156 int sent_bytes_;
155 std::vector<int> loss_rates_; 157 std::vector<int> loss_rates_;
156 }; 158 };
157 } // namespace webrtc 159 } // namespace webrtc
158 #endif // WEBRTC_CALL_RAMPUP_TESTS_H_ 160 #endif // WEBRTC_CALL_RAMPUP_TESTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698