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

Unified Diff: webkit/media/crypto/proxy_decryptor.h

Issue 10969028: Add video decoding methods in Decryptor and add DecryptingVideoDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: webkit/media/crypto/proxy_decryptor.h
diff --git a/webkit/media/crypto/proxy_decryptor.h b/webkit/media/crypto/proxy_decryptor.h
index 4d42ea993127197192870ec4fae0408e3aa6ec54..00882812d942904d1c2186205122345f6b021581 100644
--- a/webkit/media/crypto/proxy_decryptor.h
+++ b/webkit/media/crypto/proxy_decryptor.h
@@ -57,6 +57,13 @@ class ProxyDecryptor : public media::Decryptor {
virtual void Decrypt(const scoped_refptr<media::DecoderBuffer>& encrypted,
const DecryptCB& decrypt_cb) OVERRIDE;
virtual void Stop() OVERRIDE;
+ virtual void InitializeVideoDecoder(const media::VideoDecoderConfig& config,
+ const InitializeCB& init_cb) OVERRIDE;
+ virtual void DecryptAndDecodeVideo(
+ const scoped_refptr<media::DecoderBuffer>& encrypted,
+ const VideoDecodeCB& video_decode_cb) OVERRIDE;
+ virtual void ResetVideoDecoder() OVERRIDE;
+ virtual void StopVideoDecoder() OVERRIDE;
private:
scoped_ptr<media::Decryptor> CreatePpapiDecryptor(

Powered by Google App Engine
This is Rietveld 408576698