| Index: chrome/browser/metrics/thread_watcher.cc
|
| ===================================================================
|
| --- chrome/browser/metrics/thread_watcher.cc (revision 111751)
|
| +++ chrome/browser/metrics/thread_watcher.cc (working copy)
|
| @@ -55,6 +55,10 @@
|
| CHECK(false);
|
| }
|
|
|
| +void ThreadUnresponsive_FILE_USER_BLOCKING() {
|
| + CHECK(false);
|
| +}
|
| +
|
| void ThreadUnresponsive_PROCESS_LAUNCHER() {
|
| CHECK(false);
|
| }
|
| @@ -88,6 +92,8 @@
|
| return ThreadUnresponsive_WEBKIT();
|
| case BrowserThread::FILE:
|
| return ThreadUnresponsive_FILE();
|
| + case BrowserThread::FILE_USER_BLOCKING:
|
| + return ThreadUnresponsive_FILE_USER_BLOCKING();
|
| case BrowserThread::PROCESS_LAUNCHER:
|
| return ThreadUnresponsive_PROCESS_LAUNCHER();
|
| case BrowserThread::CACHE:
|
| @@ -583,6 +589,10 @@
|
| StartWatching(BrowserThread::FILE, "FILE", kSleepTime, kUnresponsiveTime,
|
| unresponsive_threshold, crash_on_hang_thread_names,
|
| live_threads_threshold);
|
| + StartWatching(BrowserThread::FILE_USER_BLOCKING, "FILE_USER_BLOCKING",
|
| + kSleepTime, kUnresponsiveTime,
|
| + unresponsive_threshold, crash_on_hang_thread_names,
|
| + live_threads_threshold);
|
| StartWatching(BrowserThread::CACHE, "CACHE", kSleepTime, kUnresponsiveTime,
|
| unresponsive_threshold, crash_on_hang_thread_names,
|
| live_threads_threshold);
|
|
|