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

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

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 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
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/modules/mediasource/SourceBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/SourceBuffer.h
diff --git a/Source/modules/mediasource/SourceBuffer.h b/Source/modules/mediasource/SourceBuffer.h
index 79804a003a3b9a50c4fb9695da2aa6c125367f70..5f7ffd460b0a5023b40b9d5ebad7cb28291c8ad0 100644
--- a/Source/modules/mediasource/SourceBuffer.h
+++ b/Source/modules/mediasource/SourceBuffer.h
@@ -37,12 +37,13 @@
#include "platform/AsyncMethodRunner.h"
#include "platform/weborigin/KURL.h"
#include "public/platform/WebSourceBufferClient.h"
-#include "wtf/Forward.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
namespace blink {
+class DOMArrayBuffer;
+class DOMArrayBufferView;
class ExceptionState;
class FileReaderLoader;
class GenericEventQueue;
@@ -69,8 +70,8 @@ public:
PassRefPtrWillBeRawPtr<TimeRanges> buffered(ExceptionState&) const;
double timestampOffset() const;
void setTimestampOffset(double, ExceptionState&);
- void appendBuffer(PassRefPtr<ArrayBuffer> data, ExceptionState&);
- void appendBuffer(PassRefPtr<ArrayBufferView> data, ExceptionState&);
+ void appendBuffer(PassRefPtr<DOMArrayBuffer> data, ExceptionState&);
+ void appendBuffer(PassRefPtr<DOMArrayBufferView> data, ExceptionState&);
void appendStream(PassRefPtrWillBeRawPtr<Stream>, ExceptionState&);
void appendStream(PassRefPtrWillBeRawPtr<Stream>, unsigned long long maxSize, ExceptionState&);
void abort(ExceptionState&);
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeys.cpp ('k') | Source/modules/mediasource/SourceBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698