| Index: Source/modules/mediasource/WebKitSourceBufferList.h
|
| diff --git a/Source/modules/mediasource/SourceBufferList.h b/Source/modules/mediasource/WebKitSourceBufferList.h
|
| similarity index 75%
|
| rename from Source/modules/mediasource/SourceBufferList.h
|
| rename to Source/modules/mediasource/WebKitSourceBufferList.h
|
| index 7c5b2156c6e21f9e49cdd7af05ddddc055c0231f..6de90733fc7e22211ff59b6b52d16dd444098e96 100644
|
| --- a/Source/modules/mediasource/SourceBufferList.h
|
| +++ b/Source/modules/mediasource/WebKitSourceBufferList.h
|
| @@ -28,8 +28,8 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef SourceBufferList_h
|
| -#define SourceBufferList_h
|
| +#ifndef WebKitSourceBufferList_h
|
| +#define WebKitSourceBufferList_h
|
|
|
| #include "core/dom/EventTarget.h"
|
| #include "wtf/RefCounted.h"
|
| @@ -37,37 +37,37 @@
|
|
|
| namespace WebCore {
|
|
|
| -class SourceBuffer;
|
| +class WebKitSourceBuffer;
|
| class GenericEventQueue;
|
|
|
| -class SourceBufferList : public RefCounted<SourceBufferList>, public EventTarget {
|
| +class WebKitSourceBufferList : public RefCounted<WebKitSourceBufferList>, public EventTarget {
|
| public:
|
| - static PassRefPtr<SourceBufferList> create(ScriptExecutionContext* context, GenericEventQueue* asyncEventQueue)
|
| + static PassRefPtr<WebKitSourceBufferList> create(ScriptExecutionContext* context, GenericEventQueue* asyncEventQueue)
|
| {
|
| - return adoptRef(new SourceBufferList(context, asyncEventQueue));
|
| + return adoptRef(new WebKitSourceBufferList(context, asyncEventQueue));
|
| }
|
| - virtual ~SourceBufferList() { }
|
| + virtual ~WebKitSourceBufferList() { }
|
|
|
| unsigned long length() const;
|
| - SourceBuffer* item(unsigned index) const;
|
| + WebKitSourceBuffer* item(unsigned index) const;
|
|
|
| - void add(PassRefPtr<SourceBuffer>);
|
| - bool remove(SourceBuffer*);
|
| + void add(PassRefPtr<WebKitSourceBuffer>);
|
| + bool remove(WebKitSourceBuffer*);
|
| void clear();
|
|
|
| // EventTarget interface
|
| virtual const AtomicString& interfaceName() const OVERRIDE;
|
| virtual ScriptExecutionContext* scriptExecutionContext() const OVERRIDE;
|
|
|
| - using RefCounted<SourceBufferList>::ref;
|
| - using RefCounted<SourceBufferList>::deref;
|
| + using RefCounted<WebKitSourceBufferList>::ref;
|
| + using RefCounted<WebKitSourceBufferList>::deref;
|
|
|
| protected:
|
| virtual EventTargetData* eventTargetData() OVERRIDE;
|
| virtual EventTargetData* ensureEventTargetData() OVERRIDE;
|
|
|
| private:
|
| - SourceBufferList(ScriptExecutionContext*, GenericEventQueue*);
|
| + WebKitSourceBufferList(ScriptExecutionContext*, GenericEventQueue*);
|
|
|
| void createAndFireEvent(const AtomicString&);
|
|
|
| @@ -78,7 +78,7 @@ private:
|
| ScriptExecutionContext* m_scriptExecutionContext;
|
| GenericEventQueue* m_asyncEventQueue;
|
|
|
| - Vector<RefPtr<SourceBuffer> > m_list;
|
| + Vector<RefPtr<WebKitSourceBuffer> > m_list;
|
| };
|
|
|
| } // namespace WebCore
|
|
|