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

Unified Diff: chrome/browser/media/cast_transport_host_filter_unittest.cc

Issue 445933002: Cast: Move retransmission to the transport (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: IPC Created 6 years, 4 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: chrome/browser/media/cast_transport_host_filter_unittest.cc
diff --git a/chrome/browser/media/cast_transport_host_filter_unittest.cc b/chrome/browser/media/cast_transport_host_filter_unittest.cc
index a903c49da8b73a1c59920247cc90db5f6885532b..fb97ee09ab76d7ef8d136e557c0e48c505259b59 100644
--- a/chrome/browser/media/cast_transport_host_filter_unittest.cc
+++ b/chrome/browser/media/cast_transport_host_filter_unittest.cc
@@ -125,13 +125,16 @@ TEST_F(CastTransportHostFilterTest, SimpleMessages) {
kChannelId, 1, base::TimeTicks(), 2);
FakeSend(rtcp_msg);
- media::cast::MissingFramesAndPacketsMap missing_packets;
- missing_packets[1].insert(4);
- missing_packets[1].insert(7);
- CastHostMsg_ResendPackets resend_msg(
- kChannelId, false, missing_packets, true, base::TimeDelta());
+ std::set<uint32> frame_ids;
+ frame_ids.insert(1);
+ CastHostMsg_CancelSendingFrames cancel_msg(
+ kChannelId, 1, frame_ids);
FakeSend(resend_msg);
+ CastHostMsg_ResendFrameForKickstart kickstart_msg(
+ kChannelId, 1, 1);
+ FakeSend(kickstart_msg);
+
CastHostMsg_Delete delete_msg(kChannelId);
FakeSend(delete_msg);
}

Powered by Google App Engine
This is Rietveld 408576698