| 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 86659951f7520817ef36bb26c3cd7f077012c93f..64031494161a8000b4a8f95f49b485e9acb0ffe7 100644
|
| --- a/content/public/common/common_param_traits.h
|
| +++ b/content/public/common/common_param_traits.h
|
| @@ -33,6 +33,7 @@
|
| #endif
|
|
|
| namespace content {
|
| +class MessagePort;
|
| class PageState;
|
| }
|
|
|
| @@ -89,6 +90,16 @@ struct CONTENT_EXPORT ParamTraits<net::IPAddress> {
|
| };
|
|
|
| template <>
|
| +struct CONTENT_EXPORT ParamTraits<content::MessagePort> {
|
| + typedef content::MessagePort param_type;
|
| + static void GetSize(base::PickleSizer* sizer, const param_type& p);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m, base::PickleIterator* iter,
|
| + param_type* r);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| +template <>
|
| struct CONTENT_EXPORT ParamTraits<content::PageState> {
|
| typedef content::PageState param_type;
|
| static void GetSize(base::PickleSizer* s, const param_type& p);
|
|
|