| 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 23 matching lines...) Expand all Loading... |
| 34 | 34 |
| 35 #include "platform/audio/AudioSourceProvider.h" | 35 #include "platform/audio/AudioSourceProvider.h" |
| 36 #include "wtf/PassOwnPtr.h" | 36 #include "wtf/PassOwnPtr.h" |
| 37 #include "wtf/PassRefPtr.h" | 37 #include "wtf/PassRefPtr.h" |
| 38 #include "wtf/RefCounted.h" | 38 #include "wtf/RefCounted.h" |
| 39 #include "wtf/ThreadingPrimitives.h" | 39 #include "wtf/ThreadingPrimitives.h" |
| 40 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class MediaStreamDescriptor; | |
| 45 class MediaStreamSource; | 44 class MediaStreamSource; |
| 46 class WebAudioSourceProvider; | 45 class WebAudioSourceProvider; |
| 47 | 46 |
| 48 class PLATFORM_EXPORT MediaStreamComponent : public RefCounted<MediaStreamCompon
ent> { | 47 class PLATFORM_EXPORT MediaStreamComponent : public RefCounted<MediaStreamCompon
ent> { |
| 49 public: | 48 public: |
| 50 class ExtraData { | 49 class ExtraData { |
| 51 public: | 50 public: |
| 52 virtual ~ExtraData() { } | 51 virtual ~ExtraData() { } |
| 53 }; | 52 }; |
| 54 | 53 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 bool m_enabled; | 104 bool m_enabled; |
| 106 bool m_muted; | 105 bool m_muted; |
| 107 OwnPtr<ExtraData> m_extraData; | 106 OwnPtr<ExtraData> m_extraData; |
| 108 }; | 107 }; |
| 109 | 108 |
| 110 typedef Vector<RefPtr<MediaStreamComponent> > MediaStreamComponentVector; | 109 typedef Vector<RefPtr<MediaStreamComponent> > MediaStreamComponentVector; |
| 111 | 110 |
| 112 } // namespace blink | 111 } // namespace blink |
| 113 | 112 |
| 114 #endif // MediaStreamComponent_h | 113 #endif // MediaStreamComponent_h |
| OLD | NEW |