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

Unified Diff: content/public/browser/render_process_host.h

Issue 2573213002: Consolidate all TDI SiteInstances into one render process. (Closed)
Patch Set: comment nit Created 3 years, 11 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
« no previous file with comments | « content/browser/site_instance_impl.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 0477aa0861a93089e96c08a770ec8c847883d5e1..67c532163fa2c78f3ddc60d9de880e7dbe955bee 100644
--- a/content/public/browser/render_process_host.h
+++ b/content/public/browser/render_process_host.h
@@ -348,6 +348,11 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
// MockRenderProcessHost usage in tests.
virtual mojom::Renderer* GetRendererInterface() = 0;
+ // Whether this process is locked out from ever being reused for sites other
+ // than the ones it currently has.
+ virtual void SetIsNeverSuitableForReuse() = 0;
+ virtual bool MayReuseHost() = 0;
+
// Returns the current number of active views in this process. Excludes
// any RenderViewHosts that are swapped out.
size_t GetActiveViewCount();
« no previous file with comments | « content/browser/site_instance_impl.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698