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

Side by Side Diff: webrtc/call/flexfec_receive_stream_unittest.cc

Issue 3007763002: Move array_view.h to webrtc/api/ (Closed)
Patch Set: rebase Created 3 years, 3 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/BUILD.gn ('k') | webrtc/call/rtcp_demuxer.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 "webrtc/call/flexfec_receive_stream_impl.h" 11 #include "webrtc/call/flexfec_receive_stream_impl.h"
12 12
13 #include <stdint.h> 13 #include <stdint.h>
14 #include <memory> 14 #include <memory>
15 15
16 #include "webrtc/api/array_view.h"
16 #include "webrtc/call/rtp_stream_receiver_controller.h" 17 #include "webrtc/call/rtp_stream_receiver_controller.h"
17 #include "webrtc/modules/pacing/packet_router.h" 18 #include "webrtc/modules/pacing/packet_router.h"
18 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" 19 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h"
19 #include "webrtc/modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h" 20 #include "webrtc/modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h"
20 #include "webrtc/modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h" 21 #include "webrtc/modules/rtp_rtcp/mocks/mock_rtcp_rtt_stats.h"
21 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 22 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" 23 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h"
23 #include "webrtc/modules/utility/include/mock/mock_process_thread.h" 24 #include "webrtc/modules/utility/include/mock/mock_process_thread.h"
24 #include "webrtc/rtc_base/array_view.h"
25 #include "webrtc/rtc_base/ptr_util.h" 25 #include "webrtc/rtc_base/ptr_util.h"
26 #include "webrtc/test/gmock.h" 26 #include "webrtc/test/gmock.h"
27 #include "webrtc/test/gtest.h" 27 #include "webrtc/test/gtest.h"
28 #include "webrtc/test/mock_transport.h" 28 #include "webrtc/test/mock_transport.h"
29 29
30 namespace webrtc { 30 namespace webrtc {
31 31
32 namespace { 32 namespace {
33 33
34 using ::testing::_; 34 using ::testing::_;
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 EXPECT_CALL(recovered_packet_receiver, 148 EXPECT_CALL(recovered_packet_receiver,
149 OnRecoveredPacket(_, kRtpHeaderSize + kPayloadLength[1])); 149 OnRecoveredPacket(_, kRtpHeaderSize + kPayloadLength[1]));
150 150
151 receive_stream.OnRtpPacket(ParsePacket(kFlexfecPacket)); 151 receive_stream.OnRtpPacket(ParsePacket(kFlexfecPacket));
152 152
153 // Tear-down 153 // Tear-down
154 EXPECT_CALL(process_thread_, DeRegisterModule(_)).Times(1); 154 EXPECT_CALL(process_thread_, DeRegisterModule(_)).Times(1);
155 } 155 }
156 156
157 } // namespace webrtc 157 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/BUILD.gn ('k') | webrtc/call/rtcp_demuxer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698