| Index: content/public/common/common_param_traits.h
|
| diff --git a/content/public/common/common_param_traits.h b/content/public/common/common_param_traits.h
|
| index df0ddc3a6521e3e32e82cebe9c68ba75d50535e0..0742c79481711fe9494595e30867dda0d1f48b69 100644
|
| --- a/content/public/common/common_param_traits.h
|
| +++ b/content/public/common/common_param_traits.h
|
| @@ -47,6 +47,10 @@ namespace ui {
|
| class Range;
|
| }
|
|
|
| +namespace webkit_glue {
|
| +class ResourceRequestBody;
|
| +}
|
| +
|
| namespace IPC {
|
|
|
| template <>
|
| @@ -73,6 +77,15 @@ struct CONTENT_EXPORT ParamTraits<scoped_refptr<net::UploadData> > {
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| +template <>
|
| +struct CONTENT_EXPORT ParamTraits<scoped_refptr<
|
| + webkit_glue::ResourceRequestBody> > {
|
| + typedef scoped_refptr<webkit_glue::ResourceRequestBody> 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);
|
| +};
|
| +
|
| template<>
|
| struct CONTENT_EXPORT ParamTraits<net::HostPortPair> {
|
| typedef net::HostPortPair param_type;
|
|
|