Index: ipc/ipc_message_utils.h |
diff --git a/ipc/ipc_message_utils.h b/ipc/ipc_message_utils.h |
index 9da9eba474b48fdf449d9e64eba37f7414610ec3..d95a816f673009a76569f4dec3cb05a49208c2ab 100644 |
--- a/ipc/ipc_message_utils.h |
+++ b/ipc/ipc_message_utils.h |
@@ -104,6 +104,7 @@ class DictionaryValue; |
class ListValue; |
class Time; |
class TimeDelta; |
+class TimeTicks; |
struct FileDescriptor; |
} |
@@ -331,6 +332,14 @@ struct IPC_EXPORT ParamTraits<base::TimeDelta> { |
static void Log(const param_type& p, std::string* l); |
}; |
+template <> |
+struct ParamTraits<base::TimeTicks> { |
+ typedef base::TimeTicks param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, void** iter, param_type* r); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+ |
#if defined(OS_WIN) |
template <> |
struct ParamTraits<LOGFONT> { |