WebApp: Expose DesktopPWAsUnifiedInstall feature in chrome://flags.
Bug: 915043
Change-Id: I0d3b27271ca725d5188f5efcf709750f8b3cdfcf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1640521
Reviewed-by: Dominick Ng <[email protected]>
Commit-Queue: Alexey Baskakov <[email protected]>
Cr-Commit-Position: refs/heads/master@{#665457}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 79f188d..35f52891 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1775,6 +1775,10 @@
flag_descriptions::kBypassAppBannerEngagementChecksName,
flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll,
SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)},
+ {"enable-desktop-pwas-unified-install",
+ flag_descriptions::kDesktopPWAsUnifiedInstallName,
+ flag_descriptions::kDesktopPWAsUnifiedInstallDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(features::kDesktopPWAsUnifiedInstall)},
{"enable-desktop-pwas-link-capturing",
flag_descriptions::kEnableDesktopPWAsLinkCapturingName,
flag_descriptions::kEnableDesktopPWAsLinkCapturingDescription, kOsDesktop,
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
index c22402d..5e8395e 100644
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -1005,6 +1005,11 @@
"expiry_milestone": 79
},
{
+ "name": "enable-desktop-pwas-unified-install",
+ "owners": [ "[email protected]" ],
+ "expiry_milestone": 78
+ },
+ {
"name": "enable-devtools-experiments",
"owners": [ "//third_party/blink/renderer/devtools/OWNERS" ],
// This is a catch-all for ongoing devtools experiments.
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index b133122..99f90cc 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -550,6 +550,11 @@
"When on a site that passes PWA installation requirements show a button in "
"the omnibox for installing it.";
+const char kDesktopPWAsUnifiedInstallName[] =
+ "Desktop PWAs Unified Installation.";
+const char kDesktopPWAsUnifiedInstallDescription[] =
+ "New unified installation process for Desktop PWAs.";
+
const char kEnableSystemWebAppsName[] = "System Web Apps";
const char kEnableSystemWebAppsDescription[] =
"Experimental system for using the Desktop PWA framework for running System"
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index 396474b..fb9da327 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -348,6 +348,9 @@
extern const char kDesktopPWAsOmniboxInstallName[];
extern const char kDesktopPWAsOmniboxInstallDescription[];
+extern const char kDesktopPWAsUnifiedInstallName[];
+extern const char kDesktopPWAsUnifiedInstallDescription[];
+
extern const char kEnableSystemWebAppsName[];
extern const char kEnableSystemWebAppsDescription[];