Skip to content

Commit

Permalink
Default enable the default web app migration on Chrome OS
Browse files Browse the repository at this point in the history
This CL enables the default web app migration by default on Chrome OS.
The web app migration doesn't work properly in the Lacros environment
(go/web-app-migration-lacros) so we must ensure it is shipped before
Lacros starts its rollout.

Bug: 1058265
Change-Id: I373d74a8db7a72fcda6222733184a4a0886493e4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3210829
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Alan Cutter <alancutter@chromium.org>
Cr-Commit-Position: refs/heads/main@{#929087}
  • Loading branch information
alancutter authored and Chromium LUCI CQ committed Oct 7, 2021
1 parent a15893a commit f571bc7
Showing 1 changed file with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,24 @@ bool IsMigrationFeature(const base::Feature& feature) {
// Enables migration of default installed GSuite apps over to their replacement
// web apps.
const base::Feature kMigrateDefaultChromeAppToWebAppsGSuite{
"MigrateDefaultChromeAppToWebAppsGSuite",
base::FEATURE_DISABLED_BY_DEFAULT};
"MigrateDefaultChromeAppToWebAppsGSuite",
#if defined(OS_CHROMEOS)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif // defined(OS_CHROMEOS)
};

// Enables migration of default installed non-GSuite apps over to their
// replacement web apps.
const base::Feature kMigrateDefaultChromeAppToWebAppsNonGSuite{
"MigrateDefaultChromeAppToWebAppsNonGSuite",
base::FEATURE_DISABLED_BY_DEFAULT};
"MigrateDefaultChromeAppToWebAppsNonGSuite",
#if defined(OS_CHROMEOS)
base::FEATURE_ENABLED_BY_DEFAULT
#else
base::FEATURE_DISABLED_BY_DEFAULT
#endif // defined(OS_CHROMEOS)
};

// Enables installing the PWA version of the chrome os calculator instead of the
// deprecated chrome app.
Expand Down

0 comments on commit f571bc7

Please sign in to comment.