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

Unified Diff: media/base/mock_filters.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/base/filter_collection.cc ('k') | media/base/video_decoder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/mock_filters.h
diff --git a/media/base/mock_filters.h b/media/base/mock_filters.h
index be185dceff296a639459a574ce470b07bb221659..4404bcfb8c5fd30025fa0472583a687d2530381d 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -208,6 +208,13 @@ class MockDecryptor : public Decryptor {
MOCK_METHOD2(Decrypt, void(const scoped_refptr<DecoderBuffer>& encrypted,
const DecryptCB& decrypt_cb));
MOCK_METHOD0(CancelDecrypt, void());
+ MOCK_METHOD2(InitializeVideoDecoder, void(const VideoDecoderConfig& config,
+ const DecoderInitCB& init_cb));
+ MOCK_METHOD2(DecryptAndDecodeVideo,
+ void(const scoped_refptr<media::DecoderBuffer>& encrypted,
+ const VideoDecodeCB& video_decode_cb));
+ MOCK_METHOD0(CancelDecryptAndDecodeVideo, void());
+ MOCK_METHOD0(StopVideoDecoder, void());
private:
DISALLOW_COPY_AND_ASSIGN(MockDecryptor);
« no previous file with comments | « media/base/filter_collection.cc ('k') | media/base/video_decoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698