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. |