Index: content/browser/site_instance_impl.h |
diff --git a/content/browser/site_instance_impl.h b/content/browser/site_instance_impl.h |
index 2c55688bc323424f5c5227157d9ceacf440ba551..f1de23d5cd52ed857c2c0470d0c4c35627b4f320 100644 |
--- a/content/browser/site_instance_impl.h |
+++ b/content/browser/site_instance_impl.h |
@@ -84,6 +84,11 @@ class CONTENT_EXPORT SiteInstanceImpl : public SiteInstance, |
static GURL GetEffectiveURL(BrowserContext* browser_context, |
const GURL& url); |
+ // Creates a new related SiteInstance that is not bound to a URL. |
+ // Note: use with care! When setting the URL later on for if it already exists |
+ // within the browsing instance that will lead to inconsistencies. |
+ SiteInstance* GetRelatedEmptySiteInstance(); |
+ |
protected: |
friend class BrowsingInstance; |
friend class SiteInstance; |