| Index: content/public/browser/content_browser_client.h
|
| diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
|
| index 0a4928cebcee0768947ea0c5c3b25fa41e1c3556..bd3dc81f37444958ad749ebd8deb76947d8581c0 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -240,11 +240,14 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| virtual void SiteInstanceDeleting(SiteInstance* site_instance) {}
|
|
|
| // Returns true if for the navigation from |current_url| to |new_url|
|
| - // in |site_instance|, the process should be swapped (even if we are in a
|
| - // process model that doesn't usually swap).
|
| - virtual bool ShouldSwapProcessesForNavigation(SiteInstance* site_instance,
|
| - const GURL& current_url,
|
| - const GURL& new_url);
|
| + // in |site_instance|, a new SiteInstance and BrowsingInstance should be
|
| + // created (even if we are in a process model that doesn't usually swap.)
|
| + // This forces a process swap and severs script connections with existing
|
| + // tabs.
|
| + virtual bool ShouldSwapBrowsingInstancesForNavigation(
|
| + SiteInstance* site_instance,
|
| + const GURL& current_url,
|
| + const GURL& new_url);
|
|
|
| // Returns true if the given navigation redirect should cause a renderer
|
| // process swap.
|
|
|