summaryrefslogtreecommitdiffstats
path: root/base/message_loop.cc
diff options
context:
space:
mode:
authorglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 14:09:22 +0000
committerglider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-22 14:09:22 +0000
commit2dc065c1bfb186461ae95f92e414833acb69cfed (patch)
tree20c9b99a51b7fc31d3c53f66721da9ddfc12e51f /base/message_loop.cc
parentb0ded6c434c4d1fb95650e3b2053a799309c69f2 (diff)
downloadchromium_src-2dc065c1bfb186461ae95f92e414833acb69cfed.zip
chromium_src-2dc065c1bfb186461ae95f92e414833acb69cfed.tar.gz
chromium_src-2dc065c1bfb186461ae95f92e414833acb69cfed.tar.bz2
Log the value of RUNNING_ON_VALGRIND in message_loop.cc
BUG=46569 Review URL: http://codereview.chromium.org/2868020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/message_loop.cc')
-rw-r--r--base/message_loop.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/message_loop.cc b/base/message_loop.cc
index 3b13617..437df5f 100644
--- a/base/message_loop.cc
+++ b/base/message_loop.cc
@@ -388,6 +388,10 @@ void MessageLoop::ReloadWorkQueue() {
bool MessageLoop::DeletePendingTasks() {
bool did_work = !work_queue_.empty();
+#if defined(OS_POSIX)
+ LOG(INFO) << "MessageLoop::DeletePendingTasks(): RUNNING_ON_VALGRIND="
+ << RUNNING_ON_VALGRIND;
+#endif
while (!work_queue_.empty()) {
PendingTask pending_task = work_queue_.front();
work_queue_.pop();