summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_process_impl.h
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 /chrome/browser/browser_process_impl.h
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 'chrome/browser/browser_process_impl.h')
-rw-r--r--chrome/browser/browser_process_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index 4926812..162b82a 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -57,6 +57,7 @@ class BrowserProcessImpl : public BrowserProcess,
#if defined(USE_X11)
virtual base::Thread* background_x11_thread();
#endif
+ virtual WatchDogThread* watchdog_thread();
virtual ProfileManager* profile_manager();
virtual PrefService* local_state();
virtual DevToolsManager* devtools_manager();
@@ -123,6 +124,7 @@ class BrowserProcessImpl : public BrowserProcess,
void CreateDBThread();
void CreateProcessLauncherThread();
void CreateCacheThread();
+ void CreateWatchdogThread();
void CreateTemplateURLModel();
void CreateProfileManager();
void CreateWebDataService();
@@ -170,6 +172,9 @@ class BrowserProcessImpl : public BrowserProcess,
bool created_cache_thread_;
scoped_ptr<base::Thread> cache_thread_;
+ bool created_watchdog_thread_;
+ scoped_ptr<WatchDogThread> watchdog_thread_;
+
bool created_profile_manager_;
scoped_ptr<ProfileManager> profile_manager_;