| // Copyright 2020 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef COMPONENTS_WEBAPPS_BROWSER_FEATURES_H_ |
| #define COMPONENTS_WEBAPPS_BROWSER_FEATURES_H_ |
| |
| #include "base/feature_list.h" |
| #include "base/metrics/field_trial_params.h" |
| #include "build/build_config.h" |
| |
| namespace webapps { |
| namespace features { |
| |
| #if BUILDFLAG(IS_ANDROID) |
| extern const base::Feature kAddToHomescreenMessaging; |
| extern const base::Feature kInstallableAmbientBadgeInfoBar; |
| extern const base::Feature kInstallableAmbientBadgeMessage; |
| extern const base::FeatureParam<int> |
| kInstallableAmbientBadgeMessage_ThrottleDomainsCapacity; |
| extern const base::Feature kWebApkUniqueId; |
| #endif // BUILDFLAG(IS_ANDROID) |
| |
| extern const base::Feature kCreateShortcutIgnoresManifest; |
| extern const base::Feature kSkipServiceWorkerCheckAll; |
| extern const base::Feature kSkipServiceWorkerCheckInstallOnly; |
| extern const base::Feature kDesktopPWAsDetailedInstallDialog; |
| |
| bool SkipBannerServiceWorkerCheck(); |
| bool SkipInstallServiceWorkerCheck(); |
| |
| } // namespace features |
| } // namespace webapps |
| |
| #endif // COMPONENTS_WEBAPPS_BROWSER_FEATURES_H_ |