Index: chrome/browser/metrics/thread_watcher.cc |
diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc |
index d2b62532fed08b67b75d19ed4de906b850cba280..341e3fc0daff76948df14d42ad37b53a0caf69e1 100644 |
--- a/chrome/browser/metrics/thread_watcher.cc |
+++ b/chrome/browser/metrics/thread_watcher.cc |
@@ -40,35 +40,35 @@ MSVC_PUSH_DISABLE_WARNING(4748) |
#endif |
void ThreadUnresponsive_UI() { |
- CHECK(false); |
+ CHECK(false) << __FUNCTION__; |
eroman
2012/07/03 19:00:38
I am slightly surprised that CHECK(false) doesn't
Robert Sesek
2012/07/10 18:43:09
In official release builds, it looks like CHECK()
jar (doing other things)
2012/07/10 20:05:23
Reading the header file, it appears that they disc
|
} |
void ThreadUnresponsive_DB() { |
- CHECK(false); |
+ CHECK(false) << __FUNCTION__; |
} |
void ThreadUnresponsive_WEBKIT() { |
- CHECK(false); |
+ CHECK(false) << __FUNCTION__; |
} |
void ThreadUnresponsive_FILE() { |
- CHECK(false); |
+ CHECK(false) << __FUNCTION__; |
} |
void ThreadUnresponsive_FILE_USER_BLOCKING() { |
- CHECK(false); |
+ CHECK(false) << __FUNCTION__; |
} |
void ThreadUnresponsive_PROCESS_LAUNCHER() { |
- CHECK(false); |
+ CHECK(false) << __FUNCTION__; |
} |
void ThreadUnresponsive_CACHE() { |
- CHECK(false); |
+ CHECK(false) << __FUNCTION__; |
} |
void ThreadUnresponsive_IO() { |
- CHECK(false); |
+ CHECK(false) << __FUNCTION__; |
} |
#if defined(COMPILER_MSVC) |
@@ -104,7 +104,7 @@ void CrashBecauseThreadWasUnresponsive(BrowserThread::ID thread_id) { |
// should warn if our switch becomes outdated. |
} |
- CHECK(false); // Shouldn't be reached. |
+ CHECK(false) << "Unknown thread was unresponsive."; // Shouldn't be reached. |
} |
} // namespace |