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"
12 // This function makes it possible to tell from the callstack why startup is
14 NOINLINE
void StartupHang();
16 // This function makes it possible to tell from the callstack why shutdown is
18 NOINLINE
void ShutdownHang();
20 // This function makes it possible to tell from the callstack alone what thread
22 NOINLINE
void CrashBecauseThreadWasUnresponsive(int thread_id
);
24 } // namespace metrics
26 #endif // CHROME_BROWSER_METRICS_THREAD_WATCHER_REPORT_HANG_H_