| 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 8e26b8b21cd069ed8eeab2320ea44ae27be7fd12..b8ae7364fc8fec08a249778e915a7bbb910518ed 100644
|
| --- a/content/public/common/common_param_traits.h
|
| +++ b/content/public/common/common_param_traits.h
|
| @@ -25,6 +25,7 @@
|
| class SkBitmap;
|
|
|
| namespace content {
|
| +class PageState;
|
| struct Referrer;
|
| }
|
|
|
| @@ -59,6 +60,14 @@ struct CONTENT_EXPORT ParamTraits<net::HostPortPair> {
|
| };
|
|
|
| template <>
|
| +struct CONTENT_EXPORT ParamTraits<content::PageState> {
|
| + typedef content::PageState param_type;
|
| + static void Write(Message* m, const param_type& p);
|
| + static bool Read(const Message* m, PickleIterator* iter, param_type* p);
|
| + static void Log(const param_type& p, std::string* l);
|
| +};
|
| +
|
| +template <>
|
| struct CONTENT_EXPORT ParamTraits<content::Referrer> {
|
| typedef content::Referrer param_type;
|
| static void Write(Message* m, const param_type& p);
|
|
|