Chromium Code Reviews| Index: ppapi/proxy/ppapi_param_traits.h |
| diff --git a/ppapi/proxy/ppapi_param_traits.h b/ppapi/proxy/ppapi_param_traits.h |
| index 3bf5fb6b6964c96f86f93a18415fa8a3789d46d5..095d707e6da037777126014705632621873b0115 100644 |
| --- a/ppapi/proxy/ppapi_param_traits.h |
| +++ b/ppapi/proxy/ppapi_param_traits.h |
| @@ -16,6 +16,7 @@ |
| #include "ppapi/proxy/ppapi_proxy_export.h" |
| #include "ppapi/shared_impl/file_path.h" |
| #include "ppapi/shared_impl/file_ref_create_info.h" |
| +#include "ppapi/shared_impl/media_stream_video_track_shared.h" |
| #include "ppapi/shared_impl/ppapi_permissions.h" |
| #include "ppapi/shared_impl/socket_option_data.h" |
| @@ -176,6 +177,15 @@ struct PPAPI_PROXY_EXPORT ParamTraits<ppapi::SocketOptionData> { |
| static void Log(const param_type& p, std::string* l); |
| }; |
| +template<> |
| +struct PPAPI_PROXY_EXPORT ParamTraits< |
| + ppapi::MediaStreamVideoTrackShared::Attributes> { |
|
yzshen1
2014/02/13 19:23:26
Is it possible to use IPC_STRUCT_TRAITS_BEGIN/END
jschuh
2014/02/13 20:38:46
Yes, there doesn't seem to be any reason to implem
Peng
2014/02/13 21:28:34
Done
Peng
2014/02/13 21:28:34
Done.
|
| + typedef ppapi::MediaStreamVideoTrackShared::Attributes 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 |
| #endif // PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_ |