Index: media/mojo/services/media_type_converters.h |
diff --git a/media/mojo/services/media_type_converters.h b/media/mojo/services/media_type_converters.h |
index 92450c8d6f38a18ec5d73e3f2dfdd2ea36f68db2..0133a9986310b40cac18babebac8fb8b977b08d3 100644 |
--- a/media/mojo/services/media_type_converters.h |
+++ b/media/mojo/services/media_type_converters.h |
@@ -12,12 +12,10 @@ |
#include "mojo/public/cpp/bindings/type_converter.h" |
namespace media { |
-class AudioBuffer; |
class AudioDecoderConfig; |
class DecoderBuffer; |
class DecryptConfig; |
class VideoDecoderConfig; |
-class VideoFrame; |
struct CdmConfig; |
struct CdmKeyInformation; |
struct SubsampleEntry; |
@@ -114,32 +112,6 @@ |
static media::CdmConfig Convert(const media::interfaces::CdmConfigPtr& input); |
}; |
-template <> |
-struct TypeConverter<media::interfaces::AudioBufferPtr, |
- scoped_refptr<media::AudioBuffer>> { |
- static media::interfaces::AudioBufferPtr Convert( |
- const scoped_refptr<media::AudioBuffer>& input); |
-}; |
-template <> |
-struct TypeConverter<scoped_refptr<media::AudioBuffer>, |
- media::interfaces::AudioBufferPtr> { |
- static scoped_refptr<media::AudioBuffer> Convert( |
- const media::interfaces::AudioBufferPtr& input); |
-}; |
- |
-template <> |
-struct TypeConverter<media::interfaces::VideoFramePtr, |
- scoped_refptr<media::VideoFrame>> { |
- static media::interfaces::VideoFramePtr Convert( |
- const scoped_refptr<media::VideoFrame>& input); |
-}; |
-template <> |
-struct TypeConverter<scoped_refptr<media::VideoFrame>, |
- media::interfaces::VideoFramePtr> { |
- static scoped_refptr<media::VideoFrame> Convert( |
- const media::interfaces::VideoFramePtr& input); |
-}; |
- |
} // namespace mojo |
#endif // MEDIA_MOJO_SERVICES_MEDIA_TYPE_CONVERTERS_H_ |