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 273593ac281c0b434b5635cf9c66bf2400c86c1e..9dfee48204c3f70defd95b76220ea9ea1daace96 100644 |
--- a/content/public/browser/content_browser_client.h |
+++ b/content/public/browser/content_browser_client.h |
@@ -193,10 +193,11 @@ class CONTENT_EXPORT ContentBrowserClient { |
// Called from a site instance's destructor. |
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, |
+ // 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); |
// Returns true if the given navigation redirect should cause a renderer |