summaryrefslogtreecommitdiffstats
path: root/chrome/browser/metrics/thread_watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/metrics/thread_watcher.h')
-rw-r--r--chrome/browser/metrics/thread_watcher.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/metrics/thread_watcher.h b/chrome/browser/metrics/thread_watcher.h
index b9fb6e0..43768d3 100644
--- a/chrome/browser/metrics/thread_watcher.h
+++ b/chrome/browser/metrics/thread_watcher.h
@@ -208,6 +208,9 @@ class ThreadWatcherList : public NotificationObserver {
// Register() stores a pointer to the given ThreadWatcher in a global map.
static void Register(ThreadWatcher* watcher);
+ // This method returns true if the ThreadWatcher object is registerd.
+ static bool IsRegistered(const BrowserThread::ID thread_id);
+
// This method posts a task on WatchDogThread to start watching all browser
// threads.
// This method is accessible on UI thread.