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 90d7258604574760a75fde913a5eb963f46c3a5f..dabcc3b29cd4d4828bf948430fc9bb73c569e555 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 MIDIPortInfoList; |
struct 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::MIDIPortInfoList> { |
scherkus (not reviewing)
2013/06/12 01:28:47
hrm... if MIDIPortInfoList was a typedef would you
Chris Rogers
2013/06/12 20:34:35
I took a look at IPC_STRUCT_TRAITS_BEGIN, IPC_STRU
scherkus (not reviewing)
2013/06/13 02:05:41
AFAIK the IPC system knows how to deal with std::v
|
+ typedef media::MIDIPortInfoList 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 |