diff options
Diffstat (limited to 'chrome/common/common_param_traits.h')
-rw-r--r-- | chrome/common/common_param_traits.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/common/common_param_traits.h b/chrome/common/common_param_traits.h index f1e8cb0..860dcc6 100644 --- a/chrome/common/common_param_traits.h +++ b/chrome/common/common_param_traits.h @@ -50,6 +50,7 @@ class Size; } // namespace gfx namespace net { +class HostPortPair; class UploadData; class URLRequestStatus; } @@ -263,6 +264,15 @@ struct ParamTraits<TransportDIB::Id> { }; #endif +// Traits for HostPortPair +template<> +struct ParamTraits<net::HostPortPair> { + typedef net::HostPortPair 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); +}; + // Traits for URLRequestStatus template <> struct ParamTraits<net::URLRequestStatus> { |