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

Unified Diff: media/cdm/aes_decryptor.cc

Issue 2406073002: EME: Implement Session Closed algorithm (Closed)
Patch Set: Created 4 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
Index: media/cdm/aes_decryptor.cc
diff --git a/media/cdm/aes_decryptor.cc b/media/cdm/aes_decryptor.cc
index 37dc4172450f36e5b7f5bdadf28c4abdd49bfbab..0ecaa0b690a8d243114ec1e8e58cbb8534832731 100644
--- a/media/cdm/aes_decryptor.cc
+++ b/media/cdm/aes_decryptor.cc
@@ -408,11 +408,6 @@ void AesDecryptor::CloseSession(const std::string& session_id,
DeleteKeysForSession(session_id);
promise->resolve();
- // Update key statuses. All keys have been destroyed, so it's an empty set.
- session_keys_change_cb_.Run(session_id, false, CdmKeysInfo());
-
- // Update expiration time to NaN. (http://crbug.com/624192)
-
// Resolve the closed attribute.
session_closed_cb_.Run(session_id);
}

Powered by Google App Engine
This is Rietveld 408576698