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

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

Issue 2255943002: EME: Remove obsolete legacy APIs related to versions of prefixed EME (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build and add bug reference for obsoletes Created 4 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: chromecast/media/cdm/cast_cdm.cc
diff --git a/chromecast/media/cdm/cast_cdm.cc b/chromecast/media/cdm/cast_cdm.cc
index 958448b99ba3fd4f35c8c655cd66d11df1050dea..946955c0ee166eadf63739f7e3baf8c3a9638f9b 100644
--- a/chromecast/media/cdm/cast_cdm.cc
+++ b/chromecast/media/cdm/cast_cdm.cc
@@ -76,7 +76,6 @@ CastCdm::~CastCdm() {
void CastCdm::Initialize(
const ::media::SessionMessageCB& session_message_cb,
const ::media::SessionClosedCB& session_closed_cb,
- const ::media::LegacySessionErrorCB& legacy_session_error_cb,
const ::media::SessionKeysChangeCB& session_keys_change_cb,
const ::media::SessionExpirationUpdateCB& session_expiration_update_cb) {
DCHECK(thread_checker_.CalledOnValidThread());
@@ -86,7 +85,6 @@ void CastCdm::Initialize(
session_message_cb_ = session_message_cb;
session_closed_cb_ = session_closed_cb;
- legacy_session_error_cb_ = legacy_session_error_cb;
session_keys_change_cb_ = session_keys_change_cb;
session_expiration_update_cb_ = session_expiration_update_cb;
@@ -111,7 +109,7 @@ void CastCdm::UnregisterPlayer(int registration_id) {
void CastCdm::OnSessionMessage(const std::string& session_id,
const std::vector<uint8_t>& message,
::media::MediaKeys::MessageType message_type) {
- session_message_cb_.Run(session_id, message_type, message, GURL::EmptyGURL());
+ session_message_cb_.Run(session_id, message_type, message);
}
void CastCdm::OnSessionClosed(const std::string& session_id) {

Powered by Google App Engine
This is Rietveld 408576698