| Index: Source/modules/encryptedmedia/MediaKeys.h
|
| diff --git a/Source/modules/encryptedmedia/MediaKeys.h b/Source/modules/encryptedmedia/MediaKeys.h
|
| index d7f669d91f4c269e97c005999e7981e6ced2629c..e31233128d3703d29eff9cb56a8b688d27a658b0 100644
|
| --- a/Source/modules/encryptedmedia/MediaKeys.h
|
| +++ b/Source/modules/encryptedmedia/MediaKeys.h
|
| @@ -37,6 +37,7 @@ namespace blink {
|
| class ExceptionState;
|
| class ExecutionContext;
|
| class HTMLMediaElement;
|
| +class MediaKeySession;
|
| class ScriptState;
|
| class WebContentDecryptionModule;
|
|
|
| @@ -50,8 +51,7 @@ public:
|
|
|
| const String& keySystem() const { return m_keySystem; }
|
|
|
| - ScriptPromise createSession(ScriptState*, const String& initDataType, ArrayBuffer* initData, const String& sessionType);
|
| - ScriptPromise createSession(ScriptState*, const String& initDataType, ArrayBufferView* initData, const String& sessionType);
|
| + MediaKeySession* createSession(ScriptState*, const String& sessionType);
|
|
|
| static bool isTypeSupported(const String& keySystem, const String& contentType);
|
|
|
| @@ -66,8 +66,6 @@ private:
|
| friend class MediaKeysInitializer;
|
| MediaKeys(ExecutionContext*, const String& keySystem, PassOwnPtr<blink::WebContentDecryptionModule>);
|
|
|
| - ScriptPromise createSessionInternal(ScriptState*, const String& initDataType, PassRefPtr<ArrayBuffer> initData, const String& sessionType);
|
| -
|
| const String m_keySystem;
|
| OwnPtr<blink::WebContentDecryptionModule> m_cdm;
|
| };
|
|
|