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 b53d5f58d5064e53237483da1fe95004f236c935..d5bd1f96aab8ea5b0570b8401ad43fe2edceca42 100644 |
| --- a/ppapi/proxy/ppapi_param_traits.h |
| +++ b/ppapi/proxy/ppapi_param_traits.h |
| @@ -13,6 +13,7 @@ |
| #include "ppapi/c/pp_completion_callback.h" |
| #include "ppapi/c/pp_rect.h" |
| #include "ppapi/c/pp_var.h" |
| +#include "ppapi/shared_impl/file_ref_impl.h" |
|
bbudge
2011/08/23 20:35:59
I don't understand why you need this include here.
brettw
2011/08/24 23:41:09
It defines FileRef_CreateInfo for which there's a
|
| struct PP_FileInfo; |
| struct PP_ObjectProperty; |
| @@ -22,10 +23,10 @@ struct PP_Flash_NetAddress; |
| namespace ppapi { |
| class HostResource; |
| +struct PPB_FileRef_CreateInfo; |
| namespace proxy { |
| -struct PPBFileRef_CreateInfo; |
| struct PPBFlash_DrawGlyphs_Params; |
| struct PPBURLLoader_UpdateProgress_Params; |
| struct SerializedDirEntry; |
| @@ -79,8 +80,8 @@ struct ParamTraits<ppapi::proxy::PPBFlash_DrawGlyphs_Params> { |
| }; |
| template<> |
| -struct ParamTraits<ppapi::proxy::PPBFileRef_CreateInfo> { |
| - typedef ppapi::proxy::PPBFileRef_CreateInfo param_type; |
| +struct ParamTraits<ppapi::PPB_FileRef_CreateInfo> { |
| + typedef ppapi::PPB_FileRef_CreateInfo 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); |
| @@ -135,8 +136,8 @@ struct ParamTraits< std::vector<ppapi::proxy::SerializedVar> > { |
| }; |
| template<> |
| -struct ParamTraits< std::vector<ppapi::proxy::PPBFileRef_CreateInfo> > { |
| - typedef std::vector<ppapi::proxy::PPBFileRef_CreateInfo> param_type; |
| +struct ParamTraits< std::vector<ppapi::PPB_FileRef_CreateInfo> > { |
| + typedef std::vector<ppapi::PPB_FileRef_CreateInfo> 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); |