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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver_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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 <memory> 11 #include <memory>
12 12
13 #include "webrtc/api/array_view.h"
13 #include "webrtc/common_types.h" 14 #include "webrtc/common_types.h"
14 #include "webrtc/common_video/include/video_bitrate_allocator.h" 15 #include "webrtc/common_video/include/video_bitrate_allocator.h"
15 #include "webrtc/modules/rtp_rtcp/source/byte_io.h" 16 #include "webrtc/modules/rtp_rtcp/source/byte_io.h"
16 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" 17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h"
17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h" 18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/app.h"
18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h" 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h"
19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h" 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/compound_packet.h"
20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h" 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h"
21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" 22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h" 23 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/fir.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h" 24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/nack.h"
24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" 25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h"
25 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h" 26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h"
26 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" 27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h"
27 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h" 28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/remb.h"
28 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h" 29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sdes.h"
29 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" 30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h"
30 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h" 31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/tmmbr.h"
31 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 32 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
32 #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h" 33 #include "webrtc/modules/rtp_rtcp/source/rtcp_receiver.h"
33 #include "webrtc/modules/rtp_rtcp/source/time_util.h" 34 #include "webrtc/modules/rtp_rtcp/source/time_util.h"
34 #include "webrtc/rtc_base/array_view.h"
35 #include "webrtc/rtc_base/arraysize.h" 35 #include "webrtc/rtc_base/arraysize.h"
36 #include "webrtc/rtc_base/random.h" 36 #include "webrtc/rtc_base/random.h"
37 #include "webrtc/system_wrappers/include/ntp_time.h" 37 #include "webrtc/system_wrappers/include/ntp_time.h"
38 #include "webrtc/test/gmock.h" 38 #include "webrtc/test/gmock.h"
39 #include "webrtc/test/gtest.h" 39 #include "webrtc/test/gtest.h"
40 40
41 namespace webrtc { 41 namespace webrtc {
42 namespace { 42 namespace {
43 43
44 using ::testing::_; 44 using ::testing::_;
(...skipping 1206 matching lines...) Expand 10 before | Expand all | Expand 10 after
1251 rtcp::ExtendedReports xr; 1251 rtcp::ExtendedReports xr;
1252 xr.SetTargetBitrate(bitrate); 1252 xr.SetTargetBitrate(bitrate);
1253 xr.SetSenderSsrc(kSenderSsrc); 1253 xr.SetSenderSsrc(kSenderSsrc);
1254 1254
1255 EXPECT_CALL(bitrate_allocation_observer_, 1255 EXPECT_CALL(bitrate_allocation_observer_,
1256 OnBitrateAllocationUpdated(expected_allocation)); 1256 OnBitrateAllocationUpdated(expected_allocation));
1257 InjectRtcpPacket(xr); 1257 InjectRtcpPacket(xr);
1258 } 1258 }
1259 1259
1260 } // namespace webrtc 1260 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/include/rtp_header_extension_map.h ('k') | webrtc/modules/rtp_rtcp/source/rtp_format_h264_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698