| Index: ipc/ipc_message_utils.cc
|
| diff --git a/ipc/ipc_message_utils.cc b/ipc/ipc_message_utils.cc
|
| index 6ef03f4328de9ed89da61728e1fd321adc15ceee..c531bfdc49cdc8816f5612012caf93d60e92b1d9 100644
|
| --- a/ipc/ipc_message_utils.cc
|
| +++ b/ipc/ipc_message_utils.cc
|
| @@ -287,6 +287,23 @@ void ParamTraits<base::TimeDelta> ::Log(const param_type& p, std::string* l) {
|
| ParamTraits<int64> ::Log(p.InMicroseconds(), l);
|
| }
|
|
|
| +void ParamTraits<base::TimeTicks>::Write(Message* m, const param_type& p) {
|
| + ParamTraits<int64>::Write(m, p.ToInternalValue());
|
| +}
|
| +
|
| +bool ParamTraits<base::TimeTicks>::Read(const Message* m, void** iter,
|
| + param_type* r) {
|
| + int64 value;
|
| + if (!ParamTraits<int64>::Read(m, iter, &value))
|
| + return false;
|
| + *r = base::TimeTicks::FromInternalValue(value);
|
| + return true;
|
| +}
|
| +
|
| +void ParamTraits<base::TimeTicks>::Log(const param_type& p, std::string* l) {
|
| + ParamTraits<int64>::Log(p.ToInternalValue(), l);
|
| +}
|
| +
|
| void ParamTraits<DictionaryValue>::Write(Message* m, const param_type& p) {
|
| WriteValue(m, &p, 0);
|
| }
|
|
|