Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_ | 5 #ifndef CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_ |
| 6 #define CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_ | 6 #define CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 // Causes the given child process to generate a crash dump and terminates the | 10 // Causes the given child process to generate a crash dump and terminates the |
| 11 // process. | 11 // process. |
| 12 void CrashDumpAndTerminateHungChildProcess(HANDLE hprocess); | 12 void CrashDumpAndTerminateHungChildProcess(HANDLE hprocess); |
| 13 | 13 |
| 14 // Causes the given process to generate a crash dump if it is handling pepper | |
| 15 // messages. | |
| 16 void CrashDumpProcessHandlingPepper(HANDLE hprocess); | |
|
brettw
2012/09/14 19:44:37
Can this be called CrashDumpIfProcessHandlingPeppe
yzshen1
2012/09/14 20:07:19
Done.
| |
| 17 | |
| 14 #endif // CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_ | 18 #endif // CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_ |
| OLD | NEW |