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

Side by Side Diff: webrtc/call/rtp_transport_controller_send.h

Issue 2880323002: Move ownership of RtpTransportControllerSendInterface from Call to PeerConnection.
Patch Set: Delete shadowing member variables in BitrateEstimatorTest. Created 3 years, 6 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
« no previous file with comments | « webrtc/call/fake_rtp_transport_controller_send.h ('k') | webrtc/media/BUILD.gn » ('j') | 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) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 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
(...skipping 20 matching lines...) Expand all
31 SendSideCongestionController* send_side_cc() override { 31 SendSideCongestionController* send_side_cc() override {
32 return &send_side_cc_; 32 return &send_side_cc_;
33 } 33 }
34 TransportFeedbackObserver* transport_feedback_observer() override { 34 TransportFeedbackObserver* transport_feedback_observer() override {
35 return &send_side_cc_; 35 return &send_side_cc_;
36 } 36 }
37 RtpPacketSender* packet_sender() override { return send_side_cc_.pacer(); } 37 RtpPacketSender* packet_sender() override { return send_side_cc_.pacer(); }
38 38
39 private: 39 private:
40 PacketRouter packet_router_; 40 PacketRouter packet_router_;
41 // TODO(nisse): Should have a pointer to the
42 // SendSideCongestionController, to be able to share it between
43 // multiple transports. Unclear if the PacketRouter should be shared
44 // as well?
41 SendSideCongestionController send_side_cc_; 45 SendSideCongestionController send_side_cc_;
42 46
43 RTC_DISALLOW_COPY_AND_ASSIGN(RtpTransportControllerSend); 47 RTC_DISALLOW_COPY_AND_ASSIGN(RtpTransportControllerSend);
44 }; 48 };
45 49
46 } // namespace webrtc 50 } // namespace webrtc
47 51
48 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_ 52 #endif // WEBRTC_CALL_RTP_TRANSPORT_CONTROLLER_SEND_H_
OLDNEW
« no previous file with comments | « webrtc/call/fake_rtp_transport_controller_send.h ('k') | webrtc/media/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698