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

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

Issue 314593002: [Cast] Cleanup: Remove TransportXXXXXSender, an unnecessary layer of indirection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix CastTransportHostFilterTest.SimpleMessages. Created 6 years, 6 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 | « no previous file | media/cast/audio_sender/audio_sender.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 5eee51c374b79db50d645f05e2aa0183567bb755..1d6e2337572a544b3f9b6a5f049ad398023f41c9 100644
--- a/chrome/browser/media/cast_transport_host_filter_unittest.cc
+++ b/chrome/browser/media/cast_transport_host_filter_unittest.cc
@@ -83,12 +83,15 @@ TEST_F(CastTransportHostFilterTest, SimpleMessages) {
FakeSend(new_msg);
media::cast::transport::CastTransportAudioConfig audio_config;
+ audio_config.rtp.max_outstanding_frames = 10;
CastHostMsg_InitializeAudio init_audio_msg(kChannelId, audio_config);
FakeSend(init_audio_msg);
media::cast::transport::CastTransportVideoConfig video_config;
+ video_config.rtp.max_outstanding_frames = 10;
CastHostMsg_InitializeVideo init_video_msg(kChannelId, video_config);
FakeSend(init_video_msg);
+
media::cast::transport::EncodedFrame audio_frame;
audio_frame.dependency = media::cast::transport::EncodedFrame::KEY;
audio_frame.frame_id = 1;
@@ -127,7 +130,7 @@ TEST_F(CastTransportHostFilterTest, SimpleMessages) {
media::cast::MissingFramesAndPacketsMap missing_packets;
missing_packets[1].insert(4);
- missing_packets[3].insert(7);
+ missing_packets[1].insert(7);
CastHostMsg_ResendPackets resend_msg(
kChannelId, false, missing_packets);
FakeSend(resend_msg);
« no previous file with comments | « no previous file | media/cast/audio_sender/audio_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698