summaryrefslogtreecommitdiffstats
path: root/chrome/test/testing_browser_process.cc
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 07:27:02 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-23 07:27:02 +0000
commit3617ea94a4f7e711880fe95529d6cad26a98b86f (patch)
tree40a2d4bacf1b9260db1dcc98de9b70dd9a54df96 /chrome/test/testing_browser_process.cc
parent6b7fcb4cc083332fc1708a8d6075fa3a06096910 (diff)
downloadchromium_src-3617ea94a4f7e711880fe95529d6cad26a98b86f.zip
chromium_src-3617ea94a4f7e711880fe95529d6cad26a98b86f.tar.gz
chromium_src-3617ea94a4f7e711880fe95529d6cad26a98b86f.tar.bz2
First cut at a WATCHDOG thread that monitors threads for their
responsiveness by sending a ping message to them. Watched Threads respond by sending a pong message to WATCHDOG thread. WACTHDOG thread collects statistics for response time. BUG=71378 TEST=browser_thread_unit_test and thread_watcher_unittest. Starting and stopping of browser. Review URL: http://codereview.chromium.org/6392018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75723 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_browser_process.cc')
-rw-r--r--chrome/test/testing_browser_process.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/test/testing_browser_process.cc b/chrome/test/testing_browser_process.cc
index 30e8064..01090d2 100644
--- a/chrome/test/testing_browser_process.cc
+++ b/chrome/test/testing_browser_process.cc
@@ -58,6 +58,10 @@ base::Thread* TestingBrowserProcess::cache_thread() {
return NULL;
}
+WatchDogThread* TestingBrowserProcess::watchdog_thread() {
+ return NULL;
+}
+
ProfileManager* TestingBrowserProcess::profile_manager() {
return NULL;
}