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

Unified Diff: content/public/browser/site_instance.h

Issue 2437253002: Improve TDI render process naming in the task manager. (Closed)
Patch Set: ncarter Created 4 years, 2 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
« no previous file with comments | « content/browser/site_instance_impl_unittest.cc ('k') | content/test/content_browser_test_utils_internal.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/site_instance.h
diff --git a/content/public/browser/site_instance.h b/content/public/browser/site_instance.h
index 708da824c2951d4ccfd64de1e7c9410b77fe9a98..2d1a9a3dbca452b0964bcfe8c70225192839f595 100644
--- a/content/public/browser/site_instance.h
+++ b/content/public/browser/site_instance.h
@@ -130,6 +130,11 @@ class CONTENT_EXPORT SiteInstance : public base::RefCounted<SiteInstance> {
// process. This only returns true under the "site per process" process model.
virtual bool RequiresDedicatedProcess() = 0;
+ // Returns true if this SiteInstance is used as the default SiteInstance for
+ // cross-site subframes. This only returns true if "top document isolation" is
+ // used.
+ virtual bool IsDefaultSubframeSiteInstance() const = 0;
+
// 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).
« no previous file with comments | « content/browser/site_instance_impl_unittest.cc ('k') | content/test/content_browser_test_utils_internal.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698