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

Unified Diff: Source/modules/mediasource/WebKitSourceBufferList.h

Issue 14619016: Add WebKit prefix to MediaSource,SourceBuffer, and SourceBufferList objects. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « Source/modules/mediasource/WebKitSourceBuffer.idl ('k') | Source/modules/mediasource/WebKitSourceBufferList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698