OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "modules/peerconnection/RTCRtpReceiver.h" | 5 #include "modules/peerconnection/RTCRtpReceiver.h" |
6 | 6 |
7 #include "bindings/core/v8/Microtask.h" | 7 #include "platform/bindings/Microtask.h" |
8 #include "platform/wtf/text/WTFString.h" | 8 #include "platform/wtf/text/WTFString.h" |
9 #include "public/platform/WebRTCRtpContributingSource.h" | 9 #include "public/platform/WebRTCRtpContributingSource.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 RTCRtpReceiver::RTCRtpReceiver(std::unique_ptr<WebRTCRtpReceiver> receiver, | 13 RTCRtpReceiver::RTCRtpReceiver(std::unique_ptr<WebRTCRtpReceiver> receiver, |
14 MediaStreamTrack* track) | 14 MediaStreamTrack* track) |
15 : receiver_(std::move(receiver)), track_(track) { | 15 : receiver_(std::move(receiver)), track_(track) { |
16 DCHECK(receiver_); | 16 DCHECK(receiver_); |
17 DCHECK(track_); | 17 DCHECK(track_); |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 contributing_sources_needs_updating_ = true; | 70 contributing_sources_needs_updating_ = true; |
71 } | 71 } |
72 | 72 |
73 DEFINE_TRACE(RTCRtpReceiver) { | 73 DEFINE_TRACE(RTCRtpReceiver) { |
74 visitor->Trace(track_); | 74 visitor->Trace(track_); |
75 visitor->Trace(contributing_sources_by_source_id_); | 75 visitor->Trace(contributing_sources_by_source_id_); |
76 visitor->Trace(contributing_sources_); | 76 visitor->Trace(contributing_sources_); |
77 } | 77 } |
78 | 78 |
79 } // namespace blink | 79 } // namespace blink |
OLD | NEW |