Index: media/base/ipc/media_param_traits.h |
diff --git a/media/base/ipc/media_param_traits.h b/media/base/ipc/media_param_traits.h |
index 68ebdad995ecab0ac4583b698b8529f864931ad7..b33d3794034864371aad2760319f4659e2293494 100644 |
--- a/media/base/ipc/media_param_traits.h |
+++ b/media/base/ipc/media_param_traits.h |
@@ -11,6 +11,7 @@ |
namespace media { |
class AudioParameters; |
+class EncryptionScheme; |
struct VideoCaptureFormat; |
} |
@@ -38,6 +39,17 @@ struct ParamTraits<media::VideoCaptureFormat> { |
static void Log(const param_type& p, std::string* l); |
}; |
+template <> |
+struct ParamTraits<media::EncryptionScheme> { |
+ typedef media::EncryptionScheme param_type; |
+ static void GetSize(base::PickleSizer* s, const param_type& p); |
+ 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 // MEDIA_BASE_IPC_COMMON_MEDIA_PARAM_TRAITS_H_ |