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

Unified Diff: content/browser/renderer_host/render_process_host.h

Issue 7888024: Move handle dumpage to the renderer process (so that it works correctly) and factor out redundant... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_process_host.h
===================================================================
--- content/browser/renderer_host/render_process_host.h (revision 101774)
+++ content/browser/renderer_host/render_process_host.h (working copy)
@@ -104,6 +104,9 @@
// See Attach()
void Release(int listener_id);
+ // Schedules the host for deletion and removes it from the all_hosts list.
+ void Cleanup();
+
// Listeners should call this when they've sent a "Close" message and
// they're waiting for a "Close_ACK", so that if the renderer process
// goes away we'll know that it was intentional rather than a crash.
@@ -213,6 +216,9 @@
// Returns True if it was able to do fast shutdown.
virtual bool FastShutdownIfPossible() = 0;
+ // Dump the child process' handle table before shutting down.
+ virtual void DumpHandles() = 0;
+
// Returns the process object associated with the child process. In certain
// tests or single-process mode, this will actually represent the current
// process.
« no previous file with comments | « content/browser/renderer_host/mock_render_process_host.cc ('k') | content/browser/renderer_host/render_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698