Chromium Code Reviews| Index: webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc |
| diff --git a/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc |
| index 00a6ac7ed213f0aee24d4edb66660bbfeb4f89bd..5bd0298a5a744ce9f89c76e478d8d636b04bec67 100644 |
| --- a/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc |
| +++ b/webrtc/modules/rtp_rtcp/source/rtp_packet_history_unittest.cc |
| @@ -15,7 +15,6 @@ |
| #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" |
| #include "webrtc/modules/rtp_rtcp/source/rtp_packet_history.h" |
| #include "webrtc/system_wrappers/include/clock.h" |
| -#include "webrtc/video_engine/vie_defines.h" |
| #include "webrtc/typedefs.h" |
| namespace webrtc { |
| @@ -29,7 +28,7 @@ class RtpPacketHistoryTest : public ::testing::Test { |
| ~RtpPacketHistoryTest() { |
| delete hist_; |
| } |
| - |
| + |
| SimulatedClock fake_clock_; |
| RTPPacketHistory* hist_; |
| enum {kPayload = 127}; |
| @@ -54,7 +53,7 @@ class RtpPacketHistoryTest : public ::testing::Test { |
| array[(*cur_pos)++] = ssrc >> 16; |
| array[(*cur_pos)++] = ssrc >> 8; |
| array[(*cur_pos)++] = ssrc; |
| - } |
| + } |
| }; |
| TEST_F(RtpPacketHistoryTest, SetStoreStatus) { |
| @@ -268,6 +267,7 @@ TEST_F(RtpPacketHistoryTest, DynamicExpansion) { |
| } |
| TEST_F(RtpPacketHistoryTest, FullExpansion) { |
| + const int kSendSidePacketHistorySize = 600; |
|
pbos-webrtc
2015/10/29 15:39:40
static
mflodman
2015/11/06 11:38:36
Done.
|
| hist_->SetStorePacketsStatus(true, kSendSidePacketHistorySize); |
| size_t len; |
| int64_t capture_time_ms = fake_clock_.TimeInMilliseconds(); |