| Index: chrome/common/ipc_message_utils.h
|
| diff --git a/chrome/common/ipc_message_utils.h b/chrome/common/ipc_message_utils.h
|
| index b01d0370c4ecaa9a98710ccadcdf6725332bdad2..b018cfdb6343b01bbd85ba07802a6a70fd670aeb 100644
|
| --- a/chrome/common/ipc_message_utils.h
|
| +++ b/chrome/common/ipc_message_utils.h
|
| @@ -162,6 +162,20 @@ struct ParamTraits<size_t> {
|
| };
|
|
|
| template <>
|
| +struct ParamTraits<uint32> {
|
| + typedef uint32 param_type;
|
| + static void Write(Message* m, const param_type& p) {
|
| + m->WriteUInt32(p);
|
| + }
|
| + static bool Read(const Message* m, void** iter, param_type* r) {
|
| + return m->ReadUInt32(iter, r);
|
| + }
|
| + static void Log(const param_type& p, std::wstring* l) {
|
| + l->append(StringPrintf(L"%u", p));
|
| + }
|
| +};
|
| +
|
| +template <>
|
| struct ParamTraits<int64> {
|
| typedef int64 param_type;
|
| static void Write(Message* m, const param_type& p) {
|
|
|