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

Side by Side Diff: third_party/WebKit/Source/modules/peerconnection/RTCRtpSender.h

Issue 2749703005: RTCRtpSender with track behind RuntimeEnabled flag (Closed)
Patch Set: external/wpt/webrtc/RTCPeerConnection-idl-expected.txt updated passing 2 more tests 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 unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef RTCRtpSender_h
6 #define RTCRtpSender_h
7
8 #include "platform/bindings/ScriptWrappable.h"
9 #include "platform/heap/GarbageCollected.h"
10 #include "platform/heap/Member.h"
11 #include "platform/heap/Visitor.h"
12 #include "platform/wtf/text/WTFString.h"
13 #include "public/platform/WebRTCRtpSender.h"
14
15 namespace blink {
16
17 class MediaStreamTrack;
18
19 // https://w3c.github.io/webrtc-pc/#rtcrtpsender-interface
20 class RTCRtpSender final : public GarbageCollectedFinalized<RTCRtpSender>,
21 public ScriptWrappable {
22 DEFINE_WRAPPERTYPEINFO();
23
24 public:
25 RTCRtpSender(std::unique_ptr<WebRTCRtpSender>, MediaStreamTrack*);
26
27 MediaStreamTrack* track();
28
29 DECLARE_VIRTUAL_TRACE();
30
31 private:
32 std::unique_ptr<WebRTCRtpSender> sender_;
33 Member<MediaStreamTrack> track_;
34 };
35
36 } // namespace blink
37
38 #endif // RTCRtpSender_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698