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

Unified Diff: webkit/media/crypto/ppapi_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: reorder methods in the unittest Created 8 years, 2 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 | « media/media.gyp ('k') | webkit/media/crypto/ppapi_decryptor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/media/crypto/ppapi_decryptor.h
diff --git a/webkit/media/crypto/ppapi_decryptor.h b/webkit/media/crypto/ppapi_decryptor.h
index 18181a0f8208783cc92bc339b6600c5f9ac7b5b7..5cf9d6cb4d010d15f2d54e880606c41632335f65 100644
--- a/webkit/media/crypto/ppapi_decryptor.h
+++ b/webkit/media/crypto/ppapi_decryptor.h
@@ -51,6 +51,13 @@ class PpapiDecryptor : public media::Decryptor {
virtual void Decrypt(const scoped_refptr<media::DecoderBuffer>& encrypted,
const DecryptCB& decrypt_cb) OVERRIDE;
virtual void CancelDecrypt() OVERRIDE;
+ virtual void InitializeVideoDecoder(const media::VideoDecoderConfig& config,
+ const DecoderInitCB& init_cb) OVERRIDE;
+ virtual void DecryptAndDecodeVideo(
+ const scoped_refptr<media::DecoderBuffer>& encrypted,
+ const VideoDecodeCB& video_decode_cb) OVERRIDE;
+ virtual void CancelDecryptAndDecodeVideo() OVERRIDE;
+ virtual void StopVideoDecoder() OVERRIDE;
private:
void ReportFailureToCallPlugin(const std::string& key_system,
« no previous file with comments | « media/media.gyp ('k') | webkit/media/crypto/ppapi_decryptor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698