| Index: chrome/common/safe_browsing/ipc_protobuf_message_macros.h
|
| diff --git a/chrome/common/safe_browsing/ipc_protobuf_message_macros.h b/chrome/common/safe_browsing/ipc_protobuf_message_macros.h
|
| index 4f14c79bdf6144e83cb4614f3d2a1b8d700bd159..db17241ad7f4a7280c386a36f9270042cebb3675 100644
|
| --- a/chrome/common/safe_browsing/ipc_protobuf_message_macros.h
|
| +++ b/chrome/common/safe_browsing/ipc_protobuf_message_macros.h
|
| @@ -31,23 +31,24 @@
|
|
|
| #include <string>
|
|
|
| -#define IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(message_name) \
|
| - namespace IPC { \
|
| - template <> \
|
| - struct IPC_MESSAGE_EXPORT ParamTraits<message_name> { \
|
| - typedef message_name param_type; \
|
| - static void Write(Message* m, const param_type& p); \
|
| - static bool Read(const Message* m, base::PickleIterator* iter, \
|
| - param_type* p); \
|
| - static void Log(const param_type& p, std::string* l); \
|
| - \
|
| - private: \
|
| - template <class P> \
|
| - static bool ReadParamF(const Message* m, \
|
| - base::PickleIterator* iter, \
|
| - param_type* p, \
|
| - void (param_type::*setter_function)(P)); \
|
| - }; \
|
| +#define IPC_PROTOBUF_MESSAGE_TRAITS_BEGIN(message_name) \
|
| + namespace IPC { \
|
| + template <> \
|
| + struct IPC_MESSAGE_EXPORT ParamTraits<message_name> { \
|
| + typedef message_name param_type; \
|
| + static void Write(base::Pickle* m, const param_type& p); \
|
| + static bool Read(const base::Pickle* m, \
|
| + base::PickleIterator* iter, \
|
| + param_type* p); \
|
| + static void Log(const param_type& p, std::string* l); \
|
| + \
|
| + private: \
|
| + template <class P> \
|
| + static bool ReadParamF(const base::Pickle* m, \
|
| + base::PickleIterator* iter, \
|
| + param_type* p, \
|
| + void (param_type::*setter_function)(P)); \
|
| + }; \
|
| } // namespace IPC
|
|
|
| #define IPC_PROTOBUF_MESSAGE_TRAITS_OPTIONAL_FUNDAMENTAL_MEMBER(name)
|
|
|