// // Copyright 2013 Google Inc. All Rights Reserved. // #ifndef WV_CRYPTO_PLUGIN_MOCK_CDM_H_ #define WV_CRYPTO_PLUGIN_MOCK_CDM_H_ #include #include #include "gmock/gmock.h" #include "wv_cdm_types.h" #include "wv_content_decryption_module.h" namespace wvcdm { class MockCDM : public WvContentDecryptionModule { public: MOCK_METHOD8(Decrypt, CdmResponseType(const CdmSessionId&, bool, const KeyId&, const uint8_t*, size_t, const std::vector&, size_t, void*)); }; } // namespace wvcdm #endif // WV_CRYPTO_PLUGIN_MOCK_CDM_H_