Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2815)

Unified Diff: chrome/browser/metrics/thread_watcher.h

Issue 9173002: Watchdog - Added a JOINABLE state to avoid StartupTimebomb (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/threading/watchdog.cc ('k') | chrome/browser/metrics/thread_watcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/metrics/thread_watcher.h
===================================================================
--- chrome/browser/metrics/thread_watcher.h (revision 117912)
+++ chrome/browser/metrics/thread_watcher.h (working copy)
@@ -514,6 +514,10 @@
static void DisarmStartupTimeBomb();
private:
+ // Deletes |startup_watchdog_| if it is joinable. If |startup_watchdog_| is
+ // not joinable, then it will post a delayed task to try again.
+ void DeleteStartupWatchdog();
+
// The singleton of this class.
static StartupTimeBomb* g_startup_timebomb_;
« no previous file with comments | « base/threading/watchdog.cc ('k') | chrome/browser/metrics/thread_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698