diff options
author | cdn@chromium.org <cdn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 20:28:17 +0000 |
---|---|---|
committer | cdn@chromium.org <cdn@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 20:28:17 +0000 |
commit | 177623b42c69743828b8bd0a40c0f07b072ba86d (patch) | |
tree | a3db515744f38bdf3489d0f4c8229b3c33fc2a97 /content/browser/renderer_host/render_process_host.h | |
parent | 98a9273d8b0c3f873ca66331c9d9a81ab9c9f9e9 (diff) | |
download | chromium_src-177623b42c69743828b8bd0a40c0f07b072ba86d.zip chromium_src-177623b42c69743828b8bd0a40c0f07b072ba86d.tar.gz chromium_src-177623b42c69743828b8bd0a40c0f07b072ba86d.tar.bz2 |
Move handle dumpage to the renderer process (so that it works correctly) and move handle enumerator into common.
BUG=96488
TEST=N/A
Review URL: http://codereview.chromium.org/7888024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102004 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/renderer_host/render_process_host.h')
-rw-r--r-- | content/browser/renderer_host/render_process_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_process_host.h b/content/browser/renderer_host/render_process_host.h index 2164634..44d5dc8 100644 --- a/content/browser/renderer_host/render_process_host.h +++ b/content/browser/renderer_host/render_process_host.h @@ -104,6 +104,9 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Channel::Sender, // 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 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Channel::Sender, // 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. |