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 37f893846eb55d919462d502e612a5a9eee60713..dcc5833af72dc2c897501824d7a206d41705a7d3 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; |
} |
namespace IPC { |
@@ -26,6 +27,17 @@ struct ParamTraits<media::AudioParameters> { |
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_ |