diff options
Diffstat (limited to 'chrome/renderer/media/data_source_impl.cc')
-rw-r--r-- | chrome/renderer/media/data_source_impl.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/chrome/renderer/media/data_source_impl.cc b/chrome/renderer/media/data_source_impl.cc index 7193fcc..24dc4d2 100644 --- a/chrome/renderer/media/data_source_impl.cc +++ b/chrome/renderer/media/data_source_impl.cc @@ -4,7 +4,8 @@ #include "chrome/renderer/media/data_source_impl.h" -DataSourceImpl::DataSourceImpl() { +DataSourceImpl::DataSourceImpl(WebMediaPlayerDelegateImpl* delegate) + : delegate_(delegate) { } DataSourceImpl::~DataSourceImpl() { @@ -50,3 +51,9 @@ bool DataSourceImpl::GetSize(int64* size_out) { NOTIMPLEMENTED(); return false; } + +bool DataSourceImpl::IsMediaFormatSupported(const media::MediaFormat* format) { + // TODO(hclam: implement this. + NOTIMPLEMENTED(); + return true; +} |