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

Unified Diff: chromecast/media/cdm/cast_cdm.cc

Issue 2160953004: [Chromecast] Pass security origin to CastCdm and remove destination url (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Depends on //url:url Created 4 years, 5 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 | « chromecast/media/cdm/cast_cdm.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/cdm/cast_cdm.cc
diff --git a/chromecast/media/cdm/cast_cdm.cc b/chromecast/media/cdm/cast_cdm.cc
index 512564836c23d05cf531277d3e7bba0ce07fe62a..958448b99ba3fd4f35c8c655cd66d11df1050dea 100644
--- a/chromecast/media/cdm/cast_cdm.cc
+++ b/chromecast/media/cdm/cast_cdm.cc
@@ -16,6 +16,7 @@
#include "media/base/cdm_key_information.h"
#include "media/base/decryptor.h"
#include "media/cdm/player_tracker_impl.h"
+#include "url/gurl.h"
namespace chromecast {
namespace media {
@@ -109,9 +110,8 @@ void CastCdm::UnregisterPlayer(int registration_id) {
void CastCdm::OnSessionMessage(const std::string& session_id,
const std::vector<uint8_t>& message,
- const GURL& destination_url,
::media::MediaKeys::MessageType message_type) {
- session_message_cb_.Run(session_id, message_type, message, destination_url);
+ session_message_cb_.Run(session_id, message_type, message, GURL::EmptyGURL());
}
void CastCdm::OnSessionClosed(const std::string& session_id) {
« no previous file with comments | « chromecast/media/cdm/cast_cdm.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698