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

Unified Diff: media/mojo/services/mojo_cdm.h

Issue 833963003: Pass key_information on SessionKeysChange message (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: GN changes Created 5 years, 12 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/mojo/services/mojo_cdm.h
diff --git a/media/mojo/services/mojo_cdm.h b/media/mojo/services/mojo_cdm.h
index 1f66b055131526c837d8ff10e0ed1d9ad40fc427..a714b3252b098d70cbe670ec1a223bc2ca568e55 100644
--- a/media/mojo/services/mojo_cdm.h
+++ b/media/mojo/services/mojo_cdm.h
@@ -63,8 +63,10 @@ class MojoCdm : public MediaKeys, public mojo::ContentDecryptionModuleClient {
mojo::CdmException exception,
uint32_t system_code,
const mojo::String& error_message) final;
- void OnSessionKeysChange(const mojo::String& session_id,
- bool has_additional_usable_key) final;
+ void OnSessionKeysChange(
+ const mojo::String& session_id,
+ bool has_additional_usable_key,
+ mojo::Array<mojo::CdmKeyInformationPtr> key_information) final;
void OnSessionExpirationUpdate(const mojo::String& session_id,
int64_t new_expiry_time_usec) final;

Powered by Google App Engine
This is Rietveld 408576698