summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_posix.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 23:50:00 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-19 23:50:00 +0000
commit2a9d601b66de546afaaa4f5aedaf2c26bfb21020 (patch)
tree1dd0f60870ef1b6c99444f58b7334216000c0044 /ipc/ipc_channel_posix.cc
parent6504ccb162e1fa1776cf20c466a9e9e71ada827f (diff)
downloadchromium_src-2a9d601b66de546afaaa4f5aedaf2c26bfb21020.zip
chromium_src-2a9d601b66de546afaaa4f5aedaf2c26bfb21020.tar.gz
chromium_src-2a9d601b66de546afaaa4f5aedaf2c26bfb21020.tar.bz2
Covert LOG(INFO) to VLOG(1) - ipc/.
This also eliminates IPC_MESSAGE_DEBUG_EXTRA and uses VLOG(2) for that. BUG=none TEST=none Review URL: http://codereview.chromium.org/3889002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63142 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_channel_posix.cc')
-rw-r--r--ipc/ipc_channel_posix.cc22
1 files changed, 8 insertions, 14 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc
index 3dded13..86d1673 100644
--- a/ipc/ipc_channel_posix.cc
+++ b/ipc/ipc_channel_posix.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -684,10 +684,8 @@ bool Channel::ChannelImpl::ProcessIncomingMessages() {
&fds[fds_i], m.header()->num_fds);
fds_i += m.header()->num_fds;
}
-#ifdef IPC_MESSAGE_DEBUG_EXTRA
- DLOG(INFO) << "received message on channel @" << this <<
- " with type " << m.type();
-#endif
+ DVLOG(2) << "received message on channel @" << this
+ << " with type " << m.type();
if (m.routing_id() == MSG_ROUTING_NONE &&
m.type() == HELLO_MESSAGE_TYPE) {
// The Hello message contains only the process id.
@@ -906,10 +904,8 @@ bool Channel::ChannelImpl::ProcessOutgoingMessages() {
message_send_bytes_written_ = 0;
// Message sent OK!
-#ifdef IPC_MESSAGE_DEBUG_EXTRA
- DLOG(INFO) << "sent message @" << msg << " on channel @" << this <<
- " with type " << msg->type();
-#endif
+ DVLOG(2) << "sent message @" << msg << " on channel @" << this
+ << " with type " << msg->type();
delete output_queue_.front();
output_queue_.pop();
}
@@ -918,11 +914,9 @@ bool Channel::ChannelImpl::ProcessOutgoingMessages() {
}
bool Channel::ChannelImpl::Send(Message* message) {
-#ifdef IPC_MESSAGE_DEBUG_EXTRA
- DLOG(INFO) << "sending message @" << message << " on channel @" << this
- << " with type " << message->type()
- << " (" << output_queue_.size() << " in queue)";
-#endif
+ DVLOG(2) << "sending message @" << message << " on channel @" << this
+ << " with type " << message->type()
+ << " (" << output_queue_.size() << " in queue)";
#ifdef IPC_MESSAGE_LOG_ENABLED
Logging::current()->OnSendMessage(message, "");