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

Side by Side Diff: webrtc/modules/rtp_rtcp/test/testAPI/test_api.cc

Issue 1505993003: [rtp_rtcp] lint build/include errors fixed (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years 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/modules/rtp_rtcp/test/BWEStandAlone/MatlabPlot.cc ('k') | no next file » | 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) 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 "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h" 11 #include "webrtc/modules/rtp_rtcp/test/testAPI/test_api.h"
12 #include "webrtc/test/null_transport.h"
13 12
14 #include <algorithm> 13 #include <algorithm>
15 #include <vector> 14 #include <vector>
16 15
16 #include "webrtc/test/null_transport.h"
17
17 using namespace webrtc; 18 using namespace webrtc;
18 19
19 namespace webrtc { 20 namespace webrtc {
20 void LoopBackTransport::SetSendModule(RtpRtcp* rtp_rtcp_module, 21 void LoopBackTransport::SetSendModule(RtpRtcp* rtp_rtcp_module,
21 RTPPayloadRegistry* payload_registry, 22 RTPPayloadRegistry* payload_registry,
22 RtpReceiver* receiver, 23 RtpReceiver* receiver,
23 ReceiveStatistics* receive_statistics) { 24 ReceiveStatistics* receive_statistics) {
24 rtp_rtcp_module_ = rtp_rtcp_module; 25 rtp_rtcp_module_ = rtp_rtcp_module;
25 rtp_payload_registry_ = payload_registry; 26 rtp_payload_registry_ = payload_registry;
26 rtp_receiver_ = receiver; 27 rtp_receiver_ = receiver;
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 RTPHeader rtx_header; 181 RTPHeader rtx_header;
181 rtx_header.ssrc = kRtxSsrc; 182 rtx_header.ssrc = kRtxSsrc;
182 rtx_header.payloadType = kRtxPayloadType; 183 rtx_header.payloadType = kRtxPayloadType;
183 EXPECT_TRUE(rtp_payload_registry_->IsRtx(rtx_header)); 184 EXPECT_TRUE(rtp_payload_registry_->IsRtx(rtx_header));
184 rtx_header.ssrc = 0; 185 rtx_header.ssrc = 0;
185 EXPECT_FALSE(rtp_payload_registry_->IsRtx(rtx_header)); 186 EXPECT_FALSE(rtp_payload_registry_->IsRtx(rtx_header));
186 rtx_header.ssrc = kRtxSsrc; 187 rtx_header.ssrc = kRtxSsrc;
187 rtx_header.payloadType = 0; 188 rtx_header.payloadType = 0;
188 EXPECT_TRUE(rtp_payload_registry_->IsRtx(rtx_header)); 189 EXPECT_TRUE(rtp_payload_registry_->IsRtx(rtx_header));
189 } 190 }
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/BWEStandAlone/MatlabPlot.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698