| 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 dcc5833af72dc2c897501824d7a206d41705a7d3..5def79baa35054fc45f9e287b0c83c76840a9106 100644
|
| --- a/media/base/ipc/media_param_traits.h
|
| +++ b/media/base/ipc/media_param_traits.h
|
| @@ -8,6 +8,7 @@
|
| #include "ipc/ipc_message.h"
|
| #include "ipc/ipc_param_traits.h"
|
| #include "media/base/ipc/media_param_traits_macros.h"
|
| +#include "media/capture/video/video_capture_device_descriptor.h"
|
|
|
| namespace media {
|
| class AudioParameters;
|
| @@ -38,6 +39,17 @@ struct ParamTraits<media::EncryptionScheme> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct ParamTraits<media::VideoCaptureDeviceDescriptor::CameraCalibration> {
|
| + typedef media::VideoCaptureDeviceDescriptor::CameraCalibration 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_
|
|
|