diff options
author | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-14 19:11:24 +0000 |
---|---|---|
committer | willchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-14 19:11:24 +0000 |
commit | 8bef70e795409e0b6c3378d28873bcf3f9693752 (patch) | |
tree | 130d9eaf7e86d43a1baf01f786f266e79a34c6b5 /chrome/common/ipc_message_utils.h | |
parent | 5adcb96e1b42be497be861d437acfa3b75c39d8f (diff) | |
download | chromium_src-8bef70e795409e0b6c3378d28873bcf3f9693752.zip chromium_src-8bef70e795409e0b6c3378d28873bcf3f9693752.tar.gz chromium_src-8bef70e795409e0b6c3378d28873bcf3f9693752.tar.bz2 |
Add routing_id to the ipc debugging log output.
Review URL: http://codereview.chromium.org/66051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13687 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/ipc_message_utils.h')
-rw-r--r-- | chrome/common/ipc_message_utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/ipc_message_utils.h b/chrome/common/ipc_message_utils.h index 6e82d40..8e4e8a5 100644 --- a/chrome/common/ipc_message_utils.h +++ b/chrome/common/ipc_message_utils.h @@ -830,6 +830,7 @@ struct ParamTraits<WebCursor> { struct LogData { std::wstring channel; + int32 routing_id; uint16 type; std::wstring flags; int64 sent; // Time that the message was sent (i.e. at Send()). @@ -846,6 +847,7 @@ struct ParamTraits<LogData> { typedef LogData param_type; static void Write(Message* m, const param_type& p) { WriteParam(m, p.channel); + WriteParam(m, p.routing_id); WriteParam(m, static_cast<int>(p.type)); WriteParam(m, p.flags); WriteParam(m, p.sent); @@ -857,6 +859,7 @@ struct ParamTraits<LogData> { int type; bool result = ReadParam(m, iter, &r->channel) && + ReadParam(m, iter, &r->routing_id); ReadParam(m, iter, &type) && ReadParam(m, iter, &r->flags) && ReadParam(m, iter, &r->sent) && |