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

Unified Diff: Source/modules/encryptedmedia/MediaKeySession.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
Index: Source/modules/encryptedmedia/MediaKeySession.h
diff --git a/Source/modules/encryptedmedia/MediaKeySession.h b/Source/modules/encryptedmedia/MediaKeySession.h
index 56abd8d6073574df4db70f16cb29e8e3d679be44..2eccbcc436789be64cfb243ba89d870424a7d18e 100644
--- a/Source/modules/encryptedmedia/MediaKeySession.h
+++ b/Source/modules/encryptedmedia/MediaKeySession.h
@@ -33,12 +33,11 @@
#include "platform/Timer.h"
#include "platform/heap/Handle.h"
#include "public/platform/WebContentDecryptionModuleSession.h"
-#include "wtf/Forward.h"
namespace blink {
-class ScriptPromise;
-class ScriptState;
+class DOMArrayBuffer;
+class DOMArrayBufferView;
class GenericEventQueue;
class MediaKeyError;
class MediaKeys;
@@ -73,15 +72,15 @@ public:
double expiration() const { return m_expiration; }
ScriptPromise closed(ScriptState*);
- ScriptPromise generateRequest(ScriptState*, const String& initDataType, ArrayBuffer* initData);
- ScriptPromise generateRequest(ScriptState*, const String& initDataType, ArrayBufferView* initData);
+ ScriptPromise generateRequest(ScriptState*, const String& initDataType, DOMArrayBuffer* initData);
+ ScriptPromise generateRequest(ScriptState*, const String& initDataType, DOMArrayBufferView* initData);
ScriptPromise load(ScriptState*, const String& sessionId);
void setError(MediaKeyError*);
MediaKeyError* error() { return m_error.get(); }
- ScriptPromise update(ScriptState*, ArrayBuffer* response);
- ScriptPromise update(ScriptState*, ArrayBufferView* response);
+ ScriptPromise update(ScriptState*, DOMArrayBuffer* response);
+ ScriptPromise update(ScriptState*, DOMArrayBufferView* response);
ScriptPromise close(ScriptState*);
ScriptPromise remove(ScriptState*);
« no previous file with comments | « Source/modules/encryptedmedia/MediaKeyMessageEvent.cpp ('k') | Source/modules/encryptedmedia/MediaKeySession.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698