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

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: fixed test compile 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
« no previous file with comments | « chrome/browser/media/cast_transport_host_filter.cc ('k') | chrome/common/cast_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3bcdef417c49b3d656ff2c962f7e05fd4370f308 100644
--- a/chrome/browser/media/cast_transport_host_filter_unittest.cc
+++ b/chrome/browser/media/cast_transport_host_filter_unittest.cc
@@ -125,12 +125,13 @@ 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());
- FakeSend(resend_msg);
+ std::vector<uint32> frame_ids;
+ frame_ids.push_back(1);
+ CastHostMsg_CancelSendingFrames cancel_msg(kChannelId, 1, frame_ids);
+ FakeSend(cancel_msg);
+
+ CastHostMsg_ResendFrameForKickstart kickstart_msg(kChannelId, 1, 1);
+ FakeSend(kickstart_msg);
CastHostMsg_Delete delete_msg(kChannelId);
FakeSend(delete_msg);
« no previous file with comments | « chrome/browser/media/cast_transport_host_filter.cc ('k') | chrome/common/cast_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698