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

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

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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: 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 ab9b72fced9969b579082c0c9adb8aa21be753af..3b956b85e3e120a0fdbbca904c952e4b57cb3450 100644
--- a/media/cast/net/rtp/cast_message_builder.h
+++ b/media/cast/net/rtp/cast_message_builder.h
@@ -19,25 +19,25 @@ namespace cast {
class Framer;
class RtpPayloadFeedback;
-typedef std::map<uint32, base::TimeTicks> TimeLastNackMap;
+typedef std::map<uint32_t, base::TimeTicks> TimeLastNackMap;
class CastMessageBuilder {
public:
CastMessageBuilder(base::TickClock* clock,
RtpPayloadFeedback* incoming_payload_feedback,
const Framer* framer,
- uint32 media_ssrc,
+ uint32_t media_ssrc,
bool decoder_faster_than_max_frame_rate,
int max_unacked_frames);
~CastMessageBuilder();
- void CompleteFrameReceived(uint32 frame_id);
+ void CompleteFrameReceived(uint32_t frame_id);
bool TimeToSendNextCastMessage(base::TimeTicks* time_to_send);
void UpdateCastMessage();
void Reset();
private:
- bool UpdateAckMessage(uint32 frame_id);
+ bool UpdateAckMessage(uint32_t frame_id);
void BuildPacketList();
bool UpdateCastMessageInternal(RtcpCastMessage* message);
@@ -46,7 +46,7 @@ class CastMessageBuilder {
// CastMessageBuilder has only const access to the framer.
const Framer* const framer_;
- const uint32 media_ssrc_;
+ const uint32_t media_ssrc_;
const bool decoder_faster_than_max_frame_rate_;
const int max_unacked_frames_;
@@ -57,8 +57,8 @@ class CastMessageBuilder {
bool slowing_down_ack_;
bool acked_last_frame_;
- uint32 last_acked_frame_id_;
- std::deque<uint32> ack_queue_;
+ uint32_t last_acked_frame_id_;
+ std::deque<uint32_t> ack_queue_;
DISALLOW_COPY_AND_ASSIGN(CastMessageBuilder);
};

Powered by Google App Engine
This is Rietveld 408576698