From 2a34f9cccc2210471fea6a993cbfbe745873d606 Mon Sep 17 00:00:00 2001 From: "pinkerton@google.com" Date: Thu, 4 Dec 2008 19:12:04 +0000 Subject: wrap logging with correct ifdef git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6366 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/ipc_message_utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome') diff --git a/chrome/common/ipc_message_utils.h b/chrome/common/ipc_message_utils.h index af61c85..fb1aece 100644 --- a/chrome/common/ipc_message_utils.h +++ b/chrome/common/ipc_message_utils.h @@ -1106,11 +1106,13 @@ class MessageWithReply : public SyncMessage { ReadParam(msg, &iter, &p); LogParam(p, l); +#if IPC_MESSAGE_LOG_ENABLED const std::wstring& output_params = msg->output_params(); if (!l->empty() && !output_params.empty()) l->append(L", "); l->append(output_params); +#endif } else { // This is an outgoing reply. Now that we have the output parameters, we // can finally log the message. -- cgit v1.1