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

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: Speculative workaround fix for win8_chromium_ng compile error. 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/cast/sender/fake_software_video_encoder.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 6b40dcdc91e3c411ef6f6dac410634f8d0607621..ca2d1218c3cb05203b0570bd665ee4087183fa95 100644
--- a/media/cast/sender/frame_sender.h
+++ b/media/cast/sender/frame_sender.h
@@ -101,9 +101,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;
@@ -179,7 +179,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_;
« no previous file with comments | « media/cast/sender/fake_software_video_encoder.cc ('k') | media/cast/sender/frame_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698