Index: public/platform/WebMediaPlayer.h |
diff --git a/public/platform/WebMediaPlayer.h b/public/platform/WebMediaPlayer.h |
index f540317a77353e86e35ae89ef20fb22a4f0020bb..ee003b57a9e7e6e4a73fb573024e7c0b9520b56e 100644 |
--- a/public/platform/WebMediaPlayer.h |
+++ b/public/platform/WebMediaPlayer.h |
@@ -32,6 +32,7 @@ |
#define WebMediaPlayer_h |
#include "WebCanvas.h" |
+#include "WebContentDecryptionModule.h" |
#include "WebMediaSource.h" |
#include "WebString.h" |
#include "WebTimeRange.h" |
@@ -156,7 +157,7 @@ public: |
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) { } |
+ virtual void setContentDecryptionModule(WebContentDecryptionModule* cdm, WebContentDecryptionModuleResult result) { result.completeWithError(WebContentDecryptionModuleExceptionNotSupportedError, 0, "ERROR"); } |
// Sets the poster image URL. |
virtual void setPoster(const WebURL& poster) { } |