| Index: remoting/host/chromoting_param_traits.h
|
| diff --git a/remoting/host/chromoting_param_traits.h b/remoting/host/chromoting_param_traits.h
|
| index 9da88f8a347d15e05ec850024e22eece58781e44..b13bc825522d9b765cffc71d59c419332f394ecd 100644
|
| --- a/remoting/host/chromoting_param_traits.h
|
| +++ b/remoting/host/chromoting_param_traits.h
|
| @@ -17,40 +17,50 @@ namespace IPC {
|
| template <>
|
| struct ParamTraits<webrtc::DesktopVector> {
|
| typedef webrtc::DesktopVector param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| template <>
|
| struct ParamTraits<webrtc::DesktopSize> {
|
| typedef webrtc::DesktopSize param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| template <>
|
| struct ParamTraits<webrtc::DesktopRect> {
|
| typedef webrtc::DesktopRect param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| template <>
|
| struct ParamTraits<webrtc::MouseCursor> {
|
| typedef webrtc::MouseCursor param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
| template <>
|
| struct ParamTraits<remoting::ScreenResolution> {
|
| typedef remoting::ScreenResolution param_type;
|
| - static void Write(Message* m, const param_type& p);
|
| - static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
|
| + static void Write(base::Pickle* m, const param_type& p);
|
| + static bool Read(const base::Pickle* m,
|
| + base::PickleIterator* iter,
|
| + param_type* r);
|
| static void Log(const param_type& p, std::string* l);
|
| };
|
|
|
|
|