diff options
Diffstat (limited to 'chrome/common/service_messages.h')
-rw-r--r-- | chrome/common/service_messages.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/chrome/common/service_messages.h b/chrome/common/service_messages.h index 1c23ead..1f8d75e 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_ |