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

Unified Diff: media/cast/net/rtp/rtp_packetizer.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/net/rtp/rtp_defines.cc ('k') | media/cast/net/rtp/rtp_packetizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/net/rtp/rtp_packetizer.h
diff --git a/media/cast/net/rtp/rtp_packetizer.h b/media/cast/net/rtp/rtp_packetizer.h
index e60de369daf6f25b1ca87a84596fd22150b1d53d..d732d1834dfec69d5b850fb12d08b72409f728a1 100644
--- a/media/cast/net/rtp/rtp_packetizer.h
+++ b/media/cast/net/rtp/rtp_packetizer.h
@@ -13,6 +13,7 @@
#include <map>
#include "base/time/time.h"
+#include "media/cast/common/rtp_time.h"
#include "media/cast/net/rtp/packet_storage.h"
namespace base {
@@ -59,15 +60,13 @@ class RtpPacketizer {
private:
void BuildCommonRTPheader(Packet* packet,
bool marker_bit,
- uint32_t time_stamp);
+ RtpTimeTicks rtp_timestamp);
RtpPacketizerConfig config_;
PacedSender* const transport_; // Not owned by this class.
PacketStorage* packet_storage_;
uint16_t sequence_number_;
- uint32_t rtp_timestamp_;
- uint16_t packet_id_;
size_t send_packet_count_;
size_t send_octet_count_;
« no previous file with comments | « media/cast/net/rtp/rtp_defines.cc ('k') | media/cast/net/rtp/rtp_packetizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698