| Index: chromecast/common/media/cma_param_traits.h
|
| diff --git a/chromecast/common/media/cma_param_traits.h b/chromecast/common/media/cma_param_traits.h
|
| index c8609a5af388817d510ddc781e1fbce427818a7e..879bbf155ac827a437450b34fccba81150bcf9e9 100644
|
| --- a/chromecast/common/media/cma_param_traits.h
|
| +++ b/chromecast/common/media/cma_param_traits.h
|
| @@ -10,6 +10,7 @@
|
| namespace media {
|
| class AudioDecoderConfig;
|
| class VideoDecoderConfig;
|
| +class EncryptionScheme;
|
| }
|
|
|
| namespace IPC {
|
| @@ -34,6 +35,15 @@ struct ParamTraits<media::VideoDecoderConfig> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct ParamTraits<media::EncryptionScheme> {
|
| + typedef media::EncryptionScheme param_type;
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m, base::PickleIterator* iter,
|
| + param_type* r);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // CHROMECAST_COMMON_MEDIA_CMA_PARAM_TRAITS_H_
|
|
|