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

Unified Diff: media/test/fake_encrypted_media.h

Issue 2831963003: EME: Allow temporary sessions to be removed for ClearKey only. (Closed)
Patch Set: rebase Created 3 years, 8 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/mojo/clients/mojo_cdm_factory.cc ('k') | media/test/fake_encrypted_media.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/test/fake_encrypted_media.h
diff --git a/media/test/fake_encrypted_media.h b/media/test/fake_encrypted_media.h
index eb6bc3bd234784f2dc89ea7172e6a0a586ff1c3b..59f50b39b69b9c95df65e10233a1dd98ca94633f 100644
--- a/media/test/fake_encrypted_media.h
+++ b/media/test/fake_encrypted_media.h
@@ -33,6 +33,9 @@ class FakeEncryptedMedia {
bool has_additional_usable_key,
CdmKeysInfo keys_info) = 0;
+ virtual void OnSessionExpirationUpdate(const std::string& session_id,
+ base::Time new_expiry_time) = 0;
+
virtual void OnEncryptedMediaInitData(EmeInitDataType init_data_type,
const std::vector<uint8_t>& init_data,
AesDecryptor* decryptor) = 0;
@@ -49,6 +52,8 @@ class FakeEncryptedMedia {
void OnSessionKeysChange(const std::string& session_id,
bool has_additional_usable_key,
CdmKeysInfo keys_info);
+ void OnSessionExpirationUpdate(const std::string& session_id,
+ base::Time new_expiry_time);
void OnEncryptedMediaInitData(EmeInitDataType init_data_type,
const std::vector<uint8_t>& init_data);
« no previous file with comments | « media/mojo/clients/mojo_cdm_factory.cc ('k') | media/test/fake_encrypted_media.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698