summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r--chrome/browser/browser_main.cc15
1 files changed, 0 insertions, 15 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
index 3e481a2..1622bfa 100644
--- a/chrome/browser/browser_main.cc
+++ b/chrome/browser/browser_main.cc
@@ -44,7 +44,6 @@
#include "chrome/browser/metrics/histogram_synchronizer.h"
#include "chrome/browser/metrics/metrics_log.h"
#include "chrome/browser/metrics/metrics_service.h"
-#include "chrome/browser/metrics/thread_watcher.h"
#include "chrome/browser/net/blob_url_request_job_factory.h"
#include "chrome/browser/net/chrome_dns_cert_provenance_checker.h"
#include "chrome/browser/net/chrome_dns_cert_provenance_checker_factory.h"
@@ -626,9 +625,6 @@ void CreateChildThreads(BrowserProcessImpl* process) {
process->process_launcher_thread();
process->cache_thread();
process->io_thread();
- // Create watchdog thread after creating all other threads because it will
- // watch the other threads and they must be running.
- process->watchdog_thread();
}
// Returns the new local state object, guaranteed non-NULL.
@@ -1280,11 +1276,6 @@ int BrowserMain(const MainFunctionParams& parameters) {
scoped_refptr<HistogramSynchronizer> histogram_synchronizer(
new HistogramSynchronizer());
- // Initialize thread watcher system. This is a singleton and is used by
- // WatchDogThread to keep track of information about threads that are being
- // watched.
- scoped_ptr<ThreadWatcherList> thread_watcher_list(new ThreadWatcherList());
-
// Initialize the prefs of the local state.
browser::RegisterLocalState(local_state);
@@ -1318,9 +1309,6 @@ int BrowserMain(const MainFunctionParams& parameters) {
CreateChildThreads(browser_process.get());
- // Start watching all browser threads for responsiveness.
- ThreadWatcherList::StartWatchingAll();
-
#if defined(OS_CHROMEOS)
// Now that the file thread exists we can record our stats.
chromeos::BootTimesLoader::Get()->RecordChromeMainStats();
@@ -1838,9 +1826,6 @@ int BrowserMain(const MainFunctionParams& parameters) {
process_singleton.Cleanup();
- // Stop all tasks that might run on WatchDogThread.
- ThreadWatcherList::StopWatchingAll();
-
metrics->Stop();
// browser_shutdown takes care of deleting browser_process, so we need to