Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1022)

Unified Diff: media/mojo/services/media_type_converters.h

Issue 1474843003: Revert of Define AudioBuffer and VideoFrame for mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | media/mojo/services/media_type_converters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698