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

Unified Diff: media/cast/net/rtp/cast_message_builder_unittest.cc

Issue 387933005: Cast: Refactor RTCP handling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 5 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 | « media/cast/net/rtp/cast_message_builder.cc ('k') | media/cast/receiver/cast_receiver_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtp/cast_message_builder_unittest.cc
diff --git a/media/cast/net/rtp/cast_message_builder_unittest.cc b/media/cast/net/rtp/cast_message_builder_unittest.cc
index b0e30c44cdc032210c8a65f2d09bf9408b51ad96..e8a9aefa4a44004e7527ee15251b4c64b9c10d22 100644
--- a/media/cast/net/rtp/cast_message_builder_unittest.cc
+++ b/media/cast/net/rtp/cast_message_builder_unittest.cc
@@ -28,16 +28,16 @@ class NackFeedbackVerification : public RtpPayloadFeedback {
: triggered_(false), missing_packets_(), last_frame_acked_(0) {}
virtual void CastFeedback(const RtcpCastMessage& cast_feedback) OVERRIDE {
- EXPECT_EQ(kSsrc, cast_feedback.media_ssrc_);
+ EXPECT_EQ(kSsrc, cast_feedback.media_ssrc);
- last_frame_acked_ = cast_feedback.ack_frame_id_;
+ last_frame_acked_ = cast_feedback.ack_frame_id;
MissingFramesAndPacketsMap::const_iterator frame_it =
- cast_feedback.missing_frames_and_packets_.begin();
+ cast_feedback.missing_frames_and_packets.begin();
// Keep track of the number of missing packets per frame.
missing_packets_.clear();
- while (frame_it != cast_feedback.missing_frames_and_packets_.end()) {
+ while (frame_it != cast_feedback.missing_frames_and_packets.end()) {
// Check for complete frame lost.
if ((frame_it->second.size() == 1) &&
(*frame_it->second.begin() == kRtcpCastAllPacketsLost)) {
« no previous file with comments | « media/cast/net/rtp/cast_message_builder.cc ('k') | media/cast/receiver/cast_receiver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698