Index: media/blink/null_encrypted_media_player_support.cc |
diff --git a/media/blink/null_encrypted_media_player_support.cc b/media/blink/null_encrypted_media_player_support.cc |
index a67893bc7e5ac91fb790cb53c52c493f1c58cc5d..240e23e5b5c527388c786666c0e4d8d01facd25a 100644 |
--- a/media/blink/null_encrypted_media_player_support.cc |
+++ b/media/blink/null_encrypted_media_player_support.cc |
@@ -4,11 +4,17 @@ |
#include "media/blink/null_encrypted_media_player_support.h" |
+#include "base/bind.h" |
#include "third_party/WebKit/public/platform/WebContentDecryptionModule.h" |
#include "third_party/WebKit/public/platform/WebContentDecryptionModuleResult.h" |
namespace media { |
+static void NeedKeyHandler(const std::string& type, |
jamesr
2014/10/16 18:24:01
i think instead of static putting this in a anonym
DaleCurtis
2014/10/16 18:29:50
media code typically prefers the static prefix to
|
+ const std::vector<uint8>& init_data) { |
+ NOTIMPLEMENTED(); |
+} |
+ |
scoped_ptr<EncryptedMediaPlayerSupport> |
NullEncryptedMediaPlayerSupport::Create(blink::WebMediaPlayerClient* client) { |
return scoped_ptr<EncryptedMediaPlayerSupport>( |
@@ -66,7 +72,7 @@ void NullEncryptedMediaPlayerSupport::SetContentDecryptionModule( |
} |
Demuxer::NeedKeyCB NullEncryptedMediaPlayerSupport::CreateNeedKeyCB() { |
- return Demuxer::NeedKeyCB(); |
+ return base::Bind(&NeedKeyHandler); |
} |
SetDecryptorReadyCB |