diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-11 17:36:32 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-11 17:36:32 +0000 |
commit | 1c99edc8d48f94702ac085197779ea22b820549b (patch) | |
tree | dbcb2aa6714c5769a5a0c134011e90b104603144 /ipc/ipc_message_utils_impl.h | |
parent | 4fd3c1a3faa42ee98f95e5f03182a597dea17196 (diff) | |
download | chromium_src-1c99edc8d48f94702ac085197779ea22b820549b.zip chromium_src-1c99edc8d48f94702ac085197779ea22b820549b.tar.gz chromium_src-1c99edc8d48f94702ac085197779ea22b820549b.tar.bz2 |
Reapplies r55735, fixing some message code that was checked in that I collided with.
BUG=51411
TEST=none
TBR=mpcomplete
Review URL: http://codereview.chromium.org/3118009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55749 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message_utils_impl.h')
-rw-r--r-- | ipc/ipc_message_utils_impl.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ipc/ipc_message_utils_impl.h b/ipc/ipc_message_utils_impl.h index ba11990..53c7986 100644 --- a/ipc/ipc_message_utils_impl.h +++ b/ipc/ipc_message_utils_impl.h @@ -25,6 +25,19 @@ MessageWithTuple<ParamType>::MessageWithTuple( // subclass needs to have Log() to call Read(), which instantiates the above // template. +template <class SendParamType, class ReplyParamType> +MessageWithReply<SendParamType, ReplyParamType>::MessageWithReply( + int32 routing_id, uint32 type, + const RefSendParam& send, + const ReplyParam& reply) + : SyncMessage(routing_id, type, PRIORITY_NORMAL, + new ParamDeserializer<ReplyParam>(reply)) { + WriteParam(this, send); +} + +// TODO(erg): Migrate ReadSendParam()/ReadReplyParam() here when we can force +// the visibility/linkage. + } // namespace IPC #endif // IPC_IPC_MESSAGE_UTILS_IMPL_H_ |