summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_win.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_win.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_win.cc')
-rw-r--r--ipc/ipc_channel_win.cc26
1 files changed, 9 insertions, 17 deletions
diff --git a/ipc/ipc_channel_win.cc b/ipc/ipc_channel_win.cc
index 0470072..31d1d185 100644
--- a/ipc/ipc_channel_win.cc
+++ b/ipc/ipc_channel_win.cc
@@ -147,11 +147,9 @@ void Channel::ChannelImpl::Close() {
bool Channel::ChannelImpl::Send(Message* message) {
DCHECK(thread_check_->CalledOnValidThread());
-#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, "");
@@ -360,10 +358,8 @@ bool Channel::ChannelImpl::ProcessIncomingMessages(
if (message_tail) {
int len = static_cast<int>(message_tail - p);
const Message m(p, len);
-#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.
@@ -425,10 +421,8 @@ bool Channel::ChannelImpl::ProcessOutgoingMessages(
if (err == ERROR_IO_PENDING) {
output_state_.is_pending = true;
-#ifdef IPC_MESSAGE_DEBUG_EXTRA
- DLOG(INFO) << "sent pending message @" << m << " on channel @" <<
- this << " with type " << m->type();
-#endif
+ DVLOG(2) << "sent pending message @" << m << " on channel @" << this
+ << " with type " << m->type();
return true;
}
@@ -436,10 +430,8 @@ bool Channel::ChannelImpl::ProcessOutgoingMessages(
return false;
}
-#ifdef IPC_MESSAGE_DEBUG_EXTRA
- DLOG(INFO) << "sent message @" << m << " on channel @" << this <<
- " with type " << m->type();
-#endif
+ DVLOG(2) << "sent message @" << m << " on channel @" << this
+ << " with type " << m->type();
output_state_.is_pending = true;
return true;