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 1b932dc8679322a5e8ac626722e4872528b80a2f..aefb2be7dcefa7c5ae25cbc7a6b8dac8c8b85c79 100644 |
--- a/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h |
+++ b/webrtc/modules/congestion_controller/include/mock/mock_congestion_controller.h |
@@ -13,6 +13,7 @@ |
#include "webrtc/base/constructormagic.h" |
#include "webrtc/base/socket.h" |
+#include "webrtc/common_types.h" |
#include "webrtc/modules/congestion_controller/include/congestion_controller.h" |
#include "webrtc/test/gmock.h" |
@@ -44,6 +45,10 @@ class MockCongestionController : public CongestionController { |
remote_bitrate_observer, |
event_log, |
packet_router) {} |
+ MOCK_METHOD3(OnReceivedPacket, |
+ void(int64_t arrival_time_ms, |
+ size_t payload_size, |
+ const RTPHeader& header)); |
MOCK_METHOD3(SetBweBitrates, |
void(int min_bitrate_bps, |
int start_bitrate_bps, |