Index: content/common/media/media_param_traits.h |
diff --git a/content/common/media/media_param_traits.h b/content/common/media/media_param_traits.h |
index f1696197febe1214bc33f26f9b6690e5828d0bda..e436d4f000fe129003877e9f50e08dd1c78cdf26 100644 |
--- a/content/common/media/media_param_traits.h |
+++ b/content/common/media/media_param_traits.h |
@@ -11,6 +11,7 @@ |
namespace media { |
class AudioParameters; |
+class VideoCaptureFormat; |
class VideoCaptureParams; |
} |
@@ -32,6 +33,13 @@ struct CONTENT_EXPORT ParamTraits<media::VideoCaptureParams> { |
static void Log(const param_type& p, std::string* l); |
}; |
+template <> |
+struct CONTENT_EXPORT ParamTraits<media::VideoCaptureFormat> { |
+ typedef media::VideoCaptureFormat param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, PickleIterator* iter, param_type* r); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
} // namespace IPC |