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

Unified Diff: content/renderer/pepper/pepper_plugin_instance_impl.cc

Issue 811923002: Changes to support CDM_7 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CrOS compile error Created 5 years, 11 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 | « content/renderer/pepper/pepper_plugin_instance_impl.h ('k') | media/cdm/ppapi/cdm_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_plugin_instance_impl.cc
diff --git a/content/renderer/pepper/pepper_plugin_instance_impl.cc b/content/renderer/pepper/pepper_plugin_instance_impl.cc
index f704e586c2a604d915c2032e144cb58b59fbbf25..d8c86ab686b0dbc18b26513130778c8d0f41af5e 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -2411,13 +2411,6 @@ void PepperPluginInstanceImpl::PromiseResolvedWithSession(
web_session_id_var);
}
-void PepperPluginInstanceImpl::PromiseResolvedWithKeyIds(PP_Instance instance,
- uint32 promise_id,
- PP_Var key_ids_var) {
- content_decryptor_delegate_->OnPromiseResolvedWithKeyIds(promise_id,
- key_ids_var);
-}
-
void PepperPluginInstanceImpl::PromiseRejected(
PP_Instance instance,
uint32 promise_id,
@@ -2430,18 +2423,21 @@ void PepperPluginInstanceImpl::PromiseRejected(
void PepperPluginInstanceImpl::SessionMessage(PP_Instance instance,
PP_Var web_session_id_var,
- PP_Var message_var,
- PP_Var destination_url_var) {
- content_decryptor_delegate_->OnSessionMessage(
- web_session_id_var, message_var, destination_url_var);
+ PP_CdmMessageType message_type,
+ PP_Var message_var) {
+ content_decryptor_delegate_->OnSessionMessage(web_session_id_var,
+ message_type, message_var);
}
void PepperPluginInstanceImpl::SessionKeysChange(
PP_Instance instance,
PP_Var web_session_id_var,
- PP_Bool has_additional_usable_key) {
+ PP_Bool has_additional_usable_key,
+ uint32_t key_count,
+ const struct PP_KeyInformation key_information[]) {
content_decryptor_delegate_->OnSessionKeysChange(web_session_id_var,
- has_additional_usable_key);
+ has_additional_usable_key,
+ key_count, key_information);
}
void PepperPluginInstanceImpl::SessionExpirationChange(
@@ -2452,11 +2448,6 @@ void PepperPluginInstanceImpl::SessionExpirationChange(
new_expiry_time);
}
-void PepperPluginInstanceImpl::SessionReady(PP_Instance instance,
- PP_Var web_session_id_var) {
- content_decryptor_delegate_->OnSessionReady(web_session_id_var);
-}
-
void PepperPluginInstanceImpl::SessionClosed(PP_Instance instance,
PP_Var web_session_id_var) {
content_decryptor_delegate_->OnSessionClosed(web_session_id_var);
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.h ('k') | media/cdm/ppapi/cdm_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698