Chromium Code Reviews| Index: content/public/browser/render_process_host.h |
| diff --git a/content/public/browser/render_process_host.h b/content/public/browser/render_process_host.h |
| index ef58b64c9736c2da687203e7fae275b0dc197d8a..c9b36392b3cf88cb9cea1f5fd034983da51bc91f 100644 |
| --- a/content/public/browser/render_process_host.h |
| +++ b/content/public/browser/render_process_host.h |
| @@ -320,6 +320,15 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender, |
| // Purges and suspends the renderer process. |
| virtual void PurgeAndSuspend() = 0; |
| + // Resumes the renderer process. |
| + virtual void Resume() = 0; |
| + |
| + // Gets the last time when the renderer process is purged and suspended. |
|
Avi (use Gerrit)
2016/10/18 06:15:37
was purged...
|
| + virtual const base::TimeTicks& GetLastPurgedAndSuspendedTime() const = 0; |
| + |
| + // Gets the last time when the renderer process is resumed in the background. |
|
Avi (use Gerrit)
2016/10/18 06:15:37
was resumed...
|
| + virtual const base::TimeTicks& GetLastResumedInBackgroundTime() const = 0; |
| + |
| // Acquires the |mojom::Renderer| interface to the render process. This is for |
| // internal use only, and is only exposed here to support |
| // MockRenderProcessHost usage in tests. |