diff options
Diffstat (limited to 'chromium/base/threading/hang_watcher.h')
-rw-r--r-- | chromium/base/threading/hang_watcher.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/base/threading/hang_watcher.h b/chromium/base/threading/hang_watcher.h index dd496c79f7d..7d848da4475 100644 --- a/chromium/base/threading/hang_watcher.h +++ b/chromium/base/threading/hang_watcher.h @@ -150,6 +150,9 @@ class BASE_EXPORT HangWatcher : public DelegateSimpleThread::Delegate { // non-actionable stack trace in the crash recorded. void BlockIfCaptureInProgress(); + // Begin executing the monitoring loop on the HangWatcher thread. + void Start(); + private: // Use to assert that functions are called on the monitoring thread. THREAD_CHECKER(hang_watcher_thread_checker_); @@ -211,9 +214,6 @@ class BASE_EXPORT HangWatcher : public DelegateSimpleThread::Delegate { void CaptureHang(base::TimeTicks capture_time) EXCLUSIVE_LOCKS_REQUIRED(watch_state_lock_) LOCKS_EXCLUDED(capture_lock_); - // Call Run() on the HangWatcher thread. - void Start(); - // Stop all monitoring and join the HangWatcher thread. void Stop(); |