| Index: ppapi/proxy/ppapi_param_traits.h
|
| diff --git a/ppapi/proxy/ppapi_param_traits.h b/ppapi/proxy/ppapi_param_traits.h
|
| index 63121f0dd384cff6c4df39614e73096723b90df1..727cccc529778e2a8702a9c984f9c304d767214b 100644
|
| --- a/ppapi/proxy/ppapi_param_traits.h
|
| +++ b/ppapi/proxy/ppapi_param_traits.h
|
| @@ -15,10 +15,12 @@
|
| #include "ppapi/c/pp_var.h"
|
| #include "ppapi/proxy/ppapi_proxy_export.h"
|
| #include "ppapi/shared_impl/ppb_file_ref_shared.h"
|
| +#include "ppapi/shared_impl/private/ppb_host_resolver_shared.h"
|
|
|
| struct PP_FileInfo;
|
| -struct PP_ObjectProperty;
|
| +struct PP_HostResolver_Private_Hint;
|
| struct PP_NetAddress_Private;
|
| +struct PP_ObjectProperty;
|
|
|
| namespace ppapi {
|
|
|
| @@ -54,6 +56,14 @@ struct ParamTraits<PP_FileInfo> {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template<>
|
| +struct ParamTraits<PP_HostResolver_Private_Hint> {
|
| + typedef PP_HostResolver_Private_Hint 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);
|
| +};
|
| +
|
| template <>
|
| struct PPAPI_PROXY_EXPORT ParamTraits<PP_NetAddress_Private> {
|
| typedef PP_NetAddress_Private param_type;
|
| @@ -111,6 +121,14 @@ struct ParamTraits<ppapi::proxy::SerializedFontDescription> {
|
| };
|
|
|
| template<>
|
| +struct ParamTraits<ppapi::HostPortPair> {
|
| + typedef ppapi::HostPortPair 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);
|
| +};
|
| +
|
| +template<>
|
| struct ParamTraits<ppapi::HostResource> {
|
| typedef ppapi::HostResource param_type;
|
| static void Write(Message* m, const param_type& p);
|
| @@ -119,6 +137,22 @@ struct ParamTraits<ppapi::HostResource> {
|
| };
|
|
|
| template<>
|
| +struct ParamTraits<ppapi::NameAndAddressPair> {
|
| + typedef ppapi::NameAndAddressPair 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);
|
| +};
|
| +
|
| +template<>
|
| +struct ParamTraits<ppapi::NetworkList> {
|
| + typedef ppapi::NetworkList 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);
|
| +};
|
| +
|
| +template<>
|
| struct ParamTraits<ppapi::proxy::SerializedVar> {
|
| typedef ppapi::proxy::SerializedVar param_type;
|
| static void Write(Message* m, const param_type& p);
|
|
|