diff options
Diffstat (limited to 'ipc/ipc_message_utils.h')
-rw-r--r-- | ipc/ipc_message_utils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h index 71bfbdf..1e3ee0c 100644 --- a/ipc/ipc_message_utils.h +++ b/ipc/ipc_message_utils.h @@ -55,6 +55,7 @@ class NullableString16; class Time; class TimeDelta; class TimeTicks; +class TraceTicks; struct FileDescriptor; } @@ -503,6 +504,14 @@ struct IPC_EXPORT ParamTraits<base::TimeTicks> { }; template <> +struct IPC_EXPORT ParamTraits<base::TraceTicks> { + typedef base::TraceTicks 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); +}; + +template <> struct ParamTraits<base::Tuple<>> { typedef base::Tuple<> param_type; static void Write(Message* m, const param_type& p) { |