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

Unified Diff: ppapi/cpp/private/content_decryptor_private.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
Index: ppapi/cpp/private/content_decryptor_private.cc
diff --git a/ppapi/cpp/private/content_decryptor_private.cc b/ppapi/cpp/private/content_decryptor_private.cc
index d64d502e1468a6bf9dbed4e7349a4631553618ee..68fc61ec06cc1f463a603c698bfc4f0d19030ec3 100644
--- a/ppapi/cpp/private/content_decryptor_private.cc
+++ b/ppapi/cpp/private/content_decryptor_private.cc
@@ -308,14 +308,17 @@ void ContentDecryptor_Private::PromiseRejected(
}
}
-void ContentDecryptor_Private::SessionMessage(const std::string& web_session_id,
- PP_CdmMessageType message_type,
- pp::VarArrayBuffer message) {
+void ContentDecryptor_Private::SessionMessage(
+ const std::string& web_session_id,
+ PP_CdmMessageType message_type,
+ pp::VarArrayBuffer message,
+ const std::string& legacy_destination_url) {
if (has_interface<PPB_ContentDecryptor_Private>()) {
pp::Var web_session_id_var(web_session_id);
+ pp::Var legacy_destination_url_var(legacy_destination_url);
get_interface<PPB_ContentDecryptor_Private>()->SessionMessage(
associated_instance_.pp_instance(), web_session_id_var.pp_var(),
- message_type, message.pp_var());
+ message_type, message.pp_var(), legacy_destination_url_var.pp_var());
}
}
« no previous file with comments | « ppapi/cpp/private/content_decryptor_private.h ('k') | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698