From b855fb01d59cfa21c407f879b82ac33957b94d2c Mon Sep 17 00:00:00 2001 From: "rtenneti@chromium.org" Date: Sat, 26 Feb 2011 22:27:09 +0000 Subject: 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 --- content/browser/browser_thread.cc | 1 + content/browser/browser_thread.h | 3 +++ 2 files changed, 4 insertions(+) (limited to 'content') 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, -- cgit v1.1