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

Unified Diff: media/cast/logging/logging_defines.h

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more 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/logging/logging_defines.h
diff --git a/media/cast/logging/logging_defines.h b/media/cast/logging/logging_defines.h
index dc295547252f7f8222d9ac2a551dc5773abdde3e..607ff0d5938a3dfbd5bb7d6fdd0f0221ae4ef9f6 100644
--- a/media/cast/logging/logging_defines.h
+++ b/media/cast/logging/logging_defines.h
@@ -14,9 +14,9 @@
namespace media {
namespace cast {
-static const uint32 kFrameIdUnknown = 0xFFFFFFFF;
+static const uint32_t kFrameIdUnknown = 0xFFFFFFFF;
-typedef uint32 RtpTimestamp;
+typedef uint32_t RtpTimestamp;
enum CastLoggingEvent {
UNKNOWN,
@@ -53,7 +53,7 @@ struct FrameEvent {
~FrameEvent();
RtpTimestamp rtp_timestamp;
- uint32 frame_id;
+ uint32_t frame_id;
// Resolution of the frame. Only set for video FRAME_CAPTURE_END events.
int width;
@@ -93,9 +93,9 @@ struct PacketEvent {
~PacketEvent();
RtpTimestamp rtp_timestamp;
- uint32 frame_id;
- uint16 max_packet_id;
- uint16 packet_id;
+ uint32_t frame_id;
+ uint16_t max_packet_id;
+ uint16_t packet_id;
size_t size;
// Time of event logged.

Powered by Google App Engine
This is Rietveld 408576698