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

Unified Diff: content/renderer/media/webcontentdecryptionmodulesession_impl.h

Issue 101693009: Update WebContentDecryptionModuleSessionImpl to the latest EME spec. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase only Created 6 years, 11 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
« no previous file with comments | « no previous file | content/renderer/media/webcontentdecryptionmodulesession_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/webcontentdecryptionmodulesession_impl.h
diff --git a/content/renderer/media/webcontentdecryptionmodulesession_impl.h b/content/renderer/media/webcontentdecryptionmodulesession_impl.h
index 12c4fc31fa6306e1713ea10d65e6779a1359b0c5..c614ee3a978505a966df476e7c1a58b9c2239e84 100644
--- a/content/renderer/media/webcontentdecryptionmodulesession_impl.h
+++ b/content/renderer/media/webcontentdecryptionmodulesession_impl.h
@@ -34,10 +34,17 @@ class WebContentDecryptionModuleSessionImpl
// blink::WebContentDecryptionModuleSession implementation.
virtual blink::WebString sessionId() const;
+ virtual void initializeNewSession(const blink::WebString& mime_type,
+ const uint8* init_data,
+ size_t init_data_length);
+ virtual void update(const uint8* response, size_t response_length);
+ virtual void release();
+
+ // TODO(xhwang): Drop generateKeyRequest() and close() after blink side is
+ // updated.
virtual void generateKeyRequest(const blink::WebString& mime_type,
const uint8* init_data,
size_t init_data_length);
- virtual void update(const uint8* response, size_t response_length);
virtual void close();
// Callbacks.
« no previous file with comments | « no previous file | content/renderer/media/webcontentdecryptionmodulesession_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698