Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1568)

Unified Diff: mojo/system/channel.cc

Issue 253863004: Mojo: More Channel tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: delete extra blank line Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | mojo/system/channel_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/system/channel.cc
diff --git a/mojo/system/channel.cc b/mojo/system/channel.cc
index 2669a87eb8576313a96fed18b28c7db0f272d65b..6999a3b5b4fb908f7f6d3f5d9e456afb06252087 100644
--- a/mojo/system/channel.cc
+++ b/mojo/system/channel.cc
@@ -92,8 +92,9 @@ void Channel::Shutdown() {
num_zombies++;
}
}
- DVLOG(2) << "Shut down Channel with " << num_live << " live endpoints and "
- << num_zombies << " zombies";
+ DVLOG_IF(2, num_live || num_zombies)
+ << "Shut down Channel with " << num_live << " live endpoints and "
+ << num_zombies << " zombies";
}
MessageInTransit::EndpointId Channel::AttachMessagePipeEndpoint(
« no previous file with comments | « no previous file | mojo/system/channel_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698