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

Unified Diff: chrome/browser/browser_main.cc

Issue 7134007: Added command line switches "crash-on-hang-threads" and "crash-on-hang-seconds" (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « no previous file | chrome/browser/metrics/thread_watcher.h » ('j') | chrome/browser/metrics/thread_watcher.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main.cc
===================================================================
--- chrome/browser/browser_main.cc (revision 88502)
+++ chrome/browser/browser_main.cc (working copy)
@@ -1416,7 +1416,8 @@
// 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());
+ scoped_ptr<ThreadWatcherList> thread_watcher_list(
+ new ThreadWatcherList(parsed_command_line));
// Now the command line has been mutated based on about:flags, we can
// set up metrics and initialize field trials.
« no previous file with comments | « no previous file | chrome/browser/metrics/thread_watcher.h » ('j') | chrome/browser/metrics/thread_watcher.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698