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

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

Issue 1914143002: Experimental 'purging and suspending' backgrounded tabs behind the flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add is_cache_purged_ to avoid redundant purging Created 4 years, 7 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 088bb4b430c9659bf6d5c6601bd3204eb809dd46..a7aca5f9f77452c19a0be6efa3e374595733d003 100644
--- a/content/public/test/mock_render_process_host.h
+++ b/content/public/test/mock_render_process_host.h
@@ -105,6 +105,7 @@ class MockRenderProcessHost : public RenderProcessHost {
bool IsProcessBackgrounded() const override;
void IncrementWorkerRefCount() override;
void DecrementWorkerRefCount() override;
+ void PurgeAndSuspend() override;
// IPC::Sender via RenderProcessHost.
bool Send(IPC::Message* msg) override;

Powered by Google App Engine
This is Rietveld 408576698