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

Side by Side Diff: third_party/WebKit/Source/modules/mediasource/SourceBufferTrackBaseSupplement.h

Issue 1658033002: Add SourceBuffer implementations of Audio/VideoTracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pass-media-tracks-to-blink
Patch Set: Fix ChromeOS builds Created 4 years, 9 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 2016 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 SourceBufferTrackBaseSupplement_h
6 #define SourceBufferTrackBaseSupplement_h
7
8 #include "platform/Supplementable.h"
9 #include "wtf/Allocator.h"
10
11 namespace blink {
12
13 class TrackBase;
14 class SourceBuffer;
15
16 class SourceBufferTrackBaseSupplement : public GarbageCollected<SourceBufferTrac kBaseSupplement>, public HeapSupplement<TrackBase> {
17 USING_GARBAGE_COLLECTED_MIXIN(SourceBufferTrackBaseSupplement);
18 public:
19 explicit SourceBufferTrackBaseSupplement(TrackBase&, SourceBuffer*);
20
21 static SourceBuffer* sourceBuffer(TrackBase&);
22
23 DECLARE_VIRTUAL_TRACE();
24
25 private:
26 Member<SourceBuffer> m_sourceBuffer;
27 };
28
29 } // namespace blink
30
31 #endif
32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698