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

Unified Diff: media/base/media_keys.h

Issue 1712903002: Remove prefixed EME. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix isRenewalMessage() in browser tests. Created 4 years, 10 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 | « media/base/media_client.cc ('k') | media/blink/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/media_keys.h
diff --git a/media/base/media_keys.h b/media/base/media_keys.h
index bb34adfbf3a70a0f1682212246a9808781c24625..121a3bb67ccf8e0c75b14a7aa150d04ae6e1795b 100644
--- a/media/base/media_keys.h
+++ b/media/base/media_keys.h
@@ -66,22 +66,8 @@ typedef ScopedVector<CdmKeyInformation> CdmKeysInfo;
class MEDIA_EXPORT MediaKeys
: public base::RefCountedThreadSafe<MediaKeys, MediaKeysTraits> {
public:
- // Reported to UMA, so never reuse a value!
- // Must be kept in sync with blink::WebMediaPlayerClient::MediaKeyErrorCode
- // (enforced in webmediaplayer_impl.cc).
- // TODO(jrummell): Can this be moved to proxy_decryptor as it should only be
- // used by the prefixed EME code?
- enum KeyError {
- kUnknownError = 1,
- kClientError,
- // The commented v0.1b values below have never been used.
- // kServiceError,
- kOutputError = 4,
- // kHardwareChangeError,
- // kDomainError,
- kMaxKeyError // Must be last and greater than any legit value.
- };
-
+ // TODO(xhwang): Remove after prefixed EME support is removed. See
+ // http://crbug.com/249976
// Must be a superset of cdm::MediaKeyException.
enum Exception {
NOT_SUPPORTED_ERROR,
@@ -193,6 +179,7 @@ struct MEDIA_EXPORT MediaKeysTraits {
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)>
SessionMessageCB;
« no previous file with comments | « media/base/media_client.cc ('k') | media/blink/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698