| 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 661028e863284c16d51728f94ed8cd2f35d5aba0..cf280bed54784e3fafea1a23d5f646c45a61dbd7 100644
|
| --- a/content/public/common/common_param_traits.h
|
| +++ b/content/public/common/common_param_traits.h
|
| @@ -17,6 +17,7 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "content/common/content_export.h"
|
| +#include "content/public/common/console_message_level.h"
|
| #include "content/public/common/page_transition_types.h"
|
| #include "content/public/common/security_style.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -247,6 +248,14 @@ struct SimilarTypeTraits<content::SecurityStyle> {
|
| typedef int Type;
|
| };
|
|
|
| +template<>
|
| +struct CONTENT_EXPORT ParamTraits<content::ConsoleMessageLevel> {
|
| + typedef content::ConsoleMessageLevel 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);
|
| +};
|
| +
|
| } // namespace IPC
|
|
|
| #endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_H_
|
|
|