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

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: remove vector.data() Created 6 years, 3 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/base/limits.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 304fdf88a897a4a732a9ab1433076cf21d96d6cf..c3570db42530fddb2517cfbe5d2f89823cd790f6 100644
--- a/content/renderer/pepper/pepper_plugin_instance_impl.cc
+++ b/content/renderer/pepper/pepper_plugin_instance_impl.cc
@@ -2485,6 +2485,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,
@@ -2503,6 +2510,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);
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.h ('k') | media/base/limits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698