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

Unified Diff: media/cast/logging/logging_defines.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/logging/log_serializer.cc ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/logging/logging_defines.h
diff --git a/media/cast/logging/logging_defines.h b/media/cast/logging/logging_defines.h
index 9a8d9361093d2927a300414161b10c872fabca59..4780d842d022e578d511a35c807ef059dff7ba8e 100644
--- a/media/cast/logging/logging_defines.h
+++ b/media/cast/logging/logging_defines.h
@@ -13,14 +13,13 @@
#include <vector>
#include "base/time/time.h"
+#include "media/cast/common/rtp_time.h"
namespace media {
namespace cast {
static const uint32_t kFrameIdUnknown = 0xFFFFFFFF;
-typedef uint32_t RtpTimestamp;
-
enum CastLoggingEvent {
UNKNOWN,
// Sender side frame events.
@@ -55,7 +54,7 @@ struct FrameEvent {
FrameEvent();
~FrameEvent();
- RtpTimestamp rtp_timestamp;
+ RtpTimeTicks rtp_timestamp;
uint32_t frame_id;
// Resolution of the frame. Only set for video FRAME_CAPTURE_END events.
@@ -95,7 +94,7 @@ struct PacketEvent {
PacketEvent();
~PacketEvent();
- RtpTimestamp rtp_timestamp;
+ RtpTimeTicks rtp_timestamp;
uint32_t frame_id;
uint16_t max_packet_id;
uint16_t packet_id;
« no previous file with comments | « media/cast/logging/log_serializer.cc ('k') | media/cast/logging/logging_defines.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698