Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1093)

Side by Side Diff: chrome/browser/hang_monitor/hang_crash_dump_win.h

Issue 10983028: Render/pepper hang debugging: generate dumps for the browser and renderer processes if users kill a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/hang_monitor/hang_crash_dump_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 14 // TODO(yzshen): Remove when enough information is collected and the hang rate
15 // messages. 15 // of pepper/renderer processes is reduced.
16 void CrashDumpIfProcessHandlingPepper(HANDLE hprocess); 16 void CrashDumpForHangDebugging(HANDLE hprocess);
17 17
18 #endif // CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_ 18 #endif // CHROME_BROWSER_HANG_MONITOR_HANG_CRASH_DUMP_WIN_H_
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/hang_monitor/hang_crash_dump_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698