summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-26 22:27:09 +0000
committerrtenneti@chromium.org <rtenneti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-26 22:27:09 +0000
commitb855fb01d59cfa21c407f879b82ac33957b94d2c (patch)
tree010696b598c4b77212d1f1c473b2f790467dc79e /content
parent50fab53bddb2c3cb24d5682c913a03226ccf49ef (diff)
downloadchromium_src-b855fb01d59cfa21c407f879b82ac33957b94d2c.zip
chromium_src-b855fb01d59cfa21c407f879b82ac33957b94d2c.tar.gz
chromium_src-b855fb01d59cfa21c407f879b82ac33957b94d2c.tar.bz2
Trying changes to see the perfomance impact on Mac.
This change list is same as CL 6588039. Will back out immediately. http://codereview.chromium.org/6588039/ Review URL: http://codereview.chromium.org/6594032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76168 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,