OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Ericsson AB. All rights reserved. | 2 * Copyright (C) 2011 Ericsson AB. All rights reserved. |
3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 16 matching lines...) Expand all Loading... |
27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
30 */ | 30 */ |
31 | 31 |
32 #ifndef MediaStreamComponent_h | 32 #ifndef MediaStreamComponent_h |
33 #define MediaStreamComponent_h | 33 #define MediaStreamComponent_h |
34 | 34 |
35 #include "platform/audio/AudioSourceProvider.h" | 35 #include "platform/audio/AudioSourceProvider.h" |
36 #include "platform/heap/Handle.h" | 36 #include "platform/heap/Handle.h" |
37 #include "wtf/PassOwnPtr.h" | 37 #include "wtf/Forward.h" |
38 #include "wtf/PassRefPtr.h" | |
39 #include "wtf/RefCounted.h" | |
40 #include "wtf/ThreadingPrimitives.h" | 38 #include "wtf/ThreadingPrimitives.h" |
41 #include "wtf/text/WTFString.h" | 39 #include "wtf/text/WTFString.h" |
42 | 40 |
43 namespace blink { | 41 namespace blink { |
44 | 42 |
45 class MediaStreamSource; | 43 class MediaStreamSource; |
46 class WebAudioSourceProvider; | 44 class WebAudioSourceProvider; |
47 | 45 |
48 class PLATFORM_EXPORT MediaStreamComponent final : public GarbageCollectedFinali
zed<MediaStreamComponent> { | 46 class PLATFORM_EXPORT MediaStreamComponent final : public GarbageCollectedFinali
zed<MediaStreamComponent> { |
49 USING_PRE_FINALIZER(MediaStreamComponent, dispose); | 47 USING_PRE_FINALIZER(MediaStreamComponent, dispose); |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 bool m_enabled; | 106 bool m_enabled; |
109 bool m_muted; | 107 bool m_muted; |
110 OwnPtr<ExtraData> m_extraData; | 108 OwnPtr<ExtraData> m_extraData; |
111 }; | 109 }; |
112 | 110 |
113 typedef HeapVector<Member<MediaStreamComponent>> MediaStreamComponentVector; | 111 typedef HeapVector<Member<MediaStreamComponent>> MediaStreamComponentVector; |
114 | 112 |
115 } // namespace blink | 113 } // namespace blink |
116 | 114 |
117 #endif // MediaStreamComponent_h | 115 #endif // MediaStreamComponent_h |
OLD | NEW |