summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_proxy.cc
diff options
context:
space:
mode:
authorpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 23:24:37 +0000
committerpiman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-11 23:24:37 +0000
commit9ec168551d8be37aec526a63af0f7acbbe9604cd (patch)
treee01576dd3aa141121313fcd1ad96ce25107f63fb /ipc/ipc_channel_proxy.cc
parent12960e1d083489a6be6d5ba06d76f602b570b763 (diff)
downloadchromium_src-9ec168551d8be37aec526a63af0f7acbbe9604cd.zip
chromium_src-9ec168551d8be37aec526a63af0f7acbbe9604cd.tar.gz
chromium_src-9ec168551d8be37aec526a63af0f7acbbe9604cd.tar.bz2
Log message class/line in IPC::ChannelProxy::Context::OnDispatchMessage
BUG=none TEST=about:tracing Review URL: https://chromiumcodereview.appspot.com/10380046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136703 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_proxy.cc')
-rw-r--r--ipc/ipc_channel_proxy.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
index f0e9715..3f0afa1 100644
--- a/ipc/ipc_channel_proxy.cc
+++ b/ipc/ipc_channel_proxy.cc
@@ -10,6 +10,7 @@
#include "base/memory/scoped_ptr.h"
#include "ipc/ipc_channel_proxy.h"
#include "ipc/ipc_logging.h"
+#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_message_utils.h"
namespace IPC {
@@ -225,8 +226,9 @@ void ChannelProxy::Context::OnDispatchMessage(const Message& message) {
TRACE_EVENT1("task", "ChannelProxy::Context::OnDispatchMessage",
"name", name);
#else
- TRACE_EVENT1("task", "ChannelProxy::Context::OnDispatchMessage",
- "type", message.type());
+ TRACE_EVENT2("task", "ChannelProxy::Context::OnDispatchMessage",
+ "class", IPC_MESSAGE_ID_CLASS(message.type()),
+ "line", IPC_MESSAGE_ID_LINE(message.type()));
#endif
if (!listener_)