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 3c2f79a974da6ea84fae26593e3908e65d4ab234..003b1d845d9d42e2a000b6a6f6ffe5b525a3bc09 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_MEDIA_PARAM_TRAITS_H_ |