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

Unified Diff: content/common/site_isolation_policy.cc

Issue 2942903002: Remove AreCrossProcessFramesPossible on Android (Closed)
Patch Set: Removed unnecessary call Created 3 years, 6 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/renderer_host/render_widget_host_view_android.cc ('k') | 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 7fa66c28c826931ba4bcb2ef6b0c52dd0fa56cdf..3fc8ba5fe6b2054dba8a389a386fd393cfeb0ef9 100644
--- a/content/common/site_isolation_policy.cc
+++ b/content/common/site_isolation_policy.cc
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "base/feature_list.h"
-#include "content/public/common/content_client.h"
#include "content/public/common/content_features.h"
#include "content/public/common/content_switches.h"
@@ -14,17 +13,7 @@ namespace content {
// static
bool SiteIsolationPolicy::AreCrossProcessFramesPossible() {
-// Before turning this on for Android, input event routing needs to be
-// completed there, and perf regressions in https://crbug.com/690229 need to be
-// investigated.
-#if defined(OS_ANDROID)
- return UseDedicatedProcessesForAllSites() ||
- IsTopDocumentIsolationEnabled() || AreIsolatedOriginsEnabled() ||
- GetContentClient()->IsSupplementarySiteIsolationModeEnabled() ||
- base::FeatureList::IsEnabled(::features::kGuestViewCrossProcessFrames);
-#else
return true;
-#endif
}
// static
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698