Index: webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h |
diff --git a/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h b/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h |
index 593a36e7d83fdec3660d7e3394f3caac114426fd..1b932dc8679322a5e8ac626722e4872528b80a2f 100644 |
--- a/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h |
+++ b/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h |
@@ -21,10 +21,15 @@ namespace test { |
class MockCongestionObserver : public CongestionController::Observer { |
public: |
- MOCK_METHOD3(OnNetworkChanged, |
+ // TODO(minyue): remove this when old OnNetworkChanged is deprecated. See |
+ // https://bugs.chromium.org/p/webrtc/issues/detail?id=6796 |
+ using CongestionController::Observer::OnNetworkChanged; |
+ |
+ MOCK_METHOD4(OnNetworkChanged, |
void(uint32_t bitrate_bps, |
uint8_t fraction_loss, |
- int64_t rtt_ms)); |
+ int64_t rtt_ms, |
+ int64_t probing_interval_ms)); |
}; |
class MockCongestionController : public CongestionController { |