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

Unified Diff: media/cast/net/mock_cast_transport_sender.h

Issue 1709863002: Add Cast PLI support on sender side. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address dcheng's comments. Created 4 years, 9 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
« no previous file with comments | « media/cast/net/cast_transport_sender_impl_unittest.cc ('k') | media/cast/net/rtcp/rtcp_builder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/mock_cast_transport_sender.h
diff --git a/media/cast/net/mock_cast_transport_sender.h b/media/cast/net/mock_cast_transport_sender.h
index b151a7a21226bdc9621b442b8511e674b9c5ba72..83417e5b93aba2a15fc6c82d5a5875698b70587a 100644
--- a/media/cast/net/mock_cast_transport_sender.h
+++ b/media/cast/net/mock_cast_transport_sender.h
@@ -18,14 +18,16 @@ class MockCastTransportSender : public CastTransportSender {
MockCastTransportSender();
virtual ~MockCastTransportSender();
- MOCK_METHOD3(InitializeAudio, void(
- const CastTransportRtpConfig& config,
- const RtcpCastMessageCallback& cast_message_cb,
- const RtcpRttCallback& rtt_cb));
- MOCK_METHOD3(InitializeVideo, void(
- const CastTransportRtpConfig& config,
- const RtcpCastMessageCallback& cast_message_cb,
- const RtcpRttCallback& rtt_cb));
+ MOCK_METHOD4(InitializeAudio,
+ void(const CastTransportRtpConfig& config,
+ const RtcpCastMessageCallback& cast_message_cb,
+ const RtcpRttCallback& rtt_cb,
+ const RtcpPliCallback& pli_cb));
+ MOCK_METHOD4(InitializeVideo,
+ void(const CastTransportRtpConfig& config,
+ const RtcpCastMessageCallback& cast_message_cb,
+ const RtcpRttCallback& rtt_cb,
+ const RtcpPliCallback& pli_cb));
MOCK_METHOD2(InsertFrame, void(uint32_t ssrc, const EncodedFrame& frame));
MOCK_METHOD3(SendSenderReport,
void(uint32_t ssrc,
@@ -43,6 +45,7 @@ class MockCastTransportSender : public CastTransportSender {
MOCK_METHOD2(AddCastFeedback,
void(const RtcpCastMessage& cast_message,
base::TimeDelta target_delay));
+ MOCK_METHOD1(AddPli, void(const RtcpPliMessage& pli_message));
MOCK_METHOD1(
AddRtcpEvents,
void(const ReceiverRtcpEventSubscriber::RtcpEvents& rtcp_events));
« no previous file with comments | « media/cast/net/cast_transport_sender_impl_unittest.cc ('k') | media/cast/net/rtcp/rtcp_builder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698