Chromium Code Reviews| Index: chrome/browser/metrics/thread_watcher.cc |
| diff --git a/chrome/browser/metrics/thread_watcher.cc b/chrome/browser/metrics/thread_watcher.cc |
| index 27dc82511b812a8aba1a8eeee256932a98c611d3..45802aaf0628e98ad0866e5a90cef16f3576ca0e 100644 |
| --- a/chrome/browser/metrics/thread_watcher.cc |
| +++ b/chrome/browser/metrics/thread_watcher.cc |
| @@ -536,6 +536,12 @@ void ThreadWatcherList::InitializeAndStartWatching( |
| if (g_thread_watcher_list_ || g_stopped_) |
| return; |
| + // Disable ThreadWatcher in Canary channel. |
| + chrome::VersionInfo::Channel channel = chrome::VersionInfo::GetChannel(); |
| + if (channel == chrome::VersionInfo::CHANNEL_CANARY || |
| + channel == chrome::VersionInfo::CHANNEL_UNKNOWN) |
|
Alexei Svitkine (slow)
2015/04/28 16:38:38
Nit: {}'s
ramant (doing other things)
2015/04/28 17:06:35
Done.
|
| + return; |
| + |
| ThreadWatcherList* thread_watcher_list = new ThreadWatcherList(); |
| CHECK(thread_watcher_list); |