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

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: 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
« 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..760e13af50f93b02e68565dfe789bebadae5f689 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 initialize(const blink::WebString& mime_type,
ddorwin 2014/01/07 01:17:59 I don't think "initialize" is a good long term nam
xhwang 2014/01/07 01:38:25 I like "initialize" because it's generic and can b
ddorwin 2014/01/07 02:41:37 Maybe something like finishCreation but better. If
ddorwin 2014/01/07 02:41:37 The problem with "initialize" is that something sh
+ 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