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

Unified Diff: media/base/mock_filters.h

Issue 15772012: Separate MediaKeys interface from Decryptor interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android Created 7 years, 7 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/media_keys.cc ('k') | media/crypto/aes_decryptor.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 5bc907171f5020aa6b0c16975134a53ee926bc5b..5b9062aa4c5a50251571201b0e168a1c16336047 100644
--- a/media/base/mock_filters.h
+++ b/media/base/mock_filters.h
@@ -160,18 +160,8 @@ class MockDecryptor : public Decryptor {
MockDecryptor();
virtual ~MockDecryptor();
- MOCK_METHOD4(GenerateKeyRequest, bool(const std::string& key_system,
- const std::string& type,
- const uint8* init_data,
- int init_data_length));
- MOCK_METHOD6(AddKey, void(const std::string& key_system,
- const uint8* key,
- int key_length,
- const uint8* init_data,
- int init_data_length,
- const std::string& session_id));
- MOCK_METHOD2(CancelKeyRequest, void(const std::string& key_system,
- const std::string& session_id));
+ MOCK_METHOD0(GetMediaKeys, MediaKeys*(void));
+
MOCK_METHOD2(RegisterNewKeyCB, void(StreamType stream_type,
const NewKeyCB& new_key_cb));
MOCK_METHOD3(Decrypt, void(StreamType stream_type,
« no previous file with comments | « media/base/media_keys.cc ('k') | media/crypto/aes_decryptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698