Index: chrome/common/service_messages.h |
diff --git a/chrome/common/service_messages.h b/chrome/common/service_messages.h |
index 1c23ead08e2db0ba38522b78c3eb84f293524cb2..1f8d75ef495f2549e94f29fcdabe871193d28b28 100644 |
--- a/chrome/common/service_messages.h |
+++ b/chrome/common/service_messages.h |
@@ -7,5 +7,20 @@ |
#include "chrome/common/service_messages_internal.h" |
-#endif // CHROME_COMMON_SERVICE_MESSAGES_H_ |
+namespace remoting { |
+struct ChromotingHostInfo; |
+} // namespace remoting |
+ |
+namespace IPC { |
+ |
+template <> |
+struct ParamTraits<remoting::ChromotingHostInfo> { |
+ typedef remoting::ChromotingHostInfo param_type; |
+ static void Write(Message* m, const param_type& p); |
+ static bool Read(const Message* m, void** iter, param_type* p); |
+ static void Log(const param_type& p, std::string* l); |
+}; |
+} // namespace IPC |
+ |
+#endif // CHROME_COMMON_SERVICE_MESSAGES_H_ |