• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 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.
4 
5 #ifndef CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_
6 #define CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_
7 
8 #include <windows.h>
9 
10 // Causes the given child process to generate a crash dump and terminates the
11 // process.
12 void CrashDumpAndTerminateHungChildProcess(HANDLE hprocess);
13 
14 // TODO(yzshen): Remove when enough information is collected and the hang rate
15 // of pepper/renderer processes is reduced.
16 void CrashDumpForHangDebugging(HANDLE hprocess);
17 
18 #endif  // CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_
19