Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / hang_monitor / hang_crash_dump_win.h
blob1f7d798edb21767313dc23673ffa96cdb77762dd
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.
5 #ifndef CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_
6 #define CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_
8 #include <windows.h>
10 // Causes the given child process to generate a crash dump and terminates the
11 // process.
12 void CrashDumpAndTerminateHungChildProcess(HANDLE hprocess);
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);
18 #endif // CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_