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

Unified Diff: public/platform/WebContentDecryptionModuleSession.h

Issue 568033003: Implement MediaKeySession close() and remove() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 ab08884ff61732ada3719cee68ebb52a8e538f83..49820de3623c70e18483aacb90f2c5da1109c73a 100644
--- a/public/platform/WebContentDecryptionModuleSession.h
+++ b/public/platform/WebContentDecryptionModuleSession.h
@@ -65,14 +65,10 @@ public:
virtual void setClientInterface(Client*) = 0;
virtual WebString sessionId() const = 0;
- // FIXME: Remove these methods once the new methods are implemented in Chromium.
- virtual void initializeNewSession(const WebString& mimeType, const unsigned char* initData, size_t initDataLength) = 0;
- virtual void update(const unsigned char* response, size_t responseLength) = 0;
- virtual void release() = 0;
-
- virtual void initializeNewSession(const WebString& initDataType, const unsigned char* initData, size_t initDataLength, const WebString& sessionType, WebContentDecryptionModuleResult);
- virtual void update(const unsigned char* response, size_t responseLength, WebContentDecryptionModuleResult);
- virtual void release(WebContentDecryptionModuleResult);
+ virtual void initializeNewSession(const WebString& initDataType, const unsigned char* initData, size_t initDataLength, const WebString& sessionType, WebContentDecryptionModuleResult) = 0;
+ virtual void update(const unsigned char* response, size_t responseLength, WebContentDecryptionModuleResult) = 0;
+ virtual void close(WebContentDecryptionModuleResult) = 0;
+ virtual void remove(WebContentDecryptionModuleResult) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698