Index: media/cast/net/rtcp/sender_rtcp_session.h |
diff --git a/media/cast/net/rtcp/sender_rtcp_session.h b/media/cast/net/rtcp/sender_rtcp_session.h |
index f22dd589c681d707d74c4569b90a650295b032b5..aefb100cdbbf7c0f71ad9f6112f7ccacf5176fb3 100644 |
--- a/media/cast/net/rtcp/sender_rtcp_session.h |
+++ b/media/cast/net/rtcp/sender_rtcp_session.h |
@@ -39,9 +39,11 @@ typedef std::queue<RtcpSendTimePair> RtcpSendTimeQueue; |
// received which helps it compute round trip time and invoke a callback. |
class SenderRtcpSession : public RtcpSession { |
public: |
+ // TODO(xjz): Simplify the interface. http://crbug.com/588275. |
SenderRtcpSession(const RtcpCastMessageCallback& cast_callback, |
const RtcpRttCallback& rtt_callback, |
const RtcpLogMessageCallback& log_callback, |
+ const RtcpPliCallback pli_callback, |
base::TickClock* clock, // Not owned. |
PacedPacketSender* packet_sender, // Not owned. |
uint32_t local_ssrc, |
@@ -92,6 +94,8 @@ class SenderRtcpSession : public RtcpSession { |
uint32_t last_ntp_seconds, |
uint32_t last_ntp_fraction); |
+ void OnReceivedPli(); |
+ |
base::TickClock* const clock_; // Not owned. |
PacedPacketSender* packet_sender_; // Not owned. |
const uint32_t local_ssrc_; |
@@ -100,6 +104,7 @@ class SenderRtcpSession : public RtcpSession { |
const RtcpCastMessageCallback cast_callback_; |
const RtcpRttCallback rtt_callback_; |
const RtcpLogMessageCallback log_callback_; |
+ const RtcpPliCallback pli_callback_; |
// Computed from RTCP RRTR report. |
base::TimeTicks largest_seen_timestamp_; |