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

Unified Diff: content/browser/renderer_host/render_process_host_impl.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 | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 045236328b33c1af721ccd1326aa1a2303dd617f..064d15b54de390bf3794e4ab86cf83f954b744f3 100644
--- a/content/browser/renderer_host/render_process_host_impl.h
+++ b/content/browser/renderer_host/render_process_host_impl.h
@@ -174,6 +174,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
void PurgeAndSuspend() override;
void Resume() override;
mojom::Renderer* GetRendererInterface() override;
+ void SetIsNeverSuitableForReuse() override;
+ bool MayReuseHost() override;
mojom::RouteProvider* GetRemoteRouteProvider();
@@ -437,6 +439,10 @@ class CONTENT_EXPORT RenderProcessHostImpl
// longer be modified.
bool is_worker_ref_count_disabled_;
+ // Whether this host is never suitable for reuse as determined in the
+ // MayReuseHost() function.
+ bool is_never_suitable_for_reuse_ = false;
+
// The registered IPC listener objects. When this list is empty, we should
// delete ourselves.
IDMap<IPC::Listener*> listeners_;
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698