summaryrefslogtreecommitdiffstats
path: root/content/browser/site_instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/site_instance.h')
-rw-r--r--content/browser/site_instance.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/site_instance.h b/content/browser/site_instance.h
index 3b6346d..ebe1b3e 100644
--- a/content/browser/site_instance.h
+++ b/content/browser/site_instance.h
@@ -105,6 +105,11 @@ class SiteInstance : public base::RefCounted<SiteInstance>,
// Darin suggests.
SiteInstance* GetRelatedSiteInstance(const GURL& url);
+ // Returns whether this SiteInstance has a process that is the wrong type for
+ // the given URL. If so, the browser should force a process swap when
+ // navigating to the URL.
+ bool HasWrongProcessForURL(const GURL& url) const;
+
// Factory method to create a new SiteInstance. This will create a new
// new BrowsingInstance, so it should only be used when creating a new tab
// from scratch (or similar circumstances). Callers should ensure that