| 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 da1bc3458b4149f0905f04ee750c0ae6ad1c00c7..4a4d989c26128e72a319aa404ca547f3012f162f 100644
|
| --- a/content/public/browser/render_process_host.h
|
| +++ b/content/public/browser/render_process_host.h
|
| @@ -232,6 +232,12 @@ class CONTENT_EXPORT RenderProcessHost : public IPC::Sender,
|
| // not correspond to a live RenderProcessHost.
|
| static RenderProcessHost* FromID(int render_process_id);
|
|
|
| + // Returns whether the process-per-site model is in use (globally or just for
|
| + // the current site), in which case we should ensure there is only one
|
| + // RenderProcessHost per site for the entire browser context.
|
| + static bool ShouldUseProcessPerSite(content::BrowserContext* browser_context,
|
| + const GURL& url);
|
| +
|
| // Returns true if the caller should attempt to use an existing
|
| // RenderProcessHost rather than creating a new one.
|
| static bool ShouldTryToUseExistingProcessHost(
|
|
|