Index: third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h b/third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h |
index ce79a2cc28788343930342b4caae19accd1aede4..576c212712b707596052a56df3c8e39da934ba8d 100644 |
--- a/third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h |
@@ -26,6 +26,11 @@ class RTCRtpSender final : public GarbageCollectedFinalized<RTCRtpSender>, |
MediaStreamTrack* track(); |
+ WebRTCRtpSender* web_rtp_sender(); |
+ // Sets the track. This must be called when the |WebRTCRtpSender| has its |
+ // track updated, and the |track| must match the |WebRTCRtpSender::Track|. |
+ void SetTrack(MediaStreamTrack*); |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |