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

Unified Diff: content/common/site_isolation_policy.cc

Issue 2676823003: Turn on AreCrossProcessFramesPossible by default. (Closed)
Patch Set: Created 3 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/site_isolation_policy.cc
diff --git a/content/common/site_isolation_policy.cc b/content/common/site_isolation_policy.cc
index 5a4748787a08c4425f238f60d182f541f32a0517..a1607c84caf590d76586f467d1c0f2ff9867fb3a 100644
--- a/content/common/site_isolation_policy.cc
+++ b/content/common/site_isolation_policy.cc
@@ -5,21 +5,13 @@
#include "content/common/site_isolation_policy.h"
#include "base/command_line.h"
-#include "base/feature_list.h"
-#include "base/lazy_instance.h"
-#include "content/public/common/browser_side_navigation_policy.h"
-#include "content/public/common/content_client.h"
-#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
namespace content {
// static
bool SiteIsolationPolicy::AreCrossProcessFramesPossible() {
- return UseDedicatedProcessesForAllSites() ||
- IsTopDocumentIsolationEnabled() ||
- GetContentClient()->IsSupplementarySiteIsolationModeEnabled() ||
- base::FeatureList::IsEnabled(::features::kGuestViewCrossProcessFrames);
+ return true;
}
// static
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698