40 lines
1.6 KiB
Diff
40 lines
1.6 KiB
Diff
From: csagan5 <32685696+csagan5@users.noreply.github.com>
|
|
Date: Sun, 17 Mar 2019 19:09:00 +0100
|
|
Subject: Enable SPPI for devices with enough memory
|
|
|
|
License: GPL-3.0-only - https://spdx.org/licenses/GPL-3.0-only.html
|
|
---
|
|
chrome/common/chrome_features.cc | 4 ----
|
|
components/site_isolation/features.cc | 2 +-
|
|
2 files changed, 1 insertion(+), 5 deletions(-)
|
|
|
|
diff --git a/chrome/common/chrome_features.cc b/chrome/common/chrome_features.cc
|
|
--- a/chrome/common/chrome_features.cc
|
|
+++ b/chrome/common/chrome_features.cc
|
|
@@ -873,11 +873,7 @@ const base::Feature kSecurityKeyAttestationPrompt{
|
|
// browser_features, as they are only used on the browser side.
|
|
const base::Feature kSitePerProcess {
|
|
"SitePerProcess",
|
|
-#if BUILDFLAG(IS_ANDROID)
|
|
- base::FEATURE_DISABLED_BY_DEFAULT
|
|
-#else
|
|
base::FEATURE_ENABLED_BY_DEFAULT
|
|
-#endif
|
|
};
|
|
|
|
#if BUILDFLAG(IS_CHROMEOS_ASH)
|
|
diff --git a/components/site_isolation/features.cc b/components/site_isolation/features.cc
|
|
--- a/components/site_isolation/features.cc
|
|
+++ b/components/site_isolation/features.cc
|
|
@@ -63,7 +63,7 @@ const base::Feature kSiteIsolationForOAuthSites{
|
|
// kSitePerProcess won't be checked at all, and field trials won't activate
|
|
// either the control or the experiment group.
|
|
const base::Feature kSiteIsolationMemoryThresholds{
|
|
- "SiteIsolationMemoryThresholds", base::FEATURE_DISABLED_BY_DEFAULT};
|
|
+ "SiteIsolationMemoryThresholds", base::FEATURE_ENABLED_BY_DEFAULT};
|
|
const char kStrictSiteIsolationMemoryThresholdParamName[] =
|
|
"strict_site_isolation_threshold_mb";
|
|
const char kPartialSiteIsolationMemoryThresholdParamName[] =
|
|
--
|
|
2.25.1
|