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

Unified Diff: webrtc/test/call_test.h

Issue 2880323002: Move ownership of RtpTransportControllerSendInterface from Call to PeerConnection.
Patch Set: Delete shadowing member variables in BitrateEstimatorTest. Created 3 years, 7 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/pc/peerconnection.cc ('k') | webrtc/test/call_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/call_test.h
diff --git a/webrtc/test/call_test.h b/webrtc/test/call_test.h
index 39df3433310fed265c8fffee2d446fd9e71ef5b4..da0659a57f571908e36d8ae6f5309765084cb95b 100644
--- a/webrtc/test/call_test.h
+++ b/webrtc/test/call_test.h
@@ -14,6 +14,7 @@
#include <vector>
#include "webrtc/call/call.h"
+#include "webrtc/call/rtp_transport_controller_send.h"
#include "webrtc/logging/rtc_event_log/rtc_event_log.h"
#include "webrtc/test/encoder_settings.h"
#include "webrtc/test/fake_audio_device.h"
@@ -67,8 +68,8 @@ class CallTest : public ::testing::Test {
void CreateCalls(const Call::Config& sender_config,
const Call::Config& receiver_config);
- void CreateSenderCall(const Call::Config& config);
- void CreateReceiverCall(const Call::Config& config);
+ void CreateSenderCall(Call::Config config);
+ void CreateReceiverCall(Call::Config config);
void DestroyCalls();
void CreateSendConfig(size_t num_video_streams,
@@ -99,6 +100,7 @@ class CallTest : public ::testing::Test {
Clock* const clock_;
std::unique_ptr<webrtc::RtcEventLog> event_log_;
+ std::unique_ptr<RtpTransportControllerSend> sender_rtp_transport_send_;
std::unique_ptr<Call> sender_call_;
std::unique_ptr<PacketTransport> send_transport_;
VideoSendStream::Config video_send_config_;
@@ -107,6 +109,8 @@ class CallTest : public ::testing::Test {
AudioSendStream::Config audio_send_config_;
AudioSendStream* audio_send_stream_;
+ // Needed at for sending feedback messages.
+ std::unique_ptr<RtpTransportControllerSend> receiver_rtp_transport_send_;
std::unique_ptr<Call> receiver_call_;
std::unique_ptr<PacketTransport> receive_transport_;
std::vector<VideoReceiveStream::Config> video_receive_configs_;
« no previous file with comments | « webrtc/pc/peerconnection.cc ('k') | webrtc/test/call_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698