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

Unified Diff: third_party/WebKit/public/platform/WebMediaPlayer.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
Index: third_party/WebKit/public/platform/WebMediaPlayer.h
diff --git a/third_party/WebKit/public/platform/WebMediaPlayer.h b/third_party/WebKit/public/platform/WebMediaPlayer.h
index 47f302211d0dae8333448a30801286092e79d2bd..b3739b4d37490bb4e5779c7becf07962a999f0ca 100644
--- a/third_party/WebKit/public/platform/WebMediaPlayer.h
+++ b/third_party/WebKit/public/platform/WebMediaPlayer.h
@@ -82,15 +82,6 @@ public:
Aggressive,
};
- // Represents synchronous exceptions that can be thrown from the Encrypted
- // Media methods. This is different from the asynchronous MediaKeyError.
- enum MediaKeyException {
- MediaKeyExceptionNoError,
- MediaKeyExceptionInvalidPlayerState,
- MediaKeyExceptionKeySystemNotSupported,
- MediaKeyExceptionInvalidAccess,
- };
-
enum CORSMode {
CORSModeUnspecified,
CORSModeAnonymous,
@@ -184,11 +175,6 @@ public:
virtual WebAudioSourceProvider* audioSourceProvider() { return nullptr; }
- // Returns whether keySystem is supported. If true, the result will be
- // reported by an event.
- virtual MediaKeyException generateKeyRequest(const WebString& keySystem, const unsigned char* initData, unsigned initDataLength) { return MediaKeyExceptionKeySystemNotSupported; }
- virtual MediaKeyException addKey(const WebString& keySystem, const unsigned char* key, unsigned keyLength, const unsigned char* initData, unsigned initDataLength, const WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; }
- virtual MediaKeyException cancelKeyRequest(const WebString& keySystem, const WebString& sessionId) { return MediaKeyExceptionKeySystemNotSupported; }
virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm, WebContentDecryptionModuleResult result) { result.completeWithError(WebContentDecryptionModuleExceptionNotSupportedError, 0, "ERROR"); }
// Sets the poster image URL.

Powered by Google App Engine
This is Rietveld 408576698