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

Unified Diff: media/base/media_keys.h

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: media/base/media_keys.h
diff --git a/media/base/media_keys.h b/media/base/media_keys.h
index d5fa98da09d40b9e165d1a64d667e3a1b6b17631..6e094af5a857c45522f1018171df29a6589e426e 100644
--- a/media/base/media_keys.h
+++ b/media/base/media_keys.h
@@ -181,9 +181,7 @@ struct MEDIA_EXPORT MediaKeysTraits {
// See http://w3c.github.io/encrypted-media/#dom-evt-message
typedef base::Callback<void(const std::string& session_id,
MediaKeys::MessageType message_type,
- const std::vector<uint8_t>& message,
- // TODO(ddorwin): Remove. https://crbug.com/249976
- const GURL& legacy_destination_url)>
+ const std::vector<uint8_t>& message)>
SessionMessageCB;
// Called when the session specified by |session_id| is closed. Note that the
@@ -192,14 +190,6 @@ typedef base::Callback<void(const std::string& session_id,
// lost. See http://w3c.github.io/encrypted-media/#session-close
typedef base::Callback<void(const std::string& session_id)> SessionClosedCB;
-// TODO(xhwang): Remove after prefixed EME support is removed. See
-// http://crbug.com/249976
-typedef base::Callback<void(const std::string& session_id,
- MediaKeys::Exception exception,
- uint32_t system_code,
- const std::string& error_message)>
- LegacySessionErrorCB;
-
// Called when there has been a change in the keys in the session or their
// status. See http://w3c.github.io/encrypted-media/#dom-evt-keystatuseschange
typedef base::Callback<void(const std::string& session_id,

Powered by Google App Engine
This is Rietveld 408576698