Commit f6a6fa6c authored by Lukasz Anforowicz's avatar Lukasz Anforowicz Committed by Commit Bot

site-per-process is the default on desktop even without of field trials.

This CL flips the default value of features::kSitePerProcess on desktop
to base::FEATURE_ENABLED_BY_DEFAULT.

Bug: 874998
Change-Id: Ia1a999072e87cc32fbde1bb70f8bb39e9b3053a7
Reviewed-on: https://chromium-review.googlesource.com/1178622Reviewed-by: default avatarSteven Holte <holte@chromium.org>
Reviewed-by: default avatarAlex Moshchuk <alexmos@chromium.org>
Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/master@{#584254}
parent 41b5b795
...@@ -512,8 +512,14 @@ const base::Feature kShowTrustedPublisherURL{"ShowTrustedPublisherURL", ...@@ -512,8 +512,14 @@ const base::Feature kShowTrustedPublisherURL{"ShowTrustedPublisherURL",
// Launch bug: https://crbug.com/739418. This is a //chrome-layer feature to // Launch bug: https://crbug.com/739418. This is a //chrome-layer feature to
// avoid turning on site-per-process by default for *all* //content embedders // avoid turning on site-per-process by default for *all* //content embedders
// (e.g. this approach lets ChromeCast avoid site-per-process mode). // (e.g. this approach lets ChromeCast avoid site-per-process mode).
const base::Feature kSitePerProcess{"site-per-process", const base::Feature kSitePerProcess {
base::FEATURE_DISABLED_BY_DEFAULT}; "site-per-process",
#if defined(OS_ANDROID)
base::FEATURE_DISABLED_BY_DEFAULT
#else
base::FEATURE_ENABLED_BY_DEFAULT
#endif
};
// kSitePerProcessOnlyForHighMemoryClients is checked before kSitePerProcess, // kSitePerProcessOnlyForHighMemoryClients is checked before kSitePerProcess,
// and (if enabled) can restrict if kSitePerProcess feature is checked at all - // and (if enabled) can restrict if kSitePerProcess feature is checked at all -
......
...@@ -4088,24 +4088,6 @@ ...@@ -4088,24 +4088,6 @@
] ]
} }
], ],
"SitePerProcess": [
{
"platforms": [
"chromeos",
"linux",
"windows",
"mac"
],
"experiments": [
{
"name": "SitePerProcess_Enabled",
"enable_features": [
"site-per-process"
]
}
]
}
],
"SocketReadIfReady": [ "SocketReadIfReady": [
{ {
"platforms": [ "platforms": [
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment