Index: webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc |
diff --git a/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc b/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc |
index 6f269a4e8c6d298e6f0a3d4116425aef872710b4..a4858d40d0fc9d11b0a6d5383a0becd9276b9b83 100644 |
--- a/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc |
+++ b/webrtc/modules/bitrate_controller/bitrate_controller_unittest.cc |
@@ -13,8 +13,9 @@ |
#include "webrtc/call/mock/mock_rtc_event_log.h" |
#include "webrtc/modules/bitrate_controller/include/bitrate_controller.h" |
+#include "webrtc/modules/congestion_controller/include/defines.h" |
#include "webrtc/modules/pacing/mock/mock_paced_sender.h" |
-#include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
+#include "webrtc/modules/remote_bitrate_estimator/include/bwe_defines.h" |
stefan-webrtc
2016/10/26 15:21:53
Can we remove this?
michaelt
2016/10/27 13:29:25
Yes.
Done
|
#include "webrtc/test/field_trial.h" |
#include "webrtc/test/gtest.h" |
@@ -98,7 +99,8 @@ TEST_F(BitrateControllerTest, DefaultMinMaxBitrate) { |
controller_->SetMinMaxBitrate(0, 0); |
EXPECT_EQ(kStartBitrateBps, bitrate_observer_.last_bitrate_); |
bandwidth_observer_->OnReceivedEstimatedBitrate(kDefaultMinBitrateBps / 2); |
- EXPECT_EQ(kDefaultMinBitrateBps, bitrate_observer_.last_bitrate_); |
+ EXPECT_EQ(webrtc::congestion_controller::kMinBitrateBps, |
+ bitrate_observer_.last_bitrate_); |
bandwidth_observer_->OnReceivedEstimatedBitrate(2 * kDefaultMaxBitrateBps); |
clock_.AdvanceTimeMilliseconds(1000); |
controller_->Process(); |