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

Unified Diff: media/cdm/proxy_decryptor.cc

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/cdm/proxy_decryptor.cc
diff --git a/media/cdm/proxy_decryptor.cc b/media/cdm/proxy_decryptor.cc
index 85e863aa242ec310a5ac7e44a852f0c6a7f2870a..5cafa440d8d9db89f5c2641aafc84cb7685d6c47 100644
--- a/media/cdm/proxy_decryptor.cc
+++ b/media/cdm/proxy_decryptor.cc
@@ -12,6 +12,7 @@
#include "base/strings/string_util.h"
#include "media/base/cdm_callback_promise.h"
#include "media/base/cdm_factory.h"
+#include "media/base/cdm_key_information.h"
#include "media/base/key_systems.h"
#include "media/cdm/json_web_key.h"
#include "media/cdm/key_system_names.h"
@@ -227,8 +228,10 @@ void ProxyDecryptor::OnSessionMessage(const std::string& web_session_id,
key_message_cb_.Run(web_session_id, message, destination_url);
}
-void ProxyDecryptor::OnSessionKeysChange(const std::string& web_session_id,
- bool has_additional_usable_key) {
+void ProxyDecryptor::OnSessionKeysChange(
+ const std::string& web_session_id,
+ bool has_additional_usable_key,
+ const CdmKeyInformationVector& key_information) {
// EME v0.1b doesn't support this event.
}

Powered by Google App Engine
This is Rietveld 408576698