Index: media/cast/logging/stats_event_subscriber_unittest.cc |
diff --git a/media/cast/logging/stats_event_subscriber_unittest.cc b/media/cast/logging/stats_event_subscriber_unittest.cc |
index d649c8960bf87b3546176a44c4d100caef921a62..0cec20fc444800a3790fe4c9a969e33ff3c7a968 100644 |
--- a/media/cast/logging/stats_event_subscriber_unittest.cc |
+++ b/media/cast/logging/stats_event_subscriber_unittest.cc |
@@ -67,8 +67,8 @@ class StatsEventSubscriberTest : public ::testing::Test { |
TEST_F(StatsEventSubscriberTest, CaptureEncode) { |
Init(VIDEO_EVENT); |
- uint32 rtp_timestamp = 0; |
- uint32 frame_id = 0; |
+ uint32_t rtp_timestamp = 0; |
+ uint32_t frame_id = 0; |
int extra_frames = 50; |
// Only the first |extra_frames| frames logged will be taken into account |
// when computing dropped frames. |
@@ -147,8 +147,8 @@ TEST_F(StatsEventSubscriberTest, CaptureEncode) { |
TEST_F(StatsEventSubscriberTest, Encode) { |
Init(VIDEO_EVENT); |
- uint32 rtp_timestamp = 0; |
- uint32 frame_id = 0; |
+ uint32_t rtp_timestamp = 0; |
+ uint32_t frame_id = 0; |
int num_frames = 10; |
base::TimeTicks start_time = sender_clock_->NowTicks(); |
AdvanceClocks(base::TimeDelta::FromMicroseconds(35678)); |
@@ -215,8 +215,8 @@ TEST_F(StatsEventSubscriberTest, Encode) { |
TEST_F(StatsEventSubscriberTest, Decode) { |
Init(VIDEO_EVENT); |
- uint32 rtp_timestamp = 0; |
- uint32 frame_id = 0; |
+ uint32_t rtp_timestamp = 0; |
+ uint32_t frame_id = 0; |
int num_frames = 10; |
base::TimeTicks start_time = sender_clock_->NowTicks(); |
for (int i = 0; i < num_frames; i++) { |
@@ -251,8 +251,8 @@ TEST_F(StatsEventSubscriberTest, Decode) { |
TEST_F(StatsEventSubscriberTest, PlayoutDelay) { |
Init(VIDEO_EVENT); |
- uint32 rtp_timestamp = 0; |
- uint32 frame_id = 0; |
+ uint32_t rtp_timestamp = 0; |
+ uint32_t frame_id = 0; |
int num_frames = 10; |
int late_frames = 0; |
for (int i = 0, delay_ms = -50; i < num_frames; i++, delay_ms += 10) { |
@@ -286,8 +286,8 @@ TEST_F(StatsEventSubscriberTest, PlayoutDelay) { |
TEST_F(StatsEventSubscriberTest, E2ELatency) { |
Init(VIDEO_EVENT); |
- uint32 rtp_timestamp = 0; |
- uint32 frame_id = 0; |
+ uint32_t rtp_timestamp = 0; |
+ uint32_t frame_id = 0; |
int num_frames = 10; |
base::TimeDelta total_latency; |
for (int i = 0; i < num_frames; i++) { |
@@ -333,7 +333,7 @@ TEST_F(StatsEventSubscriberTest, E2ELatency) { |
TEST_F(StatsEventSubscriberTest, Packets) { |
Init(VIDEO_EVENT); |
- uint32 rtp_timestamp = 0; |
+ uint32_t rtp_timestamp = 0; |
int num_packets = 10; |
int num_latency_recorded_packets = 0; |
base::TimeTicks start_time = sender_clock_->NowTicks(); |
@@ -557,8 +557,8 @@ TEST_F(StatsEventSubscriberTest, Histograms) { |
Init(VIDEO_EVENT); |
AdvanceClocks(base::TimeDelta::FromMilliseconds(123)); |
- uint32 rtp_timestamp = 123; |
- uint32 frame_id = 0; |
+ uint32_t rtp_timestamp = 123; |
+ uint32_t frame_id = 0; |
// 10 Frames with capture latency in the bucket of "10-14"ms. |
// 10 Frames with encode time in the bucket of "15-19"ms. |