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

Unified Diff: chrome/browser/process_singleton_win.cc

Issue 1834463002: Identify the hung thread using the Wait Chain Traversal API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BASE_EXPORT Created 4 years, 8 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/win/wait_chain_unittest.cc ('k') | chrome/chrome_watcher/chrome_watcher_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/process_singleton_win.cc
diff --git a/chrome/browser/process_singleton_win.cc b/chrome/browser/process_singleton_win.cc
index 45d98416a4c2374bd213ff1943a3819f7669067c..5706f7bd7642cb914227fd49b13dc102efdcd1d8 100644
--- a/chrome/browser/process_singleton_win.cc
+++ b/chrome/browser/process_singleton_win.cc
@@ -223,10 +223,8 @@ void SendFailedRdvReport(const base::Process& process, DWORD thread_id) {
// TODO(manzagop): add a metric for the number of captured hang reports, for
// comparison with uploaded count?
- // Only report on canary (or unspecified).
- const version_info::Channel channel = chrome::GetChannel();
- if (channel != version_info::Channel::UNKNOWN &&
- channel != version_info::Channel::CANARY) {
+ // Only report on canary.
+ if (chrome::GetChannel() != version_info::Channel::CANARY) {
return;
}
// TODO(manzagop): add a metric for the number of times this does not match.
« no previous file with comments | « base/win/wait_chain_unittest.cc ('k') | chrome/chrome_watcher/chrome_watcher_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698