| Index: content/common/media/media_param_traits.h
|
| ===================================================================
|
| --- content/common/media/media_param_traits.h (revision 185058)
|
| +++ content/common/media/media_param_traits.h (working copy)
|
| @@ -9,6 +9,7 @@
|
| #include "ipc/ipc_param_traits.h"
|
|
|
| namespace media {
|
| +class AudioHardwareConfig;
|
| class AudioParameters;
|
| struct VideoCaptureParams;
|
| }
|
| @@ -16,6 +17,14 @@
|
| namespace IPC {
|
|
|
| template <>
|
| +struct ParamTraits<media::AudioHardwareConfig> {
|
| + typedef media::AudioHardwareConfig 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);
|
| +};
|
| +
|
| +template <>
|
| struct ParamTraits<media::AudioParameters> {
|
| typedef media::AudioParameters param_type;
|
| static void Write(Message* m, const param_type& p);
|
|
|