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

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: Fixed Win GPU tests (DOMDataView). 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
Index: Source/modules/mediasource/SourceBuffer.h
diff --git a/Source/modules/mediasource/SourceBuffer.h b/Source/modules/mediasource/SourceBuffer.h
index 1661b6ae6ec0b7d2a6436a1bce13e101ce5cb6eb..4665415e67b6cf41306c8070e50219e6ffe24a82 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&);

Powered by Google App Engine
This is Rietveld 408576698