Index: content/common/common_param_traits.h |
diff --git a/content/common/common_param_traits.h b/content/common/common_param_traits.h |
index 20c5be3c441e32b1e763d0254224dadf0b28c54e..244837760a921c8050768c45018dc94248eeac1b 100644 |
--- a/content/common/common_param_traits.h |
+++ b/content/common/common_param_traits.h |
@@ -18,6 +18,7 @@ |
#include "base/ref_counted.h" |
#include "googleurl/src/gurl.h" |
#include "ipc/ipc_message_utils.h" |
+#include "net/base/ip_endpoint.h" |
#include "net/url_request/url_request_status.h" |
// !!! WARNING: DO NOT ADD NEW WEBKIT DEPENDENCIES !!! |
// |
@@ -101,6 +102,14 @@ struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > { |
}; |
template <> |
+struct ParamTraits<net::IPEndPoint> { |
+ typedef net::IPEndPoint 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); |
+}; |
+ |
+template <> |
struct ParamTraits<webkit_glue::ResourceLoadTimingInfo> { |
typedef webkit_glue::ResourceLoadTimingInfo param_type; |
static void Write(Message* m, const param_type& p); |