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

Unified Diff: ppapi/proxy/ppb_instance_proxy.cc

Issue 813683005: Add |legacy_destination_url| back to SessionMessage for EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changes 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 | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/thunk/ppb_content_decryptor_private_thunk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/ppb_instance_proxy.cc
diff --git a/ppapi/proxy/ppb_instance_proxy.cc b/ppapi/proxy/ppb_instance_proxy.cc
index 32ee8b2dea7ce8a6d5bcf2c17656c735b4fdcc52..31cdb04d762dc32e37a80bcd5c28517cfe98b4f0 100644
--- a/ppapi/proxy/ppb_instance_proxy.cc
+++ b/ppapi/proxy/ppb_instance_proxy.cc
@@ -600,11 +600,13 @@ void PPB_Instance_Proxy::PromiseRejected(PP_Instance instance,
void PPB_Instance_Proxy::SessionMessage(PP_Instance instance,
PP_Var web_session_id_var,
PP_CdmMessageType message_type,
- PP_Var message_var) {
+ PP_Var message_var,
+ PP_Var legacy_destination_url_var) {
dispatcher()->Send(new PpapiHostMsg_PPBInstance_SessionMessage(
API_ID_PPB_INSTANCE, instance,
SerializedVarSendInput(dispatcher(), web_session_id_var), message_type,
- SerializedVarSendInput(dispatcher(), message_var)));
+ SerializedVarSendInput(dispatcher(), message_var),
+ SerializedVarSendInput(dispatcher(), legacy_destination_url_var)));
}
void PPB_Instance_Proxy::SessionKeysChange(
@@ -1274,14 +1276,15 @@ void PPB_Instance_Proxy::OnHostMsgSessionMessage(
PP_Instance instance,
SerializedVarReceiveInput web_session_id,
PP_CdmMessageType message_type,
- SerializedVarReceiveInput message) {
+ SerializedVarReceiveInput message,
+ SerializedVarReceiveInput legacy_destination_url) {
if (!dispatcher()->permissions().HasPermission(PERMISSION_PRIVATE))
return;
EnterInstanceNoLock enter(instance);
if (enter.succeeded()) {
- enter.functions()->SessionMessage(instance,
- web_session_id.Get(dispatcher()),
- message_type, message.Get(dispatcher()));
+ enter.functions()->SessionMessage(
+ instance, web_session_id.Get(dispatcher()), message_type,
+ message.Get(dispatcher()), legacy_destination_url.Get(dispatcher()));
}
}
« no previous file with comments | « ppapi/proxy/ppb_instance_proxy.h ('k') | ppapi/thunk/ppb_content_decryptor_private_thunk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698