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

Unified Diff: media/test/pipeline_integration_test.cc

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
Index: media/test/pipeline_integration_test.cc
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc
index e1d7f55d7206fb6e10fd1f7c0ba0f237bc55b406..69b7da07f1bde6746402f71680174be80a2bc130 100644
--- a/media/test/pipeline_integration_test.cc
+++ b/media/test/pipeline_integration_test.cc
@@ -269,6 +269,11 @@ class KeyProvidingApp : public FakeEncryptedMedia::AppBase {
EXPECT_EQ(has_additional_usable_key, true);
}
+ void OnSessionExpirationUpdate(const std::string& session_id,
+ base::Time new_expiry_time) override {
+ EXPECT_EQ(current_session_id_, session_id);
+ }
+
void OnEncryptedMediaInitData(EmeInitDataType init_data_type,
const std::vector<uint8_t>& init_data,
AesDecryptor* decryptor) override {
@@ -352,6 +357,9 @@ class NoResponseApp : public FakeEncryptedMedia::AppBase {
EXPECT_EQ(has_additional_usable_key, true);
}
+ void OnSessionExpirationUpdate(const std::string& session_id,
+ base::Time new_expiry_time) override {}
+
void OnEncryptedMediaInitData(EmeInitDataType init_data_type,
const std::vector<uint8_t>& init_data,
AesDecryptor* decryptor) override {}

Powered by Google App Engine
This is Rietveld 408576698