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

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

Issue 496143002: Update Pepper interface for EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: 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 682a6dadd197f5856274897687d9a5e8b8ec91b4..16dc5bd2762be3144e821d176164418efc32a31a 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -2463,6 +2463,13 @@ 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,
@@ -2481,6 +2488,22 @@ void PepperPluginInstanceImpl::SessionMessage(PP_Instance instance,
web_session_id_var, message_var, destination_url_var);
}
+void PepperPluginInstanceImpl::SessionKeysChange(
+ PP_Instance instance,
+ PP_Var web_session_id_var,
+ PP_Bool has_additional_usable_key) {
+ content_decryptor_delegate_->OnSessionKeysChange(web_session_id_var,
+ has_additional_usable_key);
+}
+
+void PepperPluginInstanceImpl::SessionExpirationChange(
+ PP_Instance instance,
+ PP_Var web_session_id_var,
+ PP_Time new_expiry_time) {
+ content_decryptor_delegate_->OnSessionExpirationChange(web_session_id_var,
+ new_expiry_time);
+}
+
void PepperPluginInstanceImpl::SessionReady(PP_Instance instance,
PP_Var web_session_id_var) {
content_decryptor_delegate_->OnSessionReady(web_session_id_var);

Powered by Google App Engine
This is Rietveld 408576698