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

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

Issue 1515433002: Replace uses of raw uint32's with a type-checked RtpTimeTicks data type. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/sender/frame_sender.h
diff --git a/media/cast/sender/frame_sender.h b/media/cast/sender/frame_sender.h
index 5d606ce8881cf04892f2930f9dd08adf68a921cb..acdd39a9455a7ca060f2960ff4ce9bff910c8488 100644
--- a/media/cast/sender/frame_sender.h
+++ b/media/cast/sender/frame_sender.h
@@ -100,9 +100,9 @@ class FrameSender {
// media::cast::kMaxUnackedFrames.
void RecordLatestFrameTimestamps(uint32_t frame_id,
base::TimeTicks reference_time,
- RtpTimestamp rtp_timestamp);
+ RtpTimeTicks rtp_timestamp);
base::TimeTicks GetRecordedReferenceTime(uint32_t frame_id) const;
- RtpTimestamp GetRecordedRtpTimestamp(uint32_t frame_id) const;
+ RtpTimeTicks GetRecordedRtpTimestamp(uint32_t frame_id) const;
// Returns the number of frames that were sent but not yet acknowledged.
int GetUnacknowledgedFrameCount() const;
@@ -169,7 +169,7 @@ class FrameSender {
// local reference time and RTP media time). These should only be accessed
// through the Record/GetXXX() methods.
base::TimeTicks frame_reference_times_[256];
- RtpTimestamp frame_rtp_timestamps_[256];
+ RtpTimeTicks frame_rtp_timestamps_[256];
// NOTE: Weak pointers must be invalidated before all other member variables.
base::WeakPtrFactory<FrameSender> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698