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

Unified Diff: media/blink/webmediaplayer_impl.h

Issue 935243002: Decryptors can report kNoKey to WebMediaPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: media/blink/webmediaplayer_impl.h
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h
index 6e8de1f8d57f4d5d248ae83d7d624db576367a84..8081f2387a4fbaab4c803a14090b6fcec4f614d9 100644
--- a/media/blink/webmediaplayer_impl.h
+++ b/media/blink/webmediaplayer_impl.h
@@ -212,6 +212,10 @@ class MEDIA_EXPORT WebMediaPlayerImpl
void OnEncryptedMediaInitData(const std::string& init_data_type,
const std::vector<uint8>& init_data);
+ // Called when the decoders need a key in order to decrypt the encrypted
ddorwin 2015/02/19 05:33:17 s/the decoders/a decoder/? ditto on the descripti
jrummell 2015/02/23 22:06:32 Done.
+ // stream.
+ void OnWaitingForEncryptionKey();
ddorwin 2015/02/19 05:33:17 Decryption
jrummell 2015/02/23 22:06:32 Done.
+
void SetCdm(CdmContext* cdm_context, const CdmAttachedCB& cdm_attached_cb);
// Called when a CDM has been attached to the |pipeline_|.

Powered by Google App Engine
This is Rietveld 408576698