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

Unified Diff: media/cast/net/rtp/cast_message_builder.h

Issue 540713002: Cast: Get rid of frame_id_map (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed unused variable Created 6 years, 3 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/cast.gyp ('k') | media/cast/net/rtp/cast_message_builder.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.h
diff --git a/media/cast/net/rtp/cast_message_builder.h b/media/cast/net/rtp/cast_message_builder.h
index 0136fed4a056a975d3cc6e130b12e5e0a5981705..58d8e9a2bc61dc6af5b87c6e0fabf59574255f0d 100644
--- a/media/cast/net/rtp/cast_message_builder.h
+++ b/media/cast/net/rtp/cast_message_builder.h
@@ -11,12 +11,12 @@
#include <map>
#include "media/cast/net/rtcp/rtcp.h"
-#include "media/cast/net/rtp/frame_id_map.h"
#include "media/cast/net/rtp/rtp_receiver_defines.h"
namespace media {
namespace cast {
+class Framer;
class RtpPayloadFeedback;
typedef std::map<uint32, base::TimeTicks> TimeLastNackMap;
@@ -25,7 +25,7 @@ class CastMessageBuilder {
public:
CastMessageBuilder(base::TickClock* clock,
RtpPayloadFeedback* incoming_payload_feedback,
- FrameIdMap* frame_id_map,
+ const Framer* framer,
uint32 media_ssrc,
bool decoder_faster_than_max_frame_rate,
int max_unacked_frames);
@@ -44,8 +44,8 @@ class CastMessageBuilder {
base::TickClock* const clock_; // Not owned by this class.
RtpPayloadFeedback* const cast_feedback_;
- // CastMessageBuilder has only const access to the frame id mapper.
- const FrameIdMap* const frame_id_map_;
+ // CastMessageBuilder has only const access to the framer.
+ const Framer* const framer_;
const uint32 media_ssrc_;
const bool decoder_faster_than_max_frame_rate_;
const int max_unacked_frames_;
« no previous file with comments | « media/cast/cast.gyp ('k') | media/cast/net/rtp/cast_message_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698