Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2172)

Unified Diff: content/public/test/mock_render_process_host.h

Issue 2387603003: Resume a backgrounded renderer that was purged and suspended (Closed)
Patch Set: Use constexpr base::TimeDelta Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/test/mock_render_process_host.h
diff --git a/content/public/test/mock_render_process_host.h b/content/public/test/mock_render_process_host.h
index 81c43cbaa506fa46f9255a11031564a7b9b7243c..9b0c047ae8c5fafe7ec5d946a129b3498bda9d10 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -105,6 +105,9 @@ class MockRenderProcessHost : public RenderProcessHost {
void ForceReleaseWorkerRefCounts() override;
bool IsWorkerRefCountDisabled() override;
void PurgeAndSuspend() override;
+ void Resume() override;
+ const base::TimeTicks& GetLastPurgedAndSuspendedTime() const override;
+ const base::TimeTicks& GetLastResumedInBackgroundTime() const override;
// IPC::Sender via RenderProcessHost.
bool Send(IPC::Message* msg) override;

Powered by Google App Engine
This is Rietveld 408576698