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

Unified Diff: webrtc/call/fake_rtp_transport_controller_send.h

Issue 2838233002: Add PeerConnectionInterface::UpdateCallBitrate with call tests. (Closed)
Patch Set: Only update start from SetBitrateConfig when it changes; some comments and logging. 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
Index: webrtc/call/fake_rtp_transport_controller_send.h
diff --git a/webrtc/call/fake_rtp_transport_controller_send.h b/webrtc/call/fake_rtp_transport_controller_send.h
index 42462d906263c7ae55ad83ee7a3b5d729af33259..2456228f5315ba642777b09f9d0c7f1fb3605980 100644
--- a/webrtc/call/fake_rtp_transport_controller_send.h
+++ b/webrtc/call/fake_rtp_transport_controller_send.h
@@ -21,12 +21,13 @@ class FakeRtpTransportControllerSend
: public RtpTransportControllerSendInterface {
public:
explicit FakeRtpTransportControllerSend(
+ PacketRouter* packet_router,
SendSideCongestionController* send_side_cc)
- : send_side_cc_(send_side_cc) {
+ : packet_router_(packet_router), send_side_cc_(send_side_cc) {
RTC_DCHECK(send_side_cc);
}
- PacketRouter* packet_router() override { return &packet_router_; }
+ PacketRouter* packet_router() override { return packet_router_; }
SendSideCongestionController* send_side_cc() override {
return send_side_cc_;
@@ -39,7 +40,7 @@ class FakeRtpTransportControllerSend
RtpPacketSender* packet_sender() override { return send_side_cc_->pacer(); }
private:
- PacketRouter packet_router_;
+ PacketRouter* packet_router_;
SendSideCongestionController* send_side_cc_;
};

Powered by Google App Engine
This is Rietveld 408576698