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

Side by Side Diff: webrtc/video/video_receive_stream_unittest.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 months 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 unified diff | Download patch
« no previous file with comments | « webrtc/video/video_receive_stream.cc ('k') | webrtc/video/video_send_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2017 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2017 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "webrtc/test/gtest.h" 13 #include "webrtc/test/gtest.h"
14 #include "webrtc/test/gmock.h" 14 #include "webrtc/test/gmock.h"
15 15
16 #include "webrtc/api/video_codecs/video_decoder.h" 16 #include "webrtc/api/video_codecs/video_decoder.h"
17 #include "webrtc/base/criticalsection.h"
18 #include "webrtc/base/event.h"
19 #include "webrtc/call/rtp_stream_receiver_controller.h" 17 #include "webrtc/call/rtp_stream_receiver_controller.h"
20 #include "webrtc/media/base/fakevideorenderer.h" 18 #include "webrtc/media/base/fakevideorenderer.h"
21 #include "webrtc/modules/pacing/packet_router.h" 19 #include "webrtc/modules/pacing/packet_router.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" 20 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h"
23 #include "webrtc/modules/utility/include/process_thread.h" 21 #include "webrtc/modules/utility/include/process_thread.h"
22 #include "webrtc/rtc_base/criticalsection.h"
23 #include "webrtc/rtc_base/event.h"
24 #include "webrtc/system_wrappers/include/clock.h"
25 #include "webrtc/test/field_trial.h"
24 #include "webrtc/video/call_stats.h" 26 #include "webrtc/video/call_stats.h"
25 #include "webrtc/video/video_receive_stream.h" 27 #include "webrtc/video/video_receive_stream.h"
26 #include "webrtc/system_wrappers/include/clock.h"
27 #include "webrtc/test/field_trial.h"
28 28
29 namespace webrtc { 29 namespace webrtc {
30 namespace { 30 namespace {
31 31
32 using testing::_; 32 using testing::_;
33 using testing::Invoke; 33 using testing::Invoke;
34 34
35 constexpr int kDefaultTimeOutMs = 50; 35 constexpr int kDefaultTimeOutMs = 50;
36 36
37 const char kNewJitterBufferFieldTrialEnabled[] = 37 const char kNewJitterBufferFieldTrialEnabled[] =
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 EXPECT_CALL(mock_h264_video_decoder_, Decode(_, false, _, _, _)); 131 EXPECT_CALL(mock_h264_video_decoder_, Decode(_, false, _, _, _));
132 RtpPacketReceived parsed_packet; 132 RtpPacketReceived parsed_packet;
133 ASSERT_TRUE(parsed_packet.Parse(rtppacket.data(), rtppacket.size())); 133 ASSERT_TRUE(parsed_packet.Parse(rtppacket.data(), rtppacket.size()));
134 rtp_stream_receiver_controller_.OnRtpPacket(parsed_packet); 134 rtp_stream_receiver_controller_.OnRtpPacket(parsed_packet);
135 EXPECT_CALL(mock_h264_video_decoder_, Release()); 135 EXPECT_CALL(mock_h264_video_decoder_, Release());
136 // Make sure the decoder thread had a chance to run. 136 // Make sure the decoder thread had a chance to run.
137 init_decode_event_.Wait(kDefaultTimeOutMs); 137 init_decode_event_.Wait(kDefaultTimeOutMs);
138 } 138 }
139 139
140 } // namespace webrtc 140 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/video/video_receive_stream.cc ('k') | webrtc/video/video_send_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698