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

Unified Diff: content/browser/site_instance_impl.h

Issue 2857213005: PlzNavigate: implement process reuse for ServiceWorkers (Closed)
Patch Set: Created 3 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/browser/site_instance_impl.h
diff --git a/content/browser/site_instance_impl.h b/content/browser/site_instance_impl.h
index 4898b17c0d3d9c3d450e051195ad8f3e901233a4..04484864d031c2db984f6e2d8d93d78248d5e55d 100644
--- a/content/browser/site_instance_impl.h
+++ b/content/browser/site_instance_impl.h
@@ -64,6 +64,12 @@ class CONTENT_EXPORT SiteInstanceImpl final : public SiteInstance,
// In this mode, subframes will be hosted in a designated RenderProcessHost.
USE_DEFAULT_SUBFRAME_PROCESS,
+ // In this mode, the site will be rendered in a suitable RenderProcessHost
+ // in priority, and a new RenderProcessHost will be created if none exist. A
+ // suitable RenderProcessHost is one that has a frame rendering the site, or
+ // that is expecting a navigation to the site.
+ REUSE_CHECKING_FRAMES_AND_NAVIGATIONS,
Charlie Reis 2017/05/15 03:41:52 I'll suggest REUSE_PENDING_OR_COMMITTED_SITE. Tha
clamy 2017/05/16 14:50:46 Done.
+
// By default, a new RenderProcessHost will be created unless the process
// limit has been reached. The RenderProcessHost reused will be chosen
// randomly and not based on the site.

Powered by Google App Engine
This is Rietveld 408576698