Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(642)

Unified Diff: content/common/input/input_param_traits.cc

Issue 1659003003: IPC::Message -> base::Pickle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more mac fix Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/input/input_param_traits.h ('k') | content/common/mac/attributed_string_coder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/input/input_param_traits.cc
diff --git a/content/common/input/input_param_traits.cc b/content/common/input/input_param_traits.cc
index 0402f433c5e0d15f7f6d0407a22c677e21ba4e52..80a68ad2e74658383350ed2ff8357ed8cc07de1b 100644
--- a/content/common/input/input_param_traits.cc
+++ b/content/common/input/input_param_traits.cc
@@ -17,7 +17,7 @@ namespace IPC {
namespace {
template <typename GestureType>
scoped_ptr<content::SyntheticGestureParams> ReadGestureParams(
- const Message* m,
+ const base::Pickle* m,
base::PickleIterator* iter) {
scoped_ptr<GestureType> gesture_params(new GestureType);
if (!ReadParam(m, iter, gesture_params.get()))
@@ -27,7 +27,7 @@ scoped_ptr<content::SyntheticGestureParams> ReadGestureParams(
}
} // namespace
-void ParamTraits<content::ScopedWebInputEvent>::Write(Message* m,
+void ParamTraits<content::ScopedWebInputEvent>::Write(base::Pickle* m,
const param_type& p) {
bool valid_web_event = !!p;
WriteParam(m, valid_web_event);
@@ -35,7 +35,7 @@ void ParamTraits<content::ScopedWebInputEvent>::Write(Message* m,
WriteParam(m, static_cast<WebInputEventPointer>(p.get()));
}
-bool ParamTraits<content::ScopedWebInputEvent>::Read(const Message* m,
+bool ParamTraits<content::ScopedWebInputEvent>::Read(const base::Pickle* m,
base::PickleIterator* iter,
param_type* p) {
bool valid_web_event = false;
@@ -55,7 +55,7 @@ void ParamTraits<content::ScopedWebInputEvent>::Log(const param_type& p,
LogParam(static_cast<WebInputEventPointer>(p.get()), l);
}
-void ParamTraits<content::SyntheticGesturePacket>::Write(Message* m,
+void ParamTraits<content::SyntheticGesturePacket>::Write(base::Pickle* m,
const param_type& p) {
DCHECK(p.gesture_params());
WriteParam(m, p.gesture_params()->GetGestureType());
@@ -80,7 +80,7 @@ void ParamTraits<content::SyntheticGesturePacket>::Write(Message* m,
}
bool ParamTraits<content::SyntheticGesturePacket>::Read(
- const Message* m,
+ const base::Pickle* m,
base::PickleIterator* iter,
param_type* p) {
content::SyntheticGestureParams::GestureType gesture_type;
« no previous file with comments | « content/common/input/input_param_traits.h ('k') | content/common/mac/attributed_string_coder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698