Index: media/cast/transport/cast_transport_sender.h |
diff --git a/media/cast/transport/cast_transport_sender.h b/media/cast/transport/cast_transport_sender.h |
index 5c1eb04b416400c861aaf1a6a5d1f2e5a19e32e7..2556a8bd3d7b825a3a8a962b66a099671e0ecfd1 100644 |
--- a/media/cast/transport/cast_transport_sender.h |
+++ b/media/cast/transport/cast_transport_sender.h |
@@ -92,9 +92,15 @@ class CastTransportSender : public base::NonThreadSafe { |
const std::string& c_name) = 0; |
// Retransmission request. |
+ // |missing_packets| includes the list of frames and packets in each |
+ // frame to be re-transmitted. |
+ // If |cancel_rtx_if_not_in_list| is used as an optimization to cancel |
+ // pending re-transmission requests of packets not listed in |
+ // |missing_packets|. |
virtual void ResendPackets( |
bool is_audio, |
- const MissingFramesAndPacketsMap& missing_packets) = 0; |
+ const MissingFramesAndPacketsMap& missing_packets, |
+ bool cancel_rtx_if_not_in_list) = 0; |
}; |
} // namespace transport |