summaryrefslogtreecommitdiffstats
path: root/base/watchdog.cc
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 22:43:53 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 22:43:53 +0000
commitdec76e804867ced17b032571f440adf4945c4d99 (patch)
treefd798a848d7967b28d89350a55f48285057e2739 /base/watchdog.cc
parent0695ef4d095a441148ae80a08576c25c2ab8bc40 (diff)
downloadchromium_src-dec76e804867ced17b032571f440adf4945c4d99.zip
chromium_src-dec76e804867ced17b032571f440adf4945c4d99.tar.gz
chromium_src-dec76e804867ced17b032571f440adf4945c4d99.tar.bz2
FBTF: Move virtual methods to implementation files.
Remove logging.h and other headers where possible. BUG=none TEST=none Review URL: http://codereview.chromium.org/3461019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/watchdog.cc')
-rw-r--r--base/watchdog.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/watchdog.cc b/base/watchdog.cc
index d78ec0c..b20d9fa 100644
--- a/base/watchdog.cc
+++ b/base/watchdog.cc
@@ -5,6 +5,7 @@
#include "base/watchdog.h"
#include "base/compiler_specific.h"
+#include "base/logging.h"
#include "base/platform_thread.h"
using base::TimeDelta;
@@ -72,6 +73,10 @@ void Watchdog::Disarm() {
// will check its state and time, and act accordingly.
}
+void Watchdog::Alarm() {
+ DLOG(INFO) << "Watchdog alarmed for " << thread_watched_name_;
+}
+
//------------------------------------------------------------------------------
// Internal private methods that the watchdog thread uses.