| 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 228e4eefb5a534f7cd5a91f543de958f857e3c49..fd2e8822c66da7ccb20b95e3195089fffd2fa76f 100644
|
| --- a/content/public/browser/content_browser_client.h
|
| +++ b/content/public/browser/content_browser_client.h
|
| @@ -152,10 +152,13 @@ class CONTENT_EXPORT ContentBrowserClient {
|
| virtual void SiteInstanceDeleting(SiteInstance* site_instance) {}
|
|
|
| // Returns true if for the navigation from |current_url| to |new_url|,
|
| - // processes should be swapped (even if we are in a process model that
|
| - // doesn't usually swap).
|
| - virtual bool ShouldSwapProcessesForNavigation(const GURL& current_url,
|
| - const GURL& new_url);
|
| + // 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 ShouldSwapBrowsingInstanceForNavigation(
|
| + BrowserContext* browser_context,
|
| + const GURL& current_url,
|
| + const GURL& new_url);
|
|
|
| // Returns true if the given navigation redirect should cause a renderer
|
| // process swap.
|
|
|