Chromium Code Reviews| OLD | NEW |
|---|---|
| (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*); | |
|
philipj_slow
2016/04/05 14:52:26
Can you make this constructor private and have a s
| |
| 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 | |
| OLD | NEW |