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

Unified Diff: webrtc/test/mock_voe_channel_proxy.h

Issue 2688473004: RtpPacketReceiver base class and OnRtpPacket, with a pre-parsed RTP packet. (Closed)
Patch Set: Rename OnRTPPacket --> OnRtpPacket. Created 3 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/test/mock_voe_channel_proxy.h
diff --git a/webrtc/test/mock_voe_channel_proxy.h b/webrtc/test/mock_voe_channel_proxy.h
index ea51154f541a95d526877b6ea6de4ca5729d901d..96fd449b34ead1b059740190c4e45ece9611af52 100644
--- a/webrtc/test/mock_voe_channel_proxy.h
+++ b/webrtc/test/mock_voe_channel_proxy.h
@@ -15,6 +15,7 @@
#include "webrtc/test/gmock.h"
#include "webrtc/voice_engine/channel_proxy.h"
+#include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
the sun 2017/02/10 12:37:45 Unlike the Google C++ style guide: https://chromiu
namespace webrtc {
namespace test {
@@ -52,9 +53,7 @@ class MockVoEChannelProxy : public voe::ChannelProxy {
MOCK_METHOD1(SetInputMute, void(bool muted));
MOCK_METHOD1(RegisterExternalTransport, void(Transport* transport));
MOCK_METHOD0(DeRegisterExternalTransport, void());
- MOCK_METHOD3(ReceivedRTPPacket, bool(const uint8_t* packet,
- size_t length,
- const PacketTime& packet_time));
+ MOCK_METHOD1(OnRtpPacket, bool(const RtpPacketReceived& packet));
MOCK_METHOD2(ReceivedRTCPPacket, bool(const uint8_t* packet, size_t length));
MOCK_CONST_METHOD0(GetAudioDecoderFactory,
const rtc::scoped_refptr<AudioDecoderFactory>&());

Powered by Google App Engine
This is Rietveld 408576698