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

Unified Diff: media/cast/sender/frame_sender.h

Issue 1498003003: Remove kint64max. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: INT64_MAX 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
« no previous file with comments | « media/blink/websourcebuffer_impl.cc ('k') | media/cast/sender/frame_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/sender/frame_sender.h
diff --git a/media/cast/sender/frame_sender.h b/media/cast/sender/frame_sender.h
index d3b925e6dcf0e8d74a1dfb7e51cd1343e7a11f6e..5d606ce8881cf04892f2930f9dd08adf68a921cb 100644
--- a/media/cast/sender/frame_sender.h
+++ b/media/cast/sender/frame_sender.h
@@ -9,7 +9,9 @@
#ifndef MEDIA_CAST_SENDER_FRAME_SENDER_H_
#define MEDIA_CAST_SENDER_FRAME_SENDER_H_
-#include "base/basictypes.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/time/time.h"
@@ -28,7 +30,7 @@ class FrameSender {
bool is_audio,
CastTransportSender* const transport_sender,
int rtp_timebase,
- uint32 ssrc,
+ uint32_t ssrc,
double max_frame_rate,
base::TimeDelta min_playout_delay,
base::TimeDelta max_playout_delay,
@@ -73,7 +75,7 @@ class FrameSender {
// network layer.
CastTransportSender* const transport_sender_;
- const uint32 ssrc_;
+ const uint32_t ssrc_;
protected:
// Schedule and execute periodic checks for re-sending packets. If no
@@ -96,11 +98,11 @@ class FrameSender {
// Warning: If a frame ID too far in the past is requested, the getters will
// silently succeed but return incorrect values. Be sure to respect
// media::cast::kMaxUnackedFrames.
- void RecordLatestFrameTimestamps(uint32 frame_id,
+ void RecordLatestFrameTimestamps(uint32_t frame_id,
base::TimeTicks reference_time,
RtpTimestamp rtp_timestamp);
- base::TimeTicks GetRecordedReferenceTime(uint32 frame_id) const;
- RtpTimestamp GetRecordedRtpTimestamp(uint32 frame_id) const;
+ base::TimeTicks GetRecordedReferenceTime(uint32_t frame_id) const;
+ RtpTimestamp GetRecordedRtpTimestamp(uint32_t frame_id) const;
// Returns the number of frames that were sent but not yet acknowledged.
int GetUnacknowledgedFrameCount() const;
@@ -133,12 +135,12 @@ class FrameSender {
// The ID of the last frame sent. Logic throughout FrameSender assumes this
// can safely wrap-around. This member is invalid until
// |!last_send_time_.is_null()|.
- uint32 last_sent_frame_id_;
+ uint32_t last_sent_frame_id_;
// The ID of the latest (not necessarily the last) frame that has been
// acknowledged. Logic throughout AudioSender assumes this can safely
// wrap-around. This member is invalid until |!last_send_time_.is_null()|.
- uint32 latest_acked_frame_id_;
+ uint32_t latest_acked_frame_id_;
// Counts the number of duplicate ACK that are being received. When this
// number reaches a threshold, the sender will take this as a sign that the
« no previous file with comments | « media/blink/websourcebuffer_impl.cc ('k') | media/cast/sender/frame_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698