summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-26 06:37:21 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-26 06:37:21 +0000
commitc82b0682d1d66e38346a664ef83d1211f83b3b5f (patch)
treeb7b9cdf69e4f9af85a59cfd5b885729c890ee7df /content
parente9e0a7d9f8fe4a3faecd62091a1910b1b27488cf (diff)
downloadchromium_src-c82b0682d1d66e38346a664ef83d1211f83b3b5f.zip
chromium_src-c82b0682d1d66e38346a664ef83d1211f83b3b5f.tar.gz
chromium_src-c82b0682d1d66e38346a664ef83d1211f83b3b5f.tar.bz2
Revert 76015 - Added back thread watcher changes by
reverting the revert. will revert the changes right away. trying to test impact on memory on mac. BUG=73915 TEST=performance tests Review URL: http://codereview.chromium.org/6594011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76154 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/browser_thread.cc1
-rw-r--r--content/browser/browser_thread.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/browser_thread.cc b/content/browser/browser_thread.cc
index c0e4355..4c6627b 100644
--- a/content/browser/browser_thread.cc
+++ b/content/browser/browser_thread.cc
@@ -11,6 +11,7 @@
// Friendly names for the well-known threads.
static const char* browser_thread_names[BrowserThread::ID_COUNT] = {
"", // UI (name assembled in browser_main.cc).
+ "Chrome_WatchdogThread", // WATCHDOG
"Chrome_DBThread", // DB
"Chrome_WebKitThread", // WEBKIT
"Chrome_FileThread", // FILE
diff --git a/content/browser/browser_thread.h b/content/browser/browser_thread.h
index d5e4473..b0ed765 100644
--- a/content/browser/browser_thread.h
+++ b/content/browser/browser_thread.h
@@ -43,6 +43,9 @@ class BrowserThread : public base::Thread {
// The main thread in the browser.
UI,
+ // This is the thread that watches all browser threads.
+ WATCHDOG,
+
// This is the thread that interacts with the database.
DB,