diff options
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. |