Add back mock for deprecated methods in RTC event log

Bug: webrtc:8111
Change-Id: Ib09927be07073f8e90ab03d7ba8af9cf0683f8d6
Reviewed-on: https://webrtc-review.googlesource.com/5363
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20087}
This commit is contained in:
Bjorn Terelius 2017-10-02 13:46:58 +02:00 committed by Commit Bot
parent 958288a640
commit a31fd0d69a

View File

@ -43,6 +43,21 @@ class MockRtcEventLog : public RtcEventLog {
MOCK_METHOD1(LogAudioSendStreamConfig,
void(const rtclog::StreamConfig& config));
MOCK_METHOD3(LogRtpHeader,
void(PacketDirection direction,
const uint8_t* header,
size_t packet_length));
MOCK_METHOD4(LogRtpHeader,
void(PacketDirection direction,
const uint8_t* header,
size_t packet_length,
int probe_cluster_id));
MOCK_METHOD3(LogRtcpPacket,
void(PacketDirection direction,
const uint8_t* packet,
size_t length));
MOCK_METHOD1(LogIncomingRtpHeader, void(const RtpPacketReceived& packet));