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

Unified Diff: content/common/site_isolation_policy.h

Issue 2831683002: Introduce support for origins that require process isolation. (Closed)
Patch Set: Charlie's comments (round 3) Created 3 years, 7 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/common/site_isolation_policy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/site_isolation_policy.h
diff --git a/content/common/site_isolation_policy.h b/content/common/site_isolation_policy.h
index 3e70f6450bd01a111444c9f0c5f5ad651123f1b7..84d87a95d8ded80bc4bb3bbd074303a38433624b 100644
--- a/content/common/site_isolation_policy.h
+++ b/content/common/site_isolation_policy.h
@@ -41,6 +41,11 @@ class CONTENT_EXPORT SiteIsolationPolicy {
// different process from the main frame.
static bool IsTopDocumentIsolationEnabled();
+ // Returns true if there exist origins that require process isolation. Such
+ // origins require a dedicated process, and hence they make cross-process
+ // iframes possible.
+ static bool AreIsolatedOriginsEnabled();
+
private:
SiteIsolationPolicy(); // Not instantiable.
« no previous file with comments | « content/browser/site_instance_impl_unittest.cc ('k') | content/common/site_isolation_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698