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

Unified Diff: chrome/browser/metrics/thread_watcher_unittest.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
Index: chrome/browser/metrics/thread_watcher_unittest.cc
===================================================================
--- chrome/browser/metrics/thread_watcher_unittest.cc (revision 88502)
+++ chrome/browser/metrics/thread_watcher_unittest.cc (working copy)
@@ -244,8 +244,10 @@
io_thread_->Start();
watchdog_thread_->Start();
+ CommandLine command_line(CommandLine::NO_PROGRAM);
jar (doing other things) 2011/06/10 00:38:33 Is there a nice way we can test this with some com
ramant (doing other things) 2011/06/13 03:26:02 Done.
+
// Setup the registry for thread watchers.
- thread_watcher_list_ = new ThreadWatcherList();
+ thread_watcher_list_ = new ThreadWatcherList(command_line);
// Create thread watcher object for the IO thread.
io_watcher_ = new CustomThreadWatcher(io_thread_id, io_thread_name,

Powered by Google App Engine
This is Rietveld 408576698