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

Unified Diff: webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc

Issue 1335353005: Remove channel ids from various interfaces. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc
index ce66613ec0501ad0f6b2765a89fba267151c9936..6ef2a148fa3aabb10bbb709bc796b54e0d2642d3 100644
--- a/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtcp_receiver_unittest.cc
@@ -39,15 +39,12 @@ class TestTransport : public Transport,
void SetRTCPReceiver(RTCPReceiver* rtcp_receiver) {
rtcp_receiver_ = rtcp_receiver;
}
- int SendPacket(int /*ch*/, const void* /*data*/, size_t /*len*/) override {
+ int SendPacket(const void* /*data*/, size_t /*len*/) override {
ADD_FAILURE(); // FAIL() gives a compile error.
return -1;
}
- // Injects an RTCP packet into the receiver.
- int SendRTCPPacket(int /* ch */,
- const void* packet,
- size_t packet_len) override {
+ int SendRTCPPacket(const void* packet, size_t packet_len) override {
ADD_FAILURE();
return 0;
}
@@ -76,14 +73,13 @@ class RtcpReceiverTest : public ::testing::Test {
test_transport_ = new TestTransport();
RtpRtcp::Configuration configuration;
- configuration.id = 0;
configuration.audio = false;
configuration.clock = &system_clock_;
configuration.outgoing_transport = test_transport_;
configuration.remote_bitrate_estimator = remote_bitrate_estimator_.get();
rtp_rtcp_impl_ = new ModuleRtpRtcpImpl(configuration);
- rtcp_receiver_ = new RTCPReceiver(0, &system_clock_, false, NULL, NULL,
- NULL, rtp_rtcp_impl_);
+ rtcp_receiver_ = new RTCPReceiver(&system_clock_, false, NULL, NULL, NULL,
+ rtp_rtcp_impl_);
test_transport_->SetRTCPReceiver(rtcp_receiver_);
}
~RtcpReceiverTest() {
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtcp_receiver.cc ('k') | webrtc/modules/rtp_rtcp/source/rtcp_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698