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..83b4342a461dc9bd78437e69851906708fb47cba 100644 |
--- a/ppapi/proxy/ppapi_param_traits.h |
+++ b/ppapi/proxy/ppapi_param_traits.h |
@@ -14,16 +14,18 @@ |
struct PP_FileInfo_Dev; |
struct PP_ObjectProperty; |
+struct PP_Flash_Menu; |
namespace pp { |
namespace proxy { |
+class HostResource; |
struct PPBFlash_DrawGlyphs_Params; |
struct PPBFont_DrawTextAt_Params; |
struct PPBURLLoader_UpdateProgress_Params; |
struct SerializedDirEntry; |
struct SerializedFontDescription; |
-class HostResource; |
+class SerializedFlashMenu; |
class SerializedVar; |
} // namespace proxy |
@@ -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_ |