| 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 6f309133b6374d7e48e257632383bf1a18f3fd6d..23b282393e425421d0139bc3c086c42225ab51c7 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -175,6 +175,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::RouteProvider* GetRemoteRouteProvider();
|
| mojom::Renderer* GetRendererInterface();
|
| @@ -474,6 +477,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_;
|
|
|
|
|