Index: remoting/host/chromoting_param_traits.h |
diff --git a/remoting/host/chromoting_param_traits.h b/remoting/host/chromoting_param_traits.h |
index 2ca0baf8c95cf4ea7e9b0687c97a2b95d95e1e45..290a5cf4aee3a91fcf747151d44656de652b308f 100644 |
--- a/remoting/host/chromoting_param_traits.h |
+++ b/remoting/host/chromoting_param_traits.h |
@@ -19,6 +19,7 @@ namespace IPC { |
template <> |
struct ParamTraits<webrtc::DesktopVector> { |
typedef webrtc::DesktopVector param_type; |
+ static void GetSize(base::PickleSizer* s, const param_type& p); |
static void Write(base::Pickle* m, const param_type& p); |
static bool Read(const base::Pickle* m, |
base::PickleIterator* iter, |
@@ -29,6 +30,7 @@ struct ParamTraits<webrtc::DesktopVector> { |
template <> |
struct ParamTraits<webrtc::DesktopSize> { |
typedef webrtc::DesktopSize param_type; |
+ static void GetSize(base::PickleSizer* s, const param_type& p); |
static void Write(base::Pickle* m, const param_type& p); |
static bool Read(const base::Pickle* m, |
base::PickleIterator* iter, |
@@ -39,6 +41,7 @@ struct ParamTraits<webrtc::DesktopSize> { |
template <> |
struct ParamTraits<webrtc::DesktopRect> { |
typedef webrtc::DesktopRect param_type; |
+ static void GetSize(base::PickleSizer* s, const param_type& p); |
static void Write(base::Pickle* m, const param_type& p); |
static bool Read(const base::Pickle* m, |
base::PickleIterator* iter, |
@@ -69,6 +72,7 @@ struct ParamTraits<remoting::ScreenResolution> { |
template <> |
struct ParamTraits<net::IPAddress> { |
typedef net::IPAddress param_type; |
+ static void GetSize(base::PickleSizer* s, const param_type& p); |
static void Write(base::Pickle* m, const param_type& p); |
static bool Read(const base::Pickle* m, |
base::PickleIterator* iter, |
@@ -79,6 +83,7 @@ struct ParamTraits<net::IPAddress> { |
template <> |
struct ParamTraits<net::IPEndPoint> { |
typedef net::IPEndPoint param_type; |
+ static void GetSize(base::PickleSizer* s, const param_type& p); |
static void Write(base::Pickle* m, const param_type& p); |
static bool Read(const base::Pickle* m, |
base::PickleIterator* iter, |