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

Unified Diff: webrtc/audio/audio_receive_stream_unittest.cc

Issue 1663413003: Clean up of CongestionController. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase. Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/audio/audio_receive_stream_unittest.cc
diff --git a/webrtc/audio/audio_receive_stream_unittest.cc b/webrtc/audio/audio_receive_stream_unittest.cc
index 1b264d0679551ea11a8fb898916ba9aa80695123..4539a4ebae845086c0a2927bd6c7763d9220ae8e 100644
--- a/webrtc/audio/audio_receive_stream_unittest.cc
+++ b/webrtc/audio/audio_receive_stream_unittest.cc
@@ -67,9 +67,11 @@ struct ConfigHelper {
ConfigHelper()
: simulated_clock_(123456),
call_stats_(&simulated_clock_),
- congestion_controller_(&process_thread_,
+ congestion_controller_(&simulated_clock_,
+ &process_thread_,
&call_stats_,
- &bitrate_observer_) {
+ &bitrate_observer_,
+ &remote_bitrate_observer_) {
using testing::Invoke;
EXPECT_CALL(voice_engine_,
@@ -157,6 +159,7 @@ struct ConfigHelper {
CallStats call_stats_;
PacketRouter packet_router_;
testing::NiceMock<MockBitrateObserver> bitrate_observer_;
+ testing::NiceMock<MockRemoteBitrateObserver> remote_bitrate_observer_;
testing::NiceMock<MockProcessThread> process_thread_;
MockCongestionController congestion_controller_;
MockRemoteBitrateEstimator remote_bitrate_estimator_;

Powered by Google App Engine
This is Rietveld 408576698