Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1014)

Unified Diff: content/browser/browsing_instance.h

Issue 1797363002: "Top Document Isolation" mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Two new browsertests. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/browsing_instance.h
diff --git a/content/browser/browsing_instance.h b/content/browser/browsing_instance.h
index 0cb80ac80a986940d242d23f538a8460c6bde2dc..1f1199959d857110f466e4802cb601022f97496e 100644
--- a/content/browser/browsing_instance.h
+++ b/content/browser/browsing_instance.h
@@ -73,6 +73,8 @@ class CONTENT_EXPORT BrowsingInstance
// SiteInstance per site.
SiteInstance* GetSiteInstanceForURL(const GURL& url);
+ SiteInstance* GetSiteInstanceForThirdPartySubframes(const GURL& url);
Charlie Reis 2016/03/18 21:15:13 We might not need this if we don't register subfra
+
// Adds the given SiteInstance to our map, to ensure that we do not create
// another SiteInstance for the same site.
void RegisterSiteInstance(SiteInstance* site_instance);
@@ -120,6 +122,8 @@ class CONTENT_EXPORT BrowsingInstance
// Number of WebContentses currently using this BrowsingInstance.
size_t active_contents_count_;
+ SiteInstance* site_instance_for_third_party_subframes_ = nullptr;
Charlie Reis 2016/03/18 21:15:13 We probably do want this, as the sole subframe SI
+
DISALLOW_COPY_AND_ASSIGN(BrowsingInstance);
};

Powered by Google App Engine
This is Rietveld 408576698