Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chrome / browser / metrics / thread_watcher_report_hang.h
blob69acc85fa7cc23446ce3842e1467f891e1b8c430
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_METRICS_THREAD_WATCHER_REPORT_HANG_H_
6 #define CHROME_BROWSER_METRICS_THREAD_WATCHER_REPORT_HANG_H_
8 #include "base/compiler_specific.h"
10 namespace metrics {
12 // This function makes it possible to tell from the callstack why startup is
13 // taking too long.
14 NOINLINE void StartupHang();
16 // This function makes it possible to tell from the callstack why shutdown is
17 // taking too long.
18 NOINLINE void ShutdownHang();
20 // This function makes it possible to tell from the callstack alone what thread
21 // was unresponsive.
22 NOINLINE void CrashBecauseThreadWasUnresponsive(int thread_id);
24 } // namespace metrics
26 #endif // CHROME_BROWSER_METRICS_THREAD_WATCHER_REPORT_HANG_H_