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

Side by Side Diff: webrtc/call/flexfec_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/call/flexfec_receive_stream_impl.cc ('k') | webrtc/call/rampup_tests.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 (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 <stdint.h> 11 #include <stdint.h>
12 12
13 #include "webrtc/base/array_view.h"
14 #include "webrtc/call/flexfec_receive_stream_impl.h" 13 #include "webrtc/call/flexfec_receive_stream_impl.h"
15 #include "webrtc/call/rtp_stream_receiver_controller.h" 14 #include "webrtc/call/rtp_stream_receiver_controller.h"
16 #include "webrtc/modules/pacing/packet_router.h" 15 #include "webrtc/modules/pacing/packet_router.h"
17 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" 16 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h"
18 #include "webrtc/modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h" 17 #include "webrtc/modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h"
19 #include "webrtc/modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h" 18 #include "webrtc/modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h"
20 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 19 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
21 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" 20 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h"
22 #include "webrtc/modules/utility/include/mock/mock_process_thread.h" 21 #include "webrtc/modules/utility/include/mock/mock_process_thread.h"
22 #include "webrtc/rtc_base/array_view.h"
23 #include "webrtc/test/gmock.h" 23 #include "webrtc/test/gmock.h"
24 #include "webrtc/test/gtest.h" 24 #include "webrtc/test/gtest.h"
25 #include "webrtc/test/mock_transport.h" 25 #include "webrtc/test/mock_transport.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
28 28
29 namespace { 29 namespace {
30 30
31 constexpr uint8_t kFlexfecPlType = 118; 31 constexpr uint8_t kFlexfecPlType = 118;
32 constexpr uint8_t kFlexfecSsrc[] = {0x00, 0x00, 0x00, 0x01}; 32 constexpr uint8_t kFlexfecSsrc[] = {0x00, 0x00, 0x00, 0x01};
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 // Call back after being started. 146 // Call back after being started.
147 receive_stream.Start(); 147 receive_stream.Start();
148 EXPECT_CALL( 148 EXPECT_CALL(
149 recovered_packet_receiver, 149 recovered_packet_receiver,
150 OnRecoveredPacket(::testing::_, kRtpHeaderSize + kPayloadLength[1])); 150 OnRecoveredPacket(::testing::_, kRtpHeaderSize + kPayloadLength[1]));
151 receive_stream.OnRtpPacket(ParsePacket(kFlexfecPacket)); 151 receive_stream.OnRtpPacket(ParsePacket(kFlexfecPacket));
152 } 152 }
153 153
154 } // namespace webrtc 154 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/flexfec_receive_stream_impl.cc ('k') | webrtc/call/rampup_tests.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698