| Index: third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
|
| diff --git a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
|
| index d854be9aa6479dad86c61f94e5be7aab0c81f418..4a25ed2ca19f78f72e0d5f18c7dfdf54a7f816eb 100644
|
| --- a/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
|
| +++ b/third_party/WebKit/Source/modules/encryptedmedia/MediaKeySession.h
|
| @@ -88,7 +88,6 @@ class MediaKeySession final
|
| const String& initDataType,
|
| const DOMArrayPiece& initData);
|
| ScriptPromise load(ScriptState*, const String& sessionId);
|
| -
|
| ScriptPromise update(ScriptState*, const DOMArrayPiece& response);
|
| ScriptPromise close(ScriptState*);
|
| ScriptPromise remove(ScriptState*);
|
| @@ -115,6 +114,18 @@ class MediaKeySession final
|
|
|
| void actionTimerFired(TimerBase*);
|
|
|
| + // The following perform the asynchronous part of the command referenced.
|
| + void generateRequestTask(ContentDecryptionModuleResult*,
|
| + WebEncryptedMediaInitDataType,
|
| + DOMArrayBuffer* initDataBuffer);
|
| + void finishGenerateRequest();
|
| + void loadTask(ContentDecryptionModuleResult*, const String& sessionId);
|
| + void finishLoad();
|
| + void updateTask(ContentDecryptionModuleResult*,
|
| + DOMArrayBuffer* sanitizedResponse);
|
| + void closeTask(ContentDecryptionModuleResult*);
|
| + void removeTask(ContentDecryptionModuleResult*);
|
| +
|
| // WebContentDecryptionModuleSession::Client
|
| void message(MessageType,
|
| const unsigned char* message,
|
| @@ -124,12 +135,6 @@ class MediaKeySession final
|
| void keysStatusesChange(const WebVector<WebEncryptedMediaKeyInformation>&,
|
| bool hasAdditionalUsableKey) override;
|
|
|
| - // Called by NewSessionResult when the new session has been created.
|
| - void finishGenerateRequest();
|
| -
|
| - // Called by LoadSessionResult when the session has been loaded.
|
| - void finishLoad();
|
| -
|
| Member<GenericEventQueue> m_asyncEventQueue;
|
| std::unique_ptr<WebContentDecryptionModuleSession> m_session;
|
|
|
|
|