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

Unified Diff: public/platform/WebContentDecryptionModuleSession.h

Issue 124253003: Update MediaKeySession events to match latest EME spec (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 12 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: public/platform/WebContentDecryptionModuleSession.h
diff --git a/public/platform/WebContentDecryptionModuleSession.h b/public/platform/WebContentDecryptionModuleSession.h
index 4b01c4f14ec0a770b9b9874bf0631ebea26a9ec5..1edeb07fb3bbf6c63b285d807c7e524c25a51638 100644
--- a/public/platform/WebContentDecryptionModuleSession.h
+++ b/public/platform/WebContentDecryptionModuleSession.h
@@ -47,9 +47,13 @@ public:
MediaKeyErrorCodeClient,
};
- virtual void keyAdded() = 0;
virtual void keyError(MediaKeyErrorCode, unsigned long systemCode) = 0;
virtual void keyMessage(const unsigned char* message, size_t messageLength, const blink::WebURL& destinationURL) = 0;
+ virtual void keyReady() = 0;
+ virtual void keyClosed() = 0;
+
+ // FIXME: Remove when all callers change to using keyReady().
+ virtual void keyAdded() { keyReady(); }
protected:
virtual ~Client();

Powered by Google App Engine
This is Rietveld 408576698