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

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

Issue 551963004: media: scaffolding and plumbing for MojoRenderer{Impl, Service} (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: public_deps Created 6 years, 3 months 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 f04e200bdfee333fe862fa2f78ab9c26e9678e78..fba78dcc8d1dbbd7aecf2013a4af474ee6b65b11 100644
--- a/media/mojo/services/media_type_converters.h
+++ b/media/mojo/services/media_type_converters.h
@@ -9,6 +9,7 @@
#include "media/mojo/interfaces/media_types.mojom.h"
namespace media {
+class AudioDecoderConfig;
class DecoderBuffer;
}
@@ -27,6 +28,15 @@ struct TypeConverter<scoped_refptr<media::DecoderBuffer>,
const MediaDecoderBufferPtr& input);
};
+template <>
+struct TypeConverter<AudioDecoderConfigPtr, media::AudioDecoderConfig> {
+ static AudioDecoderConfigPtr Convert(const media::AudioDecoderConfig& input);
+};
+template <>
+struct TypeConverter<media::AudioDecoderConfig, AudioDecoderConfigPtr> {
+ static media::AudioDecoderConfig Convert(const AudioDecoderConfigPtr& 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