summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 19:12:04 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-04 19:12:04 +0000
commit2a34f9cccc2210471fea6a993cbfbe745873d606 (patch)
treeeeef02e5b36c75eae41596e3baeba7fd54e3dfe9
parentaf9037c87804d9f9b52d800b7c37668e4f45244c (diff)
downloadchromium_src-2a34f9cccc2210471fea6a993cbfbe745873d606.zip
chromium_src-2a34f9cccc2210471fea6a993cbfbe745873d606.tar.gz
chromium_src-2a34f9cccc2210471fea6a993cbfbe745873d606.tar.bz2
wrap logging with correct ifdef
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6366 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/ipc_message_utils.h2
1 files changed, 2 insertions, 0 deletions
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.