| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index f0e65706b88381decf2063ab18391153f6d6bd80..43a52aa5e2b9da84d51cfeb00e6a6861c113d231 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -174,6 +174,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| void ForceReleaseWorkerRefCounts() override;
|
| bool IsWorkerRefCountDisabled() override;
|
| void PurgeAndSuspend() override;
|
| + void Resume() override;
|
| + const base::TimeTicks& GetLastPurgedAndSuspendedTime() const override;
|
| + const base::TimeTicks& GetLastResumedInBackgroundTime() const override;
|
| mojom::Renderer* GetRendererInterface() override;
|
|
|
| mojom::RouteProvider* GetRemoteRouteProvider();
|
| @@ -468,6 +471,12 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // Stores the time at which the first call to Init happened.
|
| base::TimeTicks init_time_;
|
|
|
| + // The last time when the renderer is purged and suspended.
|
| + base::TimeTicks last_purged_and_suspended_time_;
|
| +
|
| + // The last time when the renderer is resumed in the background.
|
| + base::TimeTicks last_resumed_in_background_time_;
|
| +
|
| // Used to launch and terminate the process without blocking the UI thread.
|
| std::unique_ptr<ChildProcessLauncher> child_process_launcher_;
|
|
|
|
|