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 017cd39a516f61f4e85d2dd382aa4937148dd38a..12404510d32d8241d416eb0f9c2eed71bafcbd7c 100644 |
| --- a/ppapi/proxy/ppapi_param_traits.h |
| +++ b/ppapi/proxy/ppapi_param_traits.h |
| @@ -14,6 +14,7 @@ |
| struct PP_FileInfo_Dev; |
| struct PP_ObjectProperty; |
| +struct PP_Flash_Menu; |
| namespace pp { |
| namespace proxy { |
| @@ -25,6 +26,7 @@ struct SerializedDirEntry; |
| struct SerializedFontDescription; |
| class HostResource; |
| class SerializedVar; |
| +class SerializedFlashMenu; |
|
viettrungluu
2011/02/08 18:18:09
Nit: alphabetical order. While you're there, you c
piman
2011/02/15 02:11:22
Done.
|
| } // namespace proxy |
| } // namespace pp |
| @@ -151,6 +153,14 @@ struct ParamTraits< std::vector<pp::proxy::SerializedVar> > { |
| static void Log(const param_type& p, std::string* l); |
| }; |
| +template<> |
| +struct ParamTraits<pp::proxy::SerializedFlashMenu> { |
| + typedef pp::proxy::SerializedFlashMenu param_type; |
| + static void Write(Message* m, const param_type& p); |
| + static bool Read(const Message* m, void** iter, param_type* r); |
| + static void Log(const param_type& p, std::string* l); |
| +}; |
| + |
| } // namespace IPC |
| #endif // PPAPI_PROXY_PPAPI_PARAM_TRAITS_H_ |