Avi Drissman | ea1be23 | 2022-09-14 23:29:06 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | // Implementation of about_flags for iOS that sets flags based on experimental |
| 6 | // settings. |
| 7 | |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 8 | #import "ios/chrome/browser/flags/about_flags.h" |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 9 | |
Nazerke | 9c25905 | 2019-06-26 15:30:10 | [diff] [blame] | 10 | #import <UIKit/UIKit.h> |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 11 | #import <stddef.h> |
| 12 | #import <stdint.h> |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 13 | |
Avi Drissman | eac566b0 | 2023-08-18 02:56:21 | [diff] [blame] | 14 | #import "base/apple/foundation_util.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 15 | #import "base/base_switches.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 16 | #import "base/check_op.h" |
Peter Boström | 3f79857 | 2022-07-26 23:44:36 | [diff] [blame] | 17 | #import "base/debug/debugging_buildflags.h" |
Avi Drissman | cac43f2 | 2023-01-12 00:58:41 | [diff] [blame] | 18 | #import "base/functional/bind.h" |
| 19 | #import "base/functional/callback_helpers.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 20 | #import "base/no_destructor.h" |
| 21 | #import "base/strings/stringprintf.h" |
| 22 | #import "base/strings/sys_string_conversions.h" |
| 23 | #import "base/system/sys_info.h" |
| 24 | #import "components/autofill/core/common/autofill_features.h" |
| 25 | #import "components/autofill/core/common/autofill_payments_features.h" |
| 26 | #import "components/autofill/core/common/autofill_switches.h" |
Vidhan Jain | 1199e20 | 2024-03-15 14:42:59 | [diff] [blame] | 27 | #import "components/autofill/ios/common/features.h" |
Menghan YANG | f3fe2de5 | 2023-02-27 16:38:50 | [diff] [blame] | 28 | #import "components/bookmarks/common/bookmark_features.h" |
Marc Treib | 1f6c5db99 | 2024-01-04 20:25:14 | [diff] [blame] | 29 | #import "components/browser_sync/browser_sync_switches.h" |
Tommy Nyquist | e144751 | 2024-12-17 17:46:24 | [diff] [blame] | 30 | #import "components/collaboration/public/features.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 31 | #import "components/commerce/core/commerce_feature_list.h" |
| 32 | #import "components/commerce/core/flag_descriptions.h" |
| 33 | #import "components/content_settings/core/common/features.h" |
Asami Doi | 93db79e | 2024-09-06 18:16:55 | [diff] [blame] | 34 | #import "components/data_sharing/public/features.h" |
Gauthier Ambard | 5b124d30 | 2025-03-12 13:38:40 | [diff] [blame] | 35 | #import "components/data_sharing/public/switches.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 36 | #import "components/dom_distiller/core/dom_distiller_switches.h" |
Raj T | b95d81354 | 2022-11-16 21:27:52 | [diff] [blame] | 37 | #import "components/download/public/background_service/features.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 38 | #import "components/enterprise/browser/enterprise_switches.h" |
| 39 | #import "components/feature_engagement/public/feature_constants.h" |
| 40 | #import "components/feature_engagement/public/feature_list.h" |
| 41 | #import "components/feed/feed_feature_list.h" |
Benjamin Williams | 11f3991 | 2023-04-13 19:00:25 | [diff] [blame] | 42 | #import "components/history/core/browser/features.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 43 | #import "components/invalidation/impl/invalidation_switches.h" |
Benjamin Williams | aa8da814 | 2022-11-14 19:51:03 | [diff] [blame] | 44 | #import "components/ntp_tiles/features.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 45 | #import "components/ntp_tiles/switches.h" |
| 46 | #import "components/omnibox/browser/omnibox_field_trial.h" |
Fabio Tirelo | 7d1f1ba | 2024-12-18 23:01:12 | [diff] [blame] | 47 | #import "components/omnibox/common/omnibox_feature_configs.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 48 | #import "components/omnibox/common/omnibox_features.h" |
| 49 | #import "components/optimization_guide/core/optimization_guide_features.h" |
Raj T | a921ffc | 2022-08-25 19:00:20 | [diff] [blame] | 50 | #import "components/optimization_guide/core/optimization_guide_switches.h" |
Raj T | c66dd12 | 2024-04-01 18:48:39 | [diff] [blame] | 51 | #import "components/page_content_annotations/core/page_content_annotations_features.h" |
Olivier ROBIN | cb76f4fe | 2024-06-05 16:11:42 | [diff] [blame] | 52 | #import "components/page_image_service/features.h" |
Vasilii Sukhanov | 32b1445 | 2023-10-12 17:31:27 | [diff] [blame] | 53 | #import "components/password_manager/core/browser/features/password_features.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 54 | #import "components/password_manager/core/common/password_manager_features.h" |
| 55 | #import "components/payments/core/features.h" |
Guillaume Jenkins | eeb7007c | 2020-06-25 22:55:40 | [diff] [blame] | 56 | #import "components/policy/core/common/policy_loader_ios_constants.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 57 | #import "components/policy/policy_constants.h" |
| 58 | #import "components/safe_browsing/core/common/features.h" |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 59 | #import "components/segmentation_platform/embedder/home_modules/constants.h" |
Chris Lu | 6fd4eaf | 2023-08-08 18:29:30 | [diff] [blame] | 60 | #import "components/segmentation_platform/public/constants.h" |
Chris Lu | b0bad57 | 2023-08-07 18:13:29 | [diff] [blame] | 61 | #import "components/segmentation_platform/public/features.h" |
Victor Hugo Vianna Silva | 0399402f | 2021-09-07 21:41:25 | [diff] [blame] | 62 | #import "components/send_tab_to_self/features.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 63 | #import "components/shared_highlighting/core/common/shared_highlighting_features.h" |
| 64 | #import "components/signin/core/browser/account_reconcilor.h" |
| 65 | #import "components/signin/ios/browser/features.h" |
| 66 | #import "components/signin/public/base/signin_switches.h" |
| 67 | #import "components/strings/grit/components_strings.h" |
Nohemi Fernandez | 64acf98 | 2023-08-04 09:27:15 | [diff] [blame] | 68 | #import "components/supervised_user/core/common/features.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 69 | #import "components/sync/base/command_line_switches.h" |
| 70 | #import "components/sync/base/features.h" |
| 71 | #import "components/sync/base/pref_names.h" |
| 72 | #import "components/translate/core/browser/translate_prefs.h" |
| 73 | #import "components/translate/core/common/translate_util.h" |
rbpotter | 422d5eb | 2025-02-05 16:42:48 | [diff] [blame] | 74 | #import "components/webui/flags/feature_entry.h" |
| 75 | #import "components/webui/flags/feature_entry_macros.h" |
| 76 | #import "components/webui/flags/flags_storage.h" |
| 77 | #import "components/webui/flags/flags_ui_switches.h" |
Ed Chin | 91e4499 | 2022-07-27 13:42:34 | [diff] [blame] | 78 | #import "ios/chrome/app/background_mode_buildflags.h" |
Stepan Khapugin | 92366573 | 2025-01-02 16:23:38 | [diff] [blame] | 79 | #import "ios/chrome/browser/authentication/ui_bundled/signin/interruptible_chrome_coordinator.h" |
Gauthier Ambard | 5b7f3c2 | 2023-09-13 12:03:30 | [diff] [blame] | 80 | #import "ios/chrome/browser/browsing_data/model/browsing_data_features.h" |
Aman Verma | b6f5557 | 2023-09-28 11:40:53 | [diff] [blame] | 81 | #import "ios/chrome/browser/crash_report/model/features.h" |
Sebsg | fcd5b0b | 2024-04-09 08:18:32 | [diff] [blame] | 82 | #import "ios/chrome/browser/credential_provider/model/features.h" |
Aman Verma | f8a157f6 | 2023-10-03 15:32:11 | [diff] [blame] | 83 | #import "ios/chrome/browser/default_browser/model/utils.h" |
Daniel White | 37c85a2 | 2025-03-03 16:37:36 | [diff] [blame] | 84 | #import "ios/chrome/browser/download/ui/features.h" |
mmrashad | bc0ca94 | 2023-10-06 13:12:14 | [diff] [blame] | 85 | #import "ios/chrome/browser/find_in_page/model/util.h" |
Hira Mahmood | f6906a8 | 2025-01-02 17:55:09 | [diff] [blame] | 86 | #import "ios/chrome/browser/first_run/ui_bundled/features.h" |
Gauthier Ambard | 9260513 | 2022-08-26 13:25:17 | [diff] [blame] | 87 | #import "ios/chrome/browser/flags/chrome_switches.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 88 | #import "ios/chrome/browser/flags/ios_chrome_flag_descriptions.h" |
Vincent Boisselle | 8b321bb | 2023-11-28 13:58:31 | [diff] [blame] | 89 | #import "ios/chrome/browser/follow/model/follow_features.h" |
Rubin Deliallisi | b66a77a | 2024-10-02 18:09:48 | [diff] [blame] | 90 | #import "ios/chrome/browser/incognito_reauth/ui_bundled/features.h" |
Nicolas MacBeth | 12449f7 | 2025-03-11 21:19:48 | [diff] [blame] | 91 | #import "ios/chrome/browser/intelligence/features/features.h" |
Ali Juma | d29dc187 | 2023-10-19 13:33:58 | [diff] [blame] | 92 | #import "ios/chrome/browser/iph_for_new_chrome_user/model/features.h" |
Christian Xu | ff88480 | 2024-11-25 23:36:18 | [diff] [blame] | 93 | #import "ios/chrome/browser/lens/ui_bundled/features.h" |
Hira Mahmood | 66444987 | 2024-11-18 23:55:22 | [diff] [blame] | 94 | #import "ios/chrome/browser/ntp/model/features.h" |
Chris Lu | 09019af | 2024-08-28 08:38:44 | [diff] [blame] | 95 | #import "ios/chrome/browser/ntp/ui_bundled/new_tab_page_feature.h" |
Christian Xu | a224fbd | 2025-01-30 14:55:27 | [diff] [blame] | 96 | #import "ios/chrome/browser/omnibox/public/omnibox_ui_features.h" |
Stepan Khapugin | 34e45974 | 2024-12-06 09:39:59 | [diff] [blame] | 97 | #import "ios/chrome/browser/page_info/ui_bundled/features.h" |
Stephen McGruer | 5ac77b93 | 2024-11-07 20:09:43 | [diff] [blame] | 98 | #import "ios/chrome/browser/parcel_tracking/features.h" |
mmrashad | d0c7f95 | 2023-12-14 13:36:38 | [diff] [blame] | 99 | #import "ios/chrome/browser/policy/model/policy_util.h" |
Cheick Cisse | 85457f2 | 2024-05-23 22:37:59 | [diff] [blame] | 100 | #import "ios/chrome/browser/price_insights/model/price_insights_feature.h" |
Stepan Khapugin | 5694d70 | 2024-01-31 13:23:08 | [diff] [blame] | 101 | #import "ios/chrome/browser/promos_manager/model/features.h" |
mmrashad | f158cad94 | 2023-10-03 09:15:48 | [diff] [blame] | 102 | #import "ios/chrome/browser/screen_time/model/screen_time_buildflags.h" |
Christian Xu | 51be15a | 2024-11-26 17:42:19 | [diff] [blame] | 103 | #import "ios/chrome/browser/settings/ui_bundled/clear_browsing_data/features.h" |
Christian Xu | b0c68ff | 2024-11-28 11:50:47 | [diff] [blame] | 104 | #import "ios/chrome/browser/settings/ui_bundled/google_services/features.h" |
Xu Li | 9854c99 | 2024-12-19 20:53:08 | [diff] [blame] | 105 | #import "ios/chrome/browser/settings/ui_bundled/password/password_manager_ui_features.h" |
Christian Xu | 585a0451 | 2024-11-27 16:29:49 | [diff] [blame] | 106 | #import "ios/chrome/browser/settings/ui_bundled/privacy/privacy_guide/features.h" |
Gauthier Ambard | 7aa0fb92 | 2023-03-09 15:10:46 | [diff] [blame] | 107 | #import "ios/chrome/browser/shared/public/features/features.h" |
Gauthier Ambard | 818938c | 2023-06-16 14:48:35 | [diff] [blame] | 108 | #import "ios/chrome/browser/shared/public/features/system_flags.h" |
Tina Wang | 75f21e8 | 2024-07-01 18:00:35 | [diff] [blame] | 109 | #import "ios/chrome/browser/start_surface/ui_bundled/start_surface_features.h" |
Ewann Pelle | d2eaeba | 2023-09-19 09:15:28 | [diff] [blame] | 110 | #import "ios/chrome/browser/text_selection/model/text_selection_util.h" |
Ewann Pelle | 1f48f92 | 2025-01-13 11:43:34 | [diff] [blame] | 111 | #import "ios/chrome/browser/toolbar/ui_bundled/tab_groups/tab_group_indicator_features_utils.h" |
Robbie Gibson | 686c5673 | 2021-10-04 17:11:45 | [diff] [blame] | 112 | #import "ios/chrome/browser/ui/popup_menu/overflow_menu/feature_flags.h" |
Cheick Cisse | 5d2b6cb8 | 2023-06-05 17:27:58 | [diff] [blame] | 113 | #import "ios/chrome/browser/ui/whats_new/whats_new_util.h" |
Weizhong Xia | 8b908bda | 2023-12-05 16:00:22 | [diff] [blame] | 114 | #import "ios/chrome/browser/web/model/features.h" |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 115 | #import "ios/chrome/grit/ios_strings.h" |
| 116 | #import "ios/components/security_interstitials/https_only_mode/feature.h" |
| 117 | #import "ios/public/provider/chrome/browser/app_utils/app_utils_api.h" |
| 118 | #import "ios/web/common/features.h" |
| 119 | #import "ios/web/common/user_agent.h" |
| 120 | #import "ios/web/common/web_view_creation_util.h" |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 121 | |
Sylvain Defresne | 9c10708 | 2020-10-27 16:39:13 | [diff] [blame] | 122 | #if BUILDFLAG(IOS_SCREEN_TIME_ENABLED) |
mmrashad | f158cad94 | 2023-10-03 09:15:48 | [diff] [blame] | 123 | #import "ios/chrome/browser/screen_time/model/features.h" |
Sylvain Defresne | 9c10708 | 2020-10-27 16:39:13 | [diff] [blame] | 124 | #endif |
| 125 | |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 126 | #if !defined(OFFICIAL_BUILD) |
Gauthier Ambard | 999088c | 2022-09-13 08:36:57 | [diff] [blame] | 127 | #import "components/variations/variations_switches.h" |
vitaliii | 489217aa | 2017-01-30 14:50:22 | [diff] [blame] | 128 | #endif |
stkhapugin | c1be179 | 2016-12-13 14:30:53 | [diff] [blame] | 129 | |
elawrence | 816f6790e | 2017-06-16 18:19:28 | [diff] [blame] | 130 | using flags_ui::FeatureEntry; |
| 131 | |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 132 | namespace { |
Emily Stark | bafa906 | 2017-12-27 15:22:46 | [diff] [blame] | 133 | |
Nohemi Fernandez | c00842a | 2021-07-26 11:47:34 | [diff] [blame] | 134 | const FeatureEntry::Choice |
| 135 | kWaitThresholdMillisecondsForCapabilitiesApiChoices[] = { |
| 136 | {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
| 137 | {"200", signin::kWaitThresholdMillisecondsForCapabilitiesApi, "200"}, |
| 138 | {"500", signin::kWaitThresholdMillisecondsForCapabilitiesApi, "500"}, |
| 139 | {"5000", signin::kWaitThresholdMillisecondsForCapabilitiesApi, "5000"}, |
| 140 | }; |
| 141 | |
Radu Nitescu | 6e6dd7f5 | 2025-01-17 11:33:35 | [diff] [blame] | 142 | const char kLensOverlayOnboardingParamSpeedbumpMenu[] = |
| 143 | "kLensOverlayOnboardingParamSpeedbumpMenu"; |
| 144 | const char kLensOverlayOnboardingParamUpdatedStrings[] = |
| 145 | "kLensOverlayOnboardingParamUpdatedStrings"; |
| 146 | const char kLensOverlayOnboardingParamUpdatedStringsAndVisuals[] = |
| 147 | "kLensOverlayOnboardingParamUpdatedStringsAndVisuals"; |
| 148 | |
| 149 | const FeatureEntry::FeatureParam kLensOverlayOnboardinSpeedbumpMenu[] = { |
| 150 | {kLensOverlayOnboardingParam, kLensOverlayOnboardingParamSpeedbumpMenu}}; |
| 151 | const FeatureEntry::FeatureParam kLensOverlayOnboardingUpdatedStrings[] = { |
| 152 | {kLensOverlayOnboardingParam, kLensOverlayOnboardingParamUpdatedStrings}}; |
| 153 | const FeatureEntry::FeatureParam |
| 154 | kLensOverlayOnboardingUpdatedStringsAndVisuals[] = { |
| 155 | {kLensOverlayOnboardingParam, |
| 156 | kLensOverlayOnboardingParamUpdatedStringsAndVisuals}}; |
| 157 | |
| 158 | const FeatureEntry::FeatureVariation kLensOverlayOnboardingVariations[] = { |
| 159 | {"A: Speedbump menu", kLensOverlayOnboardinSpeedbumpMenu, |
| 160 | std::size(kLensOverlayOnboardinSpeedbumpMenu), nullptr}, |
| 161 | {"B: Updated Strings", kLensOverlayOnboardingUpdatedStrings, |
| 162 | std::size(kLensOverlayOnboardingUpdatedStrings), nullptr}, |
| 163 | {"C: Updated Strings and Graphics", |
| 164 | kLensOverlayOnboardingUpdatedStringsAndVisuals, |
| 165 | std::size(kLensOverlayOnboardingUpdatedStringsAndVisuals), nullptr}, |
Stepan Khapugin | c582024 | 2025-01-10 22:21:11 | [diff] [blame] | 166 | }; |
| 167 | |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 168 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches3[] = { |
| 169 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "3"}}; |
| 170 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches4[] = { |
| 171 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "4"}}; |
| 172 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches5[] = { |
| 173 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "5"}}; |
| 174 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches6[] = { |
| 175 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "6"}}; |
| 176 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches8[] = { |
| 177 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "8"}}; |
| 178 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches10[] = { |
| 179 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "10"}}; |
| 180 | const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches12[] = { |
| 181 | {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "12"}}; |
| 182 | |
| 183 | const FeatureEntry::FeatureVariation |
| 184 | kOmniboxUIMaxAutocompleteMatchesVariations[] = { |
| 185 | {"3 matches", kOmniboxUIMaxAutocompleteMatches3, |
Daniel Cheng | 1f047a8 | 2022-02-26 10:04:53 | [diff] [blame] | 186 | std::size(kOmniboxUIMaxAutocompleteMatches3), nullptr}, |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 187 | {"4 matches", kOmniboxUIMaxAutocompleteMatches4, |
Daniel Cheng | 1f047a8 | 2022-02-26 10:04:53 | [diff] [blame] | 188 | std::size(kOmniboxUIMaxAutocompleteMatches4), nullptr}, |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 189 | {"5 matches", kOmniboxUIMaxAutocompleteMatches5, |
Daniel Cheng | 1f047a8 | 2022-02-26 10:04:53 | [diff] [blame] | 190 | std::size(kOmniboxUIMaxAutocompleteMatches5), nullptr}, |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 191 | {"6 matches", kOmniboxUIMaxAutocompleteMatches6, |
Daniel Cheng | 1f047a8 | 2022-02-26 10:04:53 | [diff] [blame] | 192 | std::size(kOmniboxUIMaxAutocompleteMatches6), nullptr}, |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 193 | {"8 matches", kOmniboxUIMaxAutocompleteMatches8, |
Daniel Cheng | 1f047a8 | 2022-02-26 10:04:53 | [diff] [blame] | 194 | std::size(kOmniboxUIMaxAutocompleteMatches8), nullptr}, |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 195 | {"10 matches", kOmniboxUIMaxAutocompleteMatches10, |
Daniel Cheng | 1f047a8 | 2022-02-26 10:04:53 | [diff] [blame] | 196 | std::size(kOmniboxUIMaxAutocompleteMatches10), nullptr}, |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 197 | {"12 matches", kOmniboxUIMaxAutocompleteMatches12, |
Daniel Cheng | 1f047a8 | 2022-02-26 10:04:53 | [diff] [blame] | 198 | std::size(kOmniboxUIMaxAutocompleteMatches12), nullptr}}; |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 199 | |
Stepan Khapugin | bac467e | 2022-05-06 21:11:54 | [diff] [blame] | 200 | const FeatureEntry::FeatureParam kOmniboxMaxZPSMatches6[] = { |
| 201 | {OmniboxFieldTrial::kMaxZeroSuggestMatchesParam, "6"}}; |
| 202 | const FeatureEntry::FeatureParam kOmniboxMaxZPSMatches15[] = { |
| 203 | {OmniboxFieldTrial::kMaxZeroSuggestMatchesParam, "15"}}; |
| 204 | const FeatureEntry::FeatureParam kOmniboxMaxZPSMatches20[] = { |
| 205 | {OmniboxFieldTrial::kMaxZeroSuggestMatchesParam, "20"}}; |
| 206 | |
| 207 | const FeatureEntry::FeatureVariation kOmniboxMaxZPSMatchesVariations[] = { |
| 208 | {"6 matches", kOmniboxMaxZPSMatches6, std::size(kOmniboxMaxZPSMatches6), |
| 209 | nullptr}, |
| 210 | {"15 matches", kOmniboxMaxZPSMatches15, std::size(kOmniboxMaxZPSMatches15), |
| 211 | nullptr}, |
| 212 | {"20 matches", kOmniboxMaxZPSMatches20, std::size(kOmniboxMaxZPSMatches20), |
| 213 | nullptr}, |
| 214 | }; |
| 215 | |
Christian Xu | cf26d56 | 2022-07-06 09:28:36 | [diff] [blame] | 216 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches5[] = { |
| 217 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "5"}}; |
| 218 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches6[] = { |
| 219 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "6"}}; |
| 220 | const FeatureEntry::FeatureParam kOmniboxMaxURLMatches7[] = { |
| 221 | {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "7"}}; |
| 222 | |
| 223 | const FeatureEntry::FeatureVariation kOmniboxMaxURLMatchesVariations[] = { |
| 224 | {"5 matches", kOmniboxMaxURLMatches5, std::size(kOmniboxMaxURLMatches5), |
| 225 | nullptr}, |
| 226 | {"6 matches", kOmniboxMaxURLMatches6, std::size(kOmniboxMaxURLMatches6), |
| 227 | nullptr}, |
| 228 | {"7 matches", kOmniboxMaxURLMatches7, std::size(kOmniboxMaxURLMatches7), |
| 229 | nullptr}, |
| 230 | }; |
| 231 | |
Guillem Perez | 40086ef | 2023-11-20 20:03:52 | [diff] [blame] | 232 | const FeatureEntry::FeatureParam kContentPushNotificationsEnabledPromo[] = { |
| 233 | {kContentPushNotificationsExperimentType, "1"}}; |
| 234 | const FeatureEntry::FeatureParam kContentPushNotificationsEnabledSetupLists[] = |
| 235 | {{kContentPushNotificationsExperimentType, "2"}}; |
Guillem Perez | 222b5b2 | 2024-01-20 02:16:27 | [diff] [blame] | 236 | const FeatureEntry::FeatureParam kContentPushNotificationsEnabledProvisional[] = |
| 237 | {{kContentPushNotificationsExperimentType, "3"}}; |
Tina Wang | b7f5b3f | 2024-05-07 06:24:26 | [diff] [blame] | 238 | const FeatureEntry::FeatureParam |
| 239 | kContentPushNotificationsPromoRegistrationOnly[] = { |
| 240 | {kContentPushNotificationsExperimentType, "5"}}; |
| 241 | const FeatureEntry::FeatureParam |
| 242 | kContentPushNotificationsProvisionalRegistrationOnly[] = { |
| 243 | {kContentPushNotificationsExperimentType, "6"}}; |
| 244 | const FeatureEntry::FeatureParam |
| 245 | kContentPushNotificationsSetUpListRegistrationOnly[] = { |
| 246 | {kContentPushNotificationsExperimentType, "7"}}; |
Guillem Perez | 40086ef | 2023-11-20 20:03:52 | [diff] [blame] | 247 | |
| 248 | const FeatureEntry::FeatureVariation kContentPushNotificationsVariations[] = { |
| 249 | {"Promo", kContentPushNotificationsEnabledPromo, |
| 250 | std::size(kContentPushNotificationsEnabledPromo), nullptr}, |
| 251 | {"Set up list", kContentPushNotificationsEnabledSetupLists, |
Guillem Perez | 222b5b2 | 2024-01-20 02:16:27 | [diff] [blame] | 252 | std::size(kContentPushNotificationsEnabledSetupLists), nullptr}, |
| 253 | {"Provisional Notification", kContentPushNotificationsEnabledProvisional, |
Guillem Perez | 749b3fc | 2024-02-13 19:29:49 | [diff] [blame] | 254 | std::size(kContentPushNotificationsEnabledProvisional), nullptr}, |
Tina Wang | b7f5b3f | 2024-05-07 06:24:26 | [diff] [blame] | 255 | {"Promo Registeration Only", kContentPushNotificationsPromoRegistrationOnly, |
| 256 | std::size(kContentPushNotificationsPromoRegistrationOnly), nullptr}, |
| 257 | {"Provisional Notification Registeration Only", |
| 258 | kContentPushNotificationsProvisionalRegistrationOnly, |
| 259 | std::size(kContentPushNotificationsProvisionalRegistrationOnly), nullptr}, |
| 260 | {"Set up list Registeration Only", |
| 261 | kContentPushNotificationsSetUpListRegistrationOnly, |
| 262 | std::size(kContentPushNotificationsSetUpListRegistrationOnly), nullptr}}; |
Guillem Perez | 40086ef | 2023-11-20 20:03:52 | [diff] [blame] | 263 | |
Chris Lu | dca9ce3 | 2023-09-20 16:53:50 | [diff] [blame] | 264 | const FeatureEntry::FeatureParam kStartSurfaceTenSeconds[] = { |
gogerald | 53c6e7a | 2021-04-15 22:07:35 | [diff] [blame] | 265 | {kReturnToStartSurfaceInactiveDurationInSeconds, "10"}}; |
Chris Lu | dca9ce3 | 2023-09-20 16:53:50 | [diff] [blame] | 266 | const FeatureEntry::FeatureParam kStartSurfaceOneHour[] = { |
gogerald | 53c6e7a | 2021-04-15 22:07:35 | [diff] [blame] | 267 | {kReturnToStartSurfaceInactiveDurationInSeconds, "3600"}}; |
Chris Lu | 5470417c | 2021-03-03 18:43:08 | [diff] [blame] | 268 | |
gogerald | 0e39e3aa | 2021-02-10 18:41:23 | [diff] [blame] | 269 | const FeatureEntry::FeatureVariation kStartSurfaceVariations[] = { |
Chris Lu | dca9ce3 | 2023-09-20 16:53:50 | [diff] [blame] | 270 | {"10s:Show Home Surface", kStartSurfaceTenSeconds, |
| 271 | std::size(kStartSurfaceTenSeconds), nullptr}, |
| 272 | {"1h:Show Home Surface", kStartSurfaceOneHour, |
| 273 | std::size(kStartSurfaceOneHour), nullptr}, |
Chris Lu | 5470417c | 2021-03-03 18:43:08 | [diff] [blame] | 274 | }; |
gogerald | 0e39e3aa | 2021-02-10 18:41:23 | [diff] [blame] | 275 | |
Chris Lu | ce928eb | 2023-05-12 21:36:26 | [diff] [blame] | 276 | const FeatureEntry::FeatureParam kMagicStackMostVisitedModule[] = { |
| 277 | {kMagicStackMostVisitedModuleParam, "true"}, |
| 278 | {kReducedSpaceParam, "-80"}}; |
Chris Lu | 28c0ede | 2023-08-25 19:25:22 | [diff] [blame] | 279 | const FeatureEntry::FeatureParam |
| 280 | kMagicStackMostVisitedModuleHideIrrelevantModules[] = { |
| 281 | {kMagicStackMostVisitedModuleParam, "true"}, |
| 282 | {kReducedSpaceParam, "-80"}, |
| 283 | {kHideIrrelevantModulesParam, "true"}}; |
Chris Lu | 8cf8ef8 | 2024-03-18 18:30:54 | [diff] [blame] | 284 | const FeatureEntry::FeatureParam kMagicStackHidIrrelevantModules[] = { |
Chris Lu | ce928eb | 2023-05-12 21:36:26 | [diff] [blame] | 285 | {kMagicStackMostVisitedModuleParam, "false"}, |
Chris Lu | 8cf8ef8 | 2024-03-18 18:30:54 | [diff] [blame] | 286 | {kHideIrrelevantModulesParam, "true"}}; |
Chris Lu | ce928eb | 2023-05-12 21:36:26 | [diff] [blame] | 287 | |
| 288 | const FeatureEntry::FeatureVariation kMagicStackVariations[]{ |
| 289 | {"Most Visited Tiles in Magic Stack", kMagicStackMostVisitedModule, |
| 290 | std::size(kMagicStackMostVisitedModule), nullptr}, |
Chris Lu | 28c0ede | 2023-08-25 19:25:22 | [diff] [blame] | 291 | {"Most Visited Tiles in Magic Stack and hide irrelevant modules", |
| 292 | kMagicStackMostVisitedModuleHideIrrelevantModules, |
| 293 | std::size(kMagicStackMostVisitedModuleHideIrrelevantModules), nullptr}, |
Chris Lu | 8cf8ef8 | 2024-03-18 18:30:54 | [diff] [blame] | 294 | {"Hide irrelevant modules", kMagicStackHidIrrelevantModules, |
| 295 | std::size(kMagicStackHidIrrelevantModules), nullptr}, |
Chris Lu | ce928eb | 2023-05-12 21:36:26 | [diff] [blame] | 296 | }; |
| 297 | |
Chris Lu | 6fd4eaf | 2023-08-08 18:29:30 | [diff] [blame] | 298 | const FeatureEntry::FeatureParam kEnableDefaultModel[] = { |
| 299 | {segmentation_platform::kDefaultModelEnabledParam, "true"}}; |
| 300 | |
| 301 | const FeatureEntry::FeatureVariation |
| 302 | kSegmentationPlatformIosModuleRankerVariations[]{ |
| 303 | {"Enabled With Default Model Parameter (Must Set this!)", |
| 304 | kEnableDefaultModel, std::size(kEnableDefaultModel), nullptr}, |
| 305 | }; |
| 306 | |
Scott Yoder | af2bdf3 | 2024-01-30 20:26:15 | [diff] [blame] | 307 | const FeatureEntry::FeatureParam kIOSTipsNotifications5SecondTrigger[] = { |
Scott Yoder | 3c99d73 | 2024-08-15 19:48:31 | [diff] [blame] | 308 | {kIOSTipsNotificationsUnknownTriggerTimeParam, "5s"}, |
| 309 | {kIOSTipsNotificationsActiveSeekerTriggerTimeParam, "5s"}, |
| 310 | {kIOSTipsNotificationsLessEngagedTriggerTimeParam, "5s"}, |
Scott Yoder | af2bdf3 | 2024-01-30 20:26:15 | [diff] [blame] | 311 | }; |
| 312 | const FeatureEntry::FeatureParam kIOSTipsNotifications10SecondTrigger[] = { |
Scott Yoder | 3c99d73 | 2024-08-15 19:48:31 | [diff] [blame] | 313 | {kIOSTipsNotificationsUnknownTriggerTimeParam, "10s"}, |
| 314 | {kIOSTipsNotificationsActiveSeekerTriggerTimeParam, "10s"}, |
| 315 | {kIOSTipsNotificationsLessEngagedTriggerTimeParam, "10s"}, |
Scott Yoder | af2bdf3 | 2024-01-30 20:26:15 | [diff] [blame] | 316 | }; |
Scott Yoder | d2dbc87f | 2024-03-07 18:23:37 | [diff] [blame] | 317 | const FeatureEntry::FeatureParam kIOSTipsNotifications30SecondTrigger[] = { |
Scott Yoder | 3c99d73 | 2024-08-15 19:48:31 | [diff] [blame] | 318 | {kIOSTipsNotificationsUnknownTriggerTimeParam, "30s"}, |
| 319 | {kIOSTipsNotificationsActiveSeekerTriggerTimeParam, "30s"}, |
| 320 | {kIOSTipsNotificationsLessEngagedTriggerTimeParam, "30s"}, |
Scott Yoder | d2dbc87f | 2024-03-07 18:23:37 | [diff] [blame] | 321 | }; |
Scott Yoder | af2bdf3 | 2024-01-30 20:26:15 | [diff] [blame] | 322 | const FeatureEntry::FeatureVariation kIOSTipsNotificationsVariations[] = { |
| 323 | {"(5s trigger)", kIOSTipsNotifications5SecondTrigger, |
Scott Yoder | ef1a054 | 2024-11-04 17:23:07 | [diff] [blame] | 324 | std::size(kIOSTipsNotifications5SecondTrigger), nullptr}, |
Scott Yoder | af2bdf3 | 2024-01-30 20:26:15 | [diff] [blame] | 325 | {"(10s trigger)", kIOSTipsNotifications10SecondTrigger, |
| 326 | std::size(kIOSTipsNotifications10SecondTrigger), nullptr}, |
Scott Yoder | d2dbc87f | 2024-03-07 18:23:37 | [diff] [blame] | 327 | {"(30s trigger)", kIOSTipsNotifications30SecondTrigger, |
Scott Yoder | ef1a054 | 2024-11-04 17:23:07 | [diff] [blame] | 328 | std::size(kIOSTipsNotifications30SecondTrigger), nullptr}, |
| 329 | }; |
| 330 | |
| 331 | const FeatureEntry::FeatureParam |
| 332 | kIOSReactivationNotifications10SecondTrigger[] = { |
| 333 | {kIOSReactivationNotificationsTriggerTimeParam, "10s"}, |
| 334 | }; |
| 335 | const FeatureEntry::FeatureParam |
| 336 | kIOSReactivationNotifications30SecondTrigger[] = { |
| 337 | {kIOSReactivationNotificationsTriggerTimeParam, "30s"}, |
| 338 | }; |
| 339 | const FeatureEntry::FeatureVariation kIOSReactivationNotificationsVariations[] = |
| 340 | { |
| 341 | {"(10s trigger)", kIOSReactivationNotifications10SecondTrigger, |
| 342 | std::size(kIOSReactivationNotifications10SecondTrigger), nullptr}, |
| 343 | {"(30s trigger)", kIOSReactivationNotifications30SecondTrigger, |
| 344 | std::size(kIOSReactivationNotifications30SecondTrigger), nullptr}, |
Scott Yoder | af2bdf3 | 2024-01-30 20:26:15 | [diff] [blame] | 345 | }; |
| 346 | |
Ed Chin | 91e4499 | 2022-07-27 13:42:34 | [diff] [blame] | 347 | #if BUILDFLAG(IOS_BACKGROUND_MODE_ENABLED) |
Ed Chin | 178ec2a | 2023-02-10 22:21:26 | [diff] [blame] | 348 | // Feed Background Refresh Feature Params. |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 349 | const FeatureEntry::FeatureParam kOneHourIntervalOneHourMaxAgeOnce[] = { |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 350 | {kEnableServerDrivenBackgroundRefreshSchedule, "false"}, |
| 351 | {kEnableRecurringBackgroundRefreshSchedule, "false"}, |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 352 | {kMaxCacheAgeInSeconds, /*60*60*/ "3600"}, |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 353 | {kBackgroundRefreshIntervalInSeconds, /* 60*60= */ "3600"}}; |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 354 | const FeatureEntry::FeatureParam kFourHourIntervalSixHourMaxAgeOnce[] = { |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 355 | {kEnableServerDrivenBackgroundRefreshSchedule, "false"}, |
| 356 | {kEnableRecurringBackgroundRefreshSchedule, "false"}, |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 357 | {kMaxCacheAgeInSeconds, /*6*60*60*/ "21600"}, |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 358 | {kBackgroundRefreshIntervalInSeconds, /* 4*60*60= */ "14400"}}; |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 359 | const FeatureEntry::FeatureParam kOneHourIntervalOneHourMaxAgeRecurring[] = { |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 360 | {kEnableServerDrivenBackgroundRefreshSchedule, "false"}, |
| 361 | {kEnableRecurringBackgroundRefreshSchedule, "true"}, |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 362 | {kMaxCacheAgeInSeconds, /*60*60*/ "3600"}, |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 363 | {kBackgroundRefreshIntervalInSeconds, /* 60*60= */ "3600"}}; |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 364 | const FeatureEntry::FeatureParam kFourHourIntervalSixHourMaxAgeRecurring[] = { |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 365 | {kEnableServerDrivenBackgroundRefreshSchedule, "false"}, |
| 366 | {kEnableRecurringBackgroundRefreshSchedule, "true"}, |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 367 | {kMaxCacheAgeInSeconds, /*6*60*60*/ "21600"}, |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 368 | {kBackgroundRefreshIntervalInSeconds, /* 4*60*60= */ "14400"}}; |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 369 | const FeatureEntry::FeatureParam kServerDrivenOneHourMaxAgeOnce[] = { |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 370 | {kEnableServerDrivenBackgroundRefreshSchedule, "true"}, |
| 371 | {kEnableRecurringBackgroundRefreshSchedule, "false"}, |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 372 | {kMaxCacheAgeInSeconds, /*60*60*/ "3600"}, |
| 373 | {kBackgroundRefreshIntervalInSeconds, "0"}}; |
| 374 | const FeatureEntry::FeatureParam kServerDrivenOneHourMaxAgeRecurring[] = { |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 375 | {kEnableServerDrivenBackgroundRefreshSchedule, "true"}, |
| 376 | {kEnableRecurringBackgroundRefreshSchedule, "true"}, |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 377 | {kMaxCacheAgeInSeconds, /*60*60*/ "3600"}, |
| 378 | {kBackgroundRefreshIntervalInSeconds, "0"}}; |
| 379 | const FeatureEntry::FeatureParam kServerDrivenSixHourMaxAgeOnce[] = { |
| 380 | {kEnableServerDrivenBackgroundRefreshSchedule, "true"}, |
| 381 | {kEnableRecurringBackgroundRefreshSchedule, "false"}, |
| 382 | {kMaxCacheAgeInSeconds, /*6*60*60*/ "21600"}, |
| 383 | {kBackgroundRefreshIntervalInSeconds, "0"}}; |
| 384 | const FeatureEntry::FeatureParam kServerDrivenSixHourMaxAgeRecurring[] = { |
| 385 | {kEnableServerDrivenBackgroundRefreshSchedule, "true"}, |
| 386 | {kEnableRecurringBackgroundRefreshSchedule, "true"}, |
| 387 | {kMaxCacheAgeInSeconds, /*6*60*60*/ "21600"}, |
| 388 | {kBackgroundRefreshIntervalInSeconds, "0"}}; |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 389 | |
Ed Chin | 178ec2a | 2023-02-10 22:21:26 | [diff] [blame] | 390 | // Feed Background Refresh Feature Variations. |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 391 | const FeatureEntry::FeatureVariation kFeedBackgroundRefreshVariations[] = { |
Ed Chin | 321b8fe | 2022-08-16 07:02:01 | [diff] [blame] | 392 | {"1hr Interval 1hr Max Age Once", kOneHourIntervalOneHourMaxAgeOnce, |
| 393 | std::size(kOneHourIntervalOneHourMaxAgeOnce), nullptr}, |
| 394 | {"4hr Interval 6hr Max Age Once", kFourHourIntervalSixHourMaxAgeOnce, |
| 395 | std::size(kFourHourIntervalSixHourMaxAgeOnce), nullptr}, |
| 396 | {"1hr Interval 1hr Max Age Recurring", |
| 397 | kOneHourIntervalOneHourMaxAgeRecurring, |
| 398 | std::size(kOneHourIntervalOneHourMaxAgeRecurring), nullptr}, |
| 399 | {"4hr Interval 6hr Max Age Recurring", |
| 400 | kFourHourIntervalSixHourMaxAgeRecurring, |
| 401 | std::size(kFourHourIntervalSixHourMaxAgeRecurring), nullptr}, |
| 402 | {"Server Driven 1hr Max Age Once", kServerDrivenOneHourMaxAgeOnce, |
| 403 | std::size(kServerDrivenOneHourMaxAgeOnce), nullptr}, |
| 404 | {"Server Driven 1hr Max Age Recurring", kServerDrivenOneHourMaxAgeRecurring, |
| 405 | std::size(kServerDrivenOneHourMaxAgeRecurring), nullptr}, |
| 406 | {"Server Driven 6hr Max Age Once", kServerDrivenSixHourMaxAgeOnce, |
| 407 | std::size(kServerDrivenSixHourMaxAgeOnce), nullptr}, |
| 408 | {"Server Driven 6hr Max Age Recurring", kServerDrivenSixHourMaxAgeRecurring, |
| 409 | std::size(kServerDrivenSixHourMaxAgeRecurring), nullptr}, |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 410 | }; |
Ed Chin | 91e4499 | 2022-07-27 13:42:34 | [diff] [blame] | 411 | #endif // BUILDFLAG(IOS_BACKGROUND_MODE_ENABLED) |
Ed Chin | 59f617b | 2022-07-19 22:12:04 | [diff] [blame] | 412 | |
David Jean | f361ae9d | 2024-04-09 08:19:47 | [diff] [blame] | 413 | const FeatureEntry::FeatureParam kEnableExpKitTextClassifierAddressOneTap[] = { |
| 414 | {kTextClassifierAddressParameterName, "true"}}; |
| 415 | const FeatureEntry::FeatureVariation |
| 416 | kEnableExpKitTextClassifierAddressVariations[] = { |
| 417 | {"Long-Press and One-Tap", kEnableExpKitTextClassifierAddressOneTap, |
| 418 | std::size(kEnableExpKitTextClassifierAddressOneTap), nullptr}}; |
| 419 | |
| 420 | const FeatureEntry::FeatureParam |
| 421 | kEnableExpKitTextClassifierPhoneNumberOneTap[] = { |
| 422 | {kTextClassifierPhoneNumberParameterName, "true"}}; |
| 423 | const FeatureEntry::FeatureVariation |
| 424 | kEnableExpKitTextClassifierPhoneNumberVariations[] = { |
| 425 | {"Long-Press and One-Tap", kEnableExpKitTextClassifierPhoneNumberOneTap, |
| 426 | std::size(kEnableExpKitTextClassifierPhoneNumberOneTap), nullptr}}; |
| 427 | |
| 428 | const FeatureEntry::FeatureParam kEnableExpKitTextClassifierEmailOneTap[] = { |
| 429 | {kTextClassifierEmailParameterName, "true"}}; |
| 430 | const FeatureEntry::FeatureVariation |
| 431 | kEnableExpKitTextClassifierEmailVariations[] = { |
| 432 | {"Long-Press and One-Tap", kEnableExpKitTextClassifierEmailOneTap, |
| 433 | std::size(kEnableExpKitTextClassifierEmailOneTap), nullptr}}; |
Raj T | 18a2c8c | 2023-03-15 17:20:15 | [diff] [blame] | 434 | |
Ewann Pelle | a2bcb3a | 2023-08-28 13:53:00 | [diff] [blame] | 435 | const FeatureEntry::FeatureParam kTabResumptionMostRecentTabOnly[] = { |
| 436 | {kTabResumptionParameterName, kTabResumptionMostRecentTabOnlyParam}}; |
| 437 | const FeatureEntry::FeatureParam kTabResumptionAllTabs[] = { |
| 438 | {kTabResumptionParameterName, kTabResumptionAllTabsParam}}; |
Ewann Pelle | b08ee06 | 2023-10-16 10:04:48 | [diff] [blame] | 439 | const FeatureEntry::FeatureParam kTabResumptionAllTabsOneDayThreshold[] = { |
Olivier Robin | bb46d05d | 2024-06-25 17:56:35 | [diff] [blame] | 440 | {kTabResumptionParameterName, kTabResumptionAllTabsParam}, |
| 441 | {kTabResumptionThresholdParameterName, /* 24 hours */ "86400"}}; |
Ewann Pelle | a2bcb3a | 2023-08-28 13:53:00 | [diff] [blame] | 442 | |
| 443 | const FeatureEntry::FeatureVariation kTabResumptionVariations[] = { |
| 444 | {"Most recent tab only", kTabResumptionMostRecentTabOnly, |
| 445 | std::size(kTabResumptionMostRecentTabOnly), nullptr}, |
Ewann Pelle | b08ee06 | 2023-10-16 10:04:48 | [diff] [blame] | 446 | {"Most recent tab and last synced tab (12 hours threshold)", |
| 447 | kTabResumptionAllTabs, std::size(kTabResumptionAllTabs), nullptr}, |
| 448 | {"Most recent tab and last synced tab (24 hours threshold)", |
| 449 | kTabResumptionAllTabsOneDayThreshold, |
Olivier Robin | 08bc56d0 | 2024-06-05 14:05:18 | [diff] [blame] | 450 | std::size(kTabResumptionAllTabsOneDayThreshold), nullptr}}; |
Ewann Pelle | 6eecb8f | 2023-06-23 14:31:37 | [diff] [blame] | 451 | |
Christian Xu | 07d60019 | 2023-07-24 12:29:52 | [diff] [blame] | 452 | const FeatureEntry::FeatureParam kBottomOmniboxDefaultSettingTop[] = { |
| 453 | {kBottomOmniboxDefaultSettingParam, kBottomOmniboxDefaultSettingParamTop}}; |
| 454 | const FeatureEntry::FeatureParam kBottomOmniboxDefaultSettingBottom[] = { |
| 455 | {kBottomOmniboxDefaultSettingParam, |
| 456 | kBottomOmniboxDefaultSettingParamBottom}}; |
| 457 | const FeatureEntry::FeatureParam kBottomOmniboxDefaultSettingSafariSwitcher[] = |
| 458 | {{kBottomOmniboxDefaultSettingParam, |
| 459 | kBottomOmniboxDefaultSettingParamSafariSwitcher}}; |
| 460 | const FeatureEntry::FeatureVariation kBottomOmniboxDefaultSettingVariations[] = |
| 461 | { |
| 462 | {"Top", kBottomOmniboxDefaultSettingTop, |
| 463 | std::size(kBottomOmniboxDefaultSettingTop), nullptr}, |
| 464 | {"Bottom", kBottomOmniboxDefaultSettingBottom, |
| 465 | std::size(kBottomOmniboxDefaultSettingBottom), nullptr}, |
| 466 | {"Bottom for Safari Switcher", |
| 467 | kBottomOmniboxDefaultSettingSafariSwitcher, |
| 468 | std::size(kBottomOmniboxDefaultSettingSafariSwitcher), nullptr}, |
| 469 | }; |
| 470 | |
Cheick Cisse | 85457f2 | 2024-05-23 22:37:59 | [diff] [blame] | 471 | constexpr flags_ui::FeatureEntry::FeatureParam kPriceInsightsPriceIsLowParam[] = |
| 472 | {{kLowPriceParam, kLowPriceParamPriceIsLow}}; |
| 473 | constexpr flags_ui::FeatureEntry::FeatureParam |
| 474 | kPriceInsightsGoodDealNowParam[] = { |
| 475 | {kLowPriceParam, kLowPriceParamGoodDealNow}}; |
| 476 | constexpr flags_ui::FeatureEntry::FeatureParam |
| 477 | kPriceInsightsSeePriceHistoryParam[] = { |
| 478 | {kLowPriceParam, kLowPriceParamSeePriceHistory}}; |
| 479 | constexpr flags_ui::FeatureEntry::FeatureVariation kPriceInsightsVariations[] = |
| 480 | {{"Price is low", kPriceInsightsPriceIsLowParam, |
| 481 | std::size(kPriceInsightsPriceIsLowParam), nullptr}, |
| 482 | {"Good deal now", kPriceInsightsGoodDealNowParam, |
| 483 | std::size(kPriceInsightsGoodDealNowParam), nullptr}, |
| 484 | {"See price history", kPriceInsightsSeePriceHistoryParam, |
| 485 | std::size(kPriceInsightsSeePriceHistoryParam), nullptr}}; |
| 486 | |
Olivier ROBIN | 82b6700 | 2023-07-31 14:34:46 | [diff] [blame] | 487 | const FeatureEntry::FeatureParam kOneTapForMapsConsentModeDefault[] = { |
| 488 | {web::features::kOneTapForMapsConsentModeParamTitle, |
| 489 | web::features::kOneTapForMapsConsentModeDefaultParam}}; |
| 490 | const FeatureEntry::FeatureParam kOneTapForMapsConsentModeForced[] = { |
| 491 | {web::features::kOneTapForMapsConsentModeParamTitle, |
| 492 | web::features::kOneTapForMapsConsentModeForcedParam}}; |
| 493 | const FeatureEntry::FeatureParam kOneTapForMapsConsentModeDisabled[] = { |
| 494 | {web::features::kOneTapForMapsConsentModeParamTitle, |
| 495 | web::features::kOneTapForMapsConsentModeDisabledParam}}; |
Olivier ROBIN | 333f0b54 | 2023-09-01 14:53:31 | [diff] [blame] | 496 | const FeatureEntry::FeatureParam kOneTapForMapsConsentModeIPH[] = { |
| 497 | {web::features::kOneTapForMapsConsentModeParamTitle, |
| 498 | web::features::kOneTapForMapsConsentModeIPHParam}}; |
| 499 | const FeatureEntry::FeatureParam kOneTapForMapsConsentModeIPHForced[] = { |
| 500 | {web::features::kOneTapForMapsConsentModeParamTitle, |
| 501 | web::features::kOneTapForMapsConsentModeIPHForcedParam}}; |
Olivier ROBIN | 82b6700 | 2023-07-31 14:34:46 | [diff] [blame] | 502 | const FeatureEntry::FeatureVariation kOneTapForMapsWithVariations[] = { |
| 503 | {"Consent Default", kOneTapForMapsConsentModeDefault, |
| 504 | std::size(kOneTapForMapsConsentModeDefault), nullptr}, |
| 505 | {"Consent Forced", kOneTapForMapsConsentModeForced, |
| 506 | std::size(kOneTapForMapsConsentModeForced), nullptr}, |
Olivier ROBIN | 333f0b54 | 2023-09-01 14:53:31 | [diff] [blame] | 507 | {"Consent IPH", kOneTapForMapsConsentModeIPH, |
| 508 | std::size(kOneTapForMapsConsentModeIPH), nullptr}, |
| 509 | {"Consent IPH forced", kOneTapForMapsConsentModeIPHForced, |
| 510 | std::size(kOneTapForMapsConsentModeIPHForced), nullptr}, |
Olivier ROBIN | 82b6700 | 2023-07-31 14:34:46 | [diff] [blame] | 511 | {"Consent Disabled", kOneTapForMapsConsentModeDisabled, |
| 512 | std::size(kOneTapForMapsConsentModeDisabled), nullptr}, |
| 513 | }; |
| 514 | |
Benjamin Williams | 1dc8f234 | 2024-01-04 21:25:55 | [diff] [blame] | 515 | const FeatureEntry::FeatureParam kIOSDockingPromoDisplayedAfterFRE[] = { |
| 516 | {kIOSDockingPromoExperimentType, "0"}}; |
| 517 | const FeatureEntry::FeatureParam kIOSDockingPromoDisplayedAtAppLaunch[] = { |
| 518 | {kIOSDockingPromoExperimentType, "1"}}; |
| 519 | const FeatureEntry::FeatureParam kIOSDockingPromoDisplayedDuringFRE[] = { |
| 520 | {kIOSDockingPromoExperimentType, "2"}}; |
| 521 | |
| 522 | const FeatureEntry::FeatureVariation kIOSDockingPromoVariations[] = { |
| 523 | {"Display promo after FRE", kIOSDockingPromoDisplayedAfterFRE, |
| 524 | std::size(kIOSDockingPromoDisplayedAfterFRE), nullptr}, |
| 525 | {"Display promo at app launch", kIOSDockingPromoDisplayedAtAppLaunch, |
| 526 | std::size(kIOSDockingPromoDisplayedAtAppLaunch), nullptr}, |
| 527 | {"Display promo during FRE", kIOSDockingPromoDisplayedDuringFRE, |
| 528 | std::size(kIOSDockingPromoDisplayedDuringFRE), nullptr}}; |
| 529 | |
Olivier ROBIN | cb76f4fe | 2024-06-05 16:11:42 | [diff] [blame] | 530 | const FeatureEntry::FeatureVariation |
| 531 | kImageServiceOptimizationGuideSalientImagesVariations[] = { |
| 532 | {"High Performance Canonicalization", nullptr, 0, "3362133"}, |
| 533 | }; |
| 534 | |
Olivier Robin | f8374f1 | 2024-06-05 19:00:04 | [diff] [blame] | 535 | const FeatureEntry::FeatureParam kTabResumption15DisableSeeMoreButtonImages[] = |
| 536 | {{kTR15SeeMoreButtonParam, "false"}}; |
Olivier Robin | f8374f1 | 2024-06-05 19:00:04 | [diff] [blame] | 537 | |
| 538 | const FeatureEntry::FeatureVariation kTabResumption15Variations[] = { |
Olivier Robin | f8374f1 | 2024-06-05 19:00:04 | [diff] [blame] | 539 | {"No See More Button", kTabResumption15DisableSeeMoreButtonImages, |
| 540 | std::size(kTabResumption15DisableSeeMoreButtonImages), nullptr}, |
Olivier Robin | f8374f1 | 2024-06-05 19:00:04 | [diff] [blame] | 541 | }; |
Olivier ROBIN | b17c14b9 | 2024-10-09 13:49:13 | [diff] [blame] | 542 | |
| 543 | const FeatureEntry::FeatureParam kTabResumptionImagesOnlyThumbnail[] = { |
| 544 | {kTabResumptionImagesTypes, kTabResumptionImagesTypesThumbnails}}; |
| 545 | const FeatureEntry::FeatureParam kTabResumptionImagesOnlySalient[] = { |
| 546 | {kTabResumptionImagesTypes, kTabResumptionImagesTypesSalient}}; |
| 547 | |
| 548 | const FeatureEntry::FeatureVariation kTabResumptionImagesVariations[] = { |
| 549 | {"Only thumbnails", kTabResumptionImagesOnlyThumbnail, |
| 550 | std::size(kTabResumptionImagesOnlyThumbnail), nullptr}, |
| 551 | {"Only salient", kTabResumptionImagesOnlySalient, |
| 552 | std::size(kTabResumptionImagesOnlySalient), nullptr}, |
| 553 | }; |
| 554 | |
Charles Yang | f8e7adf | 2024-06-11 00:17:00 | [diff] [blame] | 555 | // Uses int values from Lens filters ablation mode enum. |
| 556 | const FeatureEntry::FeatureParam kLensFiltersAblationModeDisabled[] = { |
| 557 | {kLensFiltersAblationMode, "0"}}; |
| 558 | const FeatureEntry::FeatureParam kLensFiltersAblationModePostCapture[] = { |
| 559 | {kLensFiltersAblationMode, "1"}}; |
| 560 | const FeatureEntry::FeatureParam kLensFiltersAblationModeLVF[] = { |
| 561 | {kLensFiltersAblationMode, "2"}}; |
| 562 | const FeatureEntry::FeatureParam kLensFiltersAblationModeAlways[] = { |
| 563 | {kLensFiltersAblationMode, "3"}}; |
| 564 | |
| 565 | const FeatureEntry::FeatureVariation kLensFiltersAblationModeVariations[] = { |
| 566 | {"(Disabled)", kLensFiltersAblationModeDisabled, |
| 567 | std::size(kLensFiltersAblationModeDisabled), nullptr}, |
| 568 | {"(Post Capture)", kLensFiltersAblationModePostCapture, |
| 569 | std::size(kLensFiltersAblationModePostCapture), nullptr}, |
| 570 | {"(LVF)", kLensFiltersAblationModeLVF, |
| 571 | std::size(kLensFiltersAblationModeLVF), nullptr}, |
| 572 | {"(Always)", kLensFiltersAblationModeAlways, |
| 573 | std::size(kLensFiltersAblationModeAlways), nullptr}}; |
| 574 | |
| 575 | // Uses int values from Lens translate toggle mode enum. |
| 576 | const FeatureEntry::FeatureParam kLensTranslateToggleModeDisabled[] = { |
| 577 | {kLensTranslateToggleMode, "0"}}; |
| 578 | const FeatureEntry::FeatureParam kLensTranslateToggleModePostCapture[] = { |
| 579 | {kLensTranslateToggleMode, "1"}}; |
| 580 | const FeatureEntry::FeatureParam kLensTranslateToggleModeLVF[] = { |
| 581 | {kLensTranslateToggleMode, "2"}}; |
| 582 | const FeatureEntry::FeatureParam kLensTranslateToggleModeAlways[] = { |
| 583 | {kLensTranslateToggleMode, "3"}}; |
| 584 | |
| 585 | const FeatureEntry::FeatureVariation kLensTranslateToggleModeVariations[] = { |
| 586 | {"(Disabled)", kLensTranslateToggleModeDisabled, |
| 587 | std::size(kLensTranslateToggleModeDisabled), nullptr}, |
| 588 | {"(Post Capture)", kLensTranslateToggleModePostCapture, |
| 589 | std::size(kLensTranslateToggleModePostCapture), nullptr}, |
| 590 | {"(LVF)", kLensTranslateToggleModeLVF, |
| 591 | std::size(kLensTranslateToggleModeLVF), nullptr}, |
| 592 | {"(Always)", kLensTranslateToggleModeAlways, |
| 593 | std::size(kLensTranslateToggleModeAlways), nullptr}}; |
Olivier Robin | f8374f1 | 2024-06-05 19:00:04 | [diff] [blame] | 594 | |
Ewann Pelle | 1f48f92 | 2025-01-13 11:43:34 | [diff] [blame] | 595 | const FeatureEntry::FeatureParam kTabGroupIndicatorAboveButtonsVisble[] = { |
| 596 | {kTabGroupIndicatorVisible, "true"}, |
| 597 | {kTabGroupIndicatorBelowOmnibox, "false"}, |
| 598 | {kTabGroupIndicatorButtonsUpdate, "true"}}; |
| 599 | const FeatureEntry::FeatureParam kTabGroupIndicatorBelowButtonsVisble[] = { |
| 600 | {kTabGroupIndicatorVisible, "true"}, |
| 601 | {kTabGroupIndicatorBelowOmnibox, "true"}, |
| 602 | {kTabGroupIndicatorButtonsUpdate, "true"}}; |
| 603 | const FeatureEntry::FeatureParam kTabGroupIndicatorAboveVisble[] = { |
| 604 | {kTabGroupIndicatorVisible, "true"}, |
| 605 | {kTabGroupIndicatorBelowOmnibox, "false"}, |
| 606 | {kTabGroupIndicatorButtonsUpdate, "false"}}; |
| 607 | const FeatureEntry::FeatureParam kTabGroupIndicatorBelowVisble[] = { |
| 608 | {kTabGroupIndicatorVisible, "true"}, |
| 609 | {kTabGroupIndicatorBelowOmnibox, "true"}, |
| 610 | {kTabGroupIndicatorButtonsUpdate, "false"}}; |
| 611 | const FeatureEntry::FeatureParam kTabGroupIndicatorButtons[] = { |
| 612 | {kTabGroupIndicatorVisible, "false"}, |
| 613 | {kTabGroupIndicatorBelowOmnibox, "false"}, |
| 614 | {kTabGroupIndicatorButtonsUpdate, "true"}}; |
| 615 | |
| 616 | const FeatureEntry::FeatureVariation kTabGroupIndicatorVariations[] = { |
| 617 | {"Indicator above omnibox + buttons update", |
| 618 | kTabGroupIndicatorAboveButtonsVisble, |
| 619 | std::size(kTabGroupIndicatorAboveButtonsVisble), nullptr}, |
| 620 | {"Indicator below omnibox + buttons update", |
| 621 | kTabGroupIndicatorBelowButtonsVisble, |
| 622 | std::size(kTabGroupIndicatorBelowButtonsVisble), nullptr}, |
| 623 | {"Indicator above omnibox", kTabGroupIndicatorAboveVisble, |
| 624 | std::size(kTabGroupIndicatorAboveVisble), nullptr}, |
| 625 | {"Indicator below omnibox", kTabGroupIndicatorBelowVisble, |
| 626 | std::size(kTabGroupIndicatorBelowVisble), nullptr}, |
| 627 | {"buttons update only", kTabGroupIndicatorButtons, |
| 628 | std::size(kTabGroupIndicatorButtons), nullptr}}; |
| 629 | |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 630 | const FeatureEntry::FeatureParam |
| 631 | kMlUrlPiecewiseMappedSearchBlendingAdjustedBy0[] = { |
| 632 | {"MlUrlPiecewiseMappedSearchBlending", "true"}, |
| 633 | {"MlUrlPiecewiseMappedSearchBlending_BreakPoints", |
| 634 | "0,550;0.018,1300;0.14,1398;1,1422"}, |
| 635 | {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1400"}, |
| 636 | {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}}; |
| 637 | const FeatureEntry::FeatureParam |
Khalid Peer | 9c07798f | 2024-07-15 22:39:41 | [diff] [blame] | 638 | kMlUrlPiecewiseMappedSearchBlendingDemotedBy50[] = { |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 639 | {"MlUrlPiecewiseMappedSearchBlending", "true"}, |
| 640 | {"MlUrlPiecewiseMappedSearchBlending_BreakPoints", |
| 641 | "0,550;0.018,1250;0.14,1348;1,1422"}, |
| 642 | {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1350"}, |
| 643 | {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}}; |
| 644 | const FeatureEntry::FeatureParam |
Khalid Peer | 9c07798f | 2024-07-15 22:39:41 | [diff] [blame] | 645 | kMlUrlPiecewiseMappedSearchBlendingPromotedBy50[] = { |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 646 | {"MlUrlPiecewiseMappedSearchBlending", "true"}, |
| 647 | {"MlUrlPiecewiseMappedSearchBlending_BreakPoints", |
Khalid Peer | 9c07798f | 2024-07-15 22:39:41 | [diff] [blame] | 648 | "0,550;0.018,1350;0.14,1448;1,1472"}, |
| 649 | {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1450"}, |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 650 | {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}}; |
| 651 | const FeatureEntry::FeatureParam |
Khalid Peer | 9c07798f | 2024-07-15 22:39:41 | [diff] [blame] | 652 | kMlUrlPiecewiseMappedSearchBlendingPromotedBy100[] = { |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 653 | {"MlUrlPiecewiseMappedSearchBlending", "true"}, |
| 654 | {"MlUrlPiecewiseMappedSearchBlending_BreakPoints", |
Khalid Peer | 9c07798f | 2024-07-15 22:39:41 | [diff] [blame] | 655 | "0,550;0.018,1400;0.14,1498;1,1522"}, |
| 656 | {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1500"}, |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 657 | {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}}; |
Khalid Peer | 4501c1f | 2024-06-27 16:12:04 | [diff] [blame] | 658 | const FeatureEntry::FeatureParam |
| 659 | kMlUrlPiecewiseMappedSearchBlendingMobileMapping[] = { |
| 660 | {"MlUrlPiecewiseMappedSearchBlending", "true"}, |
| 661 | {"MlUrlPiecewiseMappedSearchBlending_BreakPoints", |
Khalid Peer | 5c9bd9e | 2024-07-17 17:16:42 | [diff] [blame] | 662 | "0,590;0.006,790;0.082,1290;0.443,1360;0.464,1400;0.987,1425;1,1530"}, |
Khalid Peer | 4501c1f | 2024-06-27 16:12:04 | [diff] [blame] | 663 | {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1340"}, |
| 664 | {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}}; |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 665 | |
| 666 | const FeatureEntry::FeatureVariation |
| 667 | kMlUrlPiecewiseMappedSearchBlendingVariations[] = { |
| 668 | {"adjusted by 0", kMlUrlPiecewiseMappedSearchBlendingAdjustedBy0, |
| 669 | std::size(kMlUrlPiecewiseMappedSearchBlendingAdjustedBy0), nullptr}, |
Khalid Peer | 9c07798f | 2024-07-15 22:39:41 | [diff] [blame] | 670 | {"demoted by 50", kMlUrlPiecewiseMappedSearchBlendingDemotedBy50, |
| 671 | std::size(kMlUrlPiecewiseMappedSearchBlendingDemotedBy50), nullptr}, |
| 672 | {"promoted by 50", kMlUrlPiecewiseMappedSearchBlendingPromotedBy50, |
| 673 | std::size(kMlUrlPiecewiseMappedSearchBlendingPromotedBy50), nullptr}, |
| 674 | {"promoted by 100", kMlUrlPiecewiseMappedSearchBlendingPromotedBy100, |
| 675 | std::size(kMlUrlPiecewiseMappedSearchBlendingPromotedBy100), nullptr}, |
Khalid Peer | 4501c1f | 2024-06-27 16:12:04 | [diff] [blame] | 676 | {"mobile mapping", kMlUrlPiecewiseMappedSearchBlendingMobileMapping, |
| 677 | std::size(kMlUrlPiecewiseMappedSearchBlendingMobileMapping), nullptr}, |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 678 | }; |
| 679 | |
| 680 | const FeatureEntry::FeatureParam kOmniboxMlUrlScoringEnabledWithFixes[] = { |
| 681 | {"enable_scoring_signals_annotators_for_ml_scoring", "true"}, |
| 682 | {"MlUrlScoringShortcutDocumentSignals", "true"}, |
| 683 | }; |
| 684 | const FeatureEntry::FeatureParam kOmniboxMlUrlScoringUnlimitedNumCandidates[] = |
| 685 | { |
| 686 | {"MlUrlScoringUnlimitedNumCandidates", "true"}, |
| 687 | {"enable_scoring_signals_annotators_for_ml_scoring", "true"}, |
| 688 | {"MlUrlScoringShortcutDocumentSignals", "true"}, |
| 689 | }; |
| 690 | // Sets Bookmark(1), History Quick(4), History URL(8), Shortcuts(64), |
| 691 | // Document(512), and History Fuzzy(65536) providers max matches to 10. |
| 692 | const FeatureEntry::FeatureParam kOmniboxMlUrlScoringMaxMatchesByProvider10[] = |
| 693 | { |
| 694 | {"MlUrlScoringMaxMatchesByProvider", |
| 695 | "1:10,4:10,8:10,64:10,512:10,65536:10"}, |
| 696 | {"enable_scoring_signals_annotators_for_ml_scoring", "true"}, |
| 697 | {"MlUrlScoringShortcutDocumentSignals", "true"}, |
| 698 | }; |
| 699 | |
| 700 | const FeatureEntry::FeatureVariation kOmniboxMlUrlScoringVariations[] = { |
| 701 | {"Enabled with fixes", kOmniboxMlUrlScoringEnabledWithFixes, |
| 702 | std::size(kOmniboxMlUrlScoringEnabledWithFixes), nullptr}, |
| 703 | {"unlimited suggestion candidates", |
| 704 | kOmniboxMlUrlScoringUnlimitedNumCandidates, |
| 705 | std::size(kOmniboxMlUrlScoringUnlimitedNumCandidates), nullptr}, |
| 706 | {"Increase provider max limit to 10", |
| 707 | kOmniboxMlUrlScoringMaxMatchesByProvider10, |
| 708 | std::size(kOmniboxMlUrlScoringMaxMatchesByProvider10), nullptr}, |
| 709 | }; |
| 710 | |
| 711 | const FeatureEntry::FeatureParam kMlUrlSearchBlendingStable[] = { |
| 712 | {"MlUrlSearchBlending_StableSearchBlending", "true"}, |
| 713 | {"MlUrlSearchBlending_MappedSearchBlending", "false"}, |
| 714 | }; |
| 715 | const FeatureEntry::FeatureParam kMlUrlSearchBlendingMappedConservativeUrls[] = |
| 716 | { |
| 717 | {"MlUrlSearchBlending_StableSearchBlending", "false"}, |
| 718 | {"MlUrlSearchBlending_MappedSearchBlending", "true"}, |
| 719 | {"MlUrlSearchBlending_MappedSearchBlendingMin", "0"}, |
| 720 | {"MlUrlSearchBlending_MappedSearchBlendingMax", "2000"}, |
| 721 | {"MlUrlSearchBlending_MappedSearchBlendingGroupingThreshold", "1000"}, |
| 722 | }; |
| 723 | const FeatureEntry::FeatureParam kMlUrlSearchBlendingMappedModerateUrls[] = { |
| 724 | {"MlUrlSearchBlending_StableSearchBlending", "false"}, |
| 725 | {"MlUrlSearchBlending_MappedSearchBlending", "true"}, |
| 726 | }; |
| 727 | const FeatureEntry::FeatureParam kMlUrlSearchBlendingMappedAggressiveUrls[] = { |
| 728 | {"MlUrlSearchBlending_StableSearchBlending", "false"}, |
| 729 | {"MlUrlSearchBlending_MappedSearchBlending", "true"}, |
| 730 | {"MlUrlSearchBlending_MappedSearchBlendingMin", "1000"}, |
| 731 | {"MlUrlSearchBlending_MappedSearchBlendingMax", "4000"}, |
| 732 | {"MlUrlSearchBlending_MappedSearchBlendingGroupingThreshold", "1500"}, |
| 733 | }; |
| 734 | |
| 735 | const FeatureEntry::FeatureVariation kMlUrlSearchBlendingVariations[] = { |
| 736 | {"Stable", kMlUrlSearchBlendingStable, |
| 737 | std::size(kMlUrlSearchBlendingStable), nullptr}, |
| 738 | {"Mapped conservative urls", kMlUrlSearchBlendingMappedConservativeUrls, |
| 739 | std::size(kMlUrlSearchBlendingMappedConservativeUrls), nullptr}, |
| 740 | {"Mapped moderate urls", kMlUrlSearchBlendingMappedModerateUrls, |
| 741 | std::size(kMlUrlSearchBlendingMappedModerateUrls), nullptr}, |
| 742 | {"Mapped aggressive urls", kMlUrlSearchBlendingMappedAggressiveUrls, |
| 743 | std::size(kMlUrlSearchBlendingMappedAggressiveUrls), nullptr}, |
| 744 | }; |
| 745 | |
Khalid Peer | 4501c1f | 2024-06-27 16:12:04 | [diff] [blame] | 746 | const FeatureEntry::FeatureVariation kUrlScoringModelVariations[] = { |
| 747 | {"Small model", nullptr, 0, "3379590"}, |
| 748 | {"Full model", nullptr, 0, "3380197"}, |
| 749 | }; |
| 750 | |
Benjamin Williams | 0594caf | 2024-07-09 17:51:38 | [diff] [blame] | 751 | const FeatureEntry::FeatureParam kSafetyCheckNotificationsVerbose[] = { |
| 752 | {kSafetyCheckNotificationsExperimentType, "0"}}; |
| 753 | const FeatureEntry::FeatureParam kSafetyCheckNotificationsSuccinct[] = { |
| 754 | {kSafetyCheckNotificationsExperimentType, "1"}}; |
| 755 | |
| 756 | const FeatureEntry::FeatureVariation kSafetyCheckNotificationsVariations[] = { |
| 757 | {"Display multiple notifications at once", kSafetyCheckNotificationsVerbose, |
| 758 | std::size(kSafetyCheckNotificationsVerbose), nullptr}, |
| 759 | {"Display one notification at a time", kSafetyCheckNotificationsSuccinct, |
| 760 | std::size(kSafetyCheckNotificationsSuccinct), nullptr}}; |
| 761 | |
Elmehdi Rahmaoui | f5b7646 | 2024-06-24 10:44:46 | [diff] [blame] | 762 | const FeatureEntry::FeatureParam kSaveToPhotosContextMenuImprovement[] = { |
| 763 | {kSaveToPhotosContextMenuImprovementParam, "true"}, |
| 764 | {kSaveToPhotosTitleImprovementParam, "false"}, |
| 765 | {kSaveToPhotosAccountDefaultChoiceImprovementParam, "false"}, |
| 766 | }; |
| 767 | const FeatureEntry::FeatureParam kSaveToPhotosTitleImprovement[] = { |
| 768 | {kSaveToPhotosContextMenuImprovementParam, "false"}, |
| 769 | {kSaveToPhotosTitleImprovementParam, "true"}, |
| 770 | {kSaveToPhotosAccountDefaultChoiceImprovementParam, "false"}, |
| 771 | }; |
| 772 | const FeatureEntry::FeatureParam |
| 773 | kSaveToPhotosAccountDefaultChoiceImprovement[] = { |
| 774 | {kSaveToPhotosContextMenuImprovementParam, "false"}, |
| 775 | {kSaveToPhotosTitleImprovementParam, "false"}, |
| 776 | {kSaveToPhotosAccountDefaultChoiceImprovementParam, "true"}, |
| 777 | }; |
| 778 | |
| 779 | const FeatureEntry::FeatureVariation kSaveToPhotosImprovementsVariations[] = { |
| 780 | {"With Context Menu improvement Only", kSaveToPhotosContextMenuImprovement, |
| 781 | std::size(kSaveToPhotosContextMenuImprovement), nullptr}, |
| 782 | {"With Title improvement Only", kSaveToPhotosTitleImprovement, |
| 783 | std::size(kSaveToPhotosTitleImprovement), nullptr}, |
| 784 | {"With Account Default choice improvement Only", |
| 785 | kSaveToPhotosAccountDefaultChoiceImprovement, |
| 786 | std::size(kSaveToPhotosAccountDefaultChoiceImprovement), nullptr}, |
| 787 | }; |
| 788 | |
Stephen McGruer | 8fe98b6 | 2024-07-16 13:10:13 | [diff] [blame] | 789 | // LINT.IfChange(AutofillUploadCardRequestTimeouts) |
| 790 | const FeatureEntry::FeatureParam |
| 791 | kAutofillUploadCardRequestTimeout_6Point5Seconds[] = { |
| 792 | {"autofill_upload_card_request_timeout_milliseconds", "6500"}}; |
| 793 | const FeatureEntry::FeatureParam kAutofillUploadCardRequestTimeout_7Seconds[] = |
| 794 | {{"autofill_upload_card_request_timeout_milliseconds", "7000"}}; |
| 795 | const FeatureEntry::FeatureParam kAutofillUploadCardRequestTimeout_9Seconds[] = |
| 796 | {{"autofill_upload_card_request_timeout_milliseconds", "9000"}}; |
| 797 | const FeatureEntry::FeatureVariation |
| 798 | kAutofillUploadCardRequestTimeoutOptions[] = { |
| 799 | {"6.5 seconds", kAutofillUploadCardRequestTimeout_6Point5Seconds, |
| 800 | std::size(kAutofillUploadCardRequestTimeout_6Point5Seconds), nullptr}, |
| 801 | {"7 seconds", kAutofillUploadCardRequestTimeout_7Seconds, |
| 802 | std::size(kAutofillUploadCardRequestTimeout_7Seconds), nullptr}, |
| 803 | {"9 seconds", kAutofillUploadCardRequestTimeout_9Seconds, |
| 804 | std::size(kAutofillUploadCardRequestTimeout_9Seconds), nullptr}}; |
Benjamin Williams | e589c38 | 2024-07-30 12:11:03 | [diff] [blame] | 805 | // LINT.ThenChange(/chrome/browser/about_flags.cc:AutofillUploadCardRequestTimeouts) |
Stephen McGruer | 8fe98b6 | 2024-07-16 13:10:13 | [diff] [blame] | 806 | |
Stephen McGruer | 0904cae | 2024-07-17 19:54:46 | [diff] [blame] | 807 | // LINT.IfChange(AutofillVcnEnrollRequestTimeouts) |
| 808 | const FeatureEntry::FeatureParam kAutofillVcnEnrollRequestTimeout_5Seconds[] = { |
| 809 | {"autofill_vcn_enroll_request_timeout_milliseconds", "5000"}}; |
| 810 | const FeatureEntry::FeatureParam |
| 811 | kAutofillVcnEnrollRequestTimeout_7Point5Seconds[] = { |
| 812 | {"autofill_vcn_enroll_request_timeout_milliseconds", "7500"}}; |
| 813 | const FeatureEntry::FeatureParam kAutofillVcnEnrollRequestTimeout_10Seconds[] = |
| 814 | {{"autofill_vcn_enroll_request_timeout_milliseconds", "10000"}}; |
| 815 | const FeatureEntry::FeatureVariation kAutofillVcnEnrollRequestTimeoutOptions[] = |
| 816 | {{"5 seconds", kAutofillVcnEnrollRequestTimeout_5Seconds, |
| 817 | std::size(kAutofillVcnEnrollRequestTimeout_5Seconds), nullptr}, |
| 818 | {"7.5 seconds", kAutofillVcnEnrollRequestTimeout_7Point5Seconds, |
| 819 | std::size(kAutofillVcnEnrollRequestTimeout_7Point5Seconds), nullptr}, |
| 820 | {"10 seconds", kAutofillVcnEnrollRequestTimeout_10Seconds, |
| 821 | std::size(kAutofillVcnEnrollRequestTimeout_10Seconds), nullptr}}; |
Benjamin Williams | e589c38 | 2024-07-30 12:11:03 | [diff] [blame] | 822 | // LINT.ThenChange(/chrome/browser/about_flags.cc:AutofillVcnEnrollRequestTimeouts) |
Stephen McGruer | 0904cae | 2024-07-17 19:54:46 | [diff] [blame] | 823 | |
Nicolas MacBeth | c738c4e | 2024-07-19 21:14:19 | [diff] [blame] | 824 | // Contextual Panel flag variations. |
| 825 | const FeatureEntry::FeatureParam kContextualPanelRichIPHArms[] = { |
| 826 | {"entrypoint-highlight-iph", "true"}, |
| 827 | {"entrypoint-rich-iph", "true"}, |
| 828 | }; |
| 829 | const FeatureEntry::FeatureParam kContextualPanelSmallIPHArm[] = { |
| 830 | {"entrypoint-highlight-iph", "false"}, |
| 831 | {"entrypoint-rich-iph", "false"}, |
| 832 | }; |
| 833 | const FeatureEntry::FeatureParam |
| 834 | kContextualPanelSmallIPHWithBlueHighlightArm[] = { |
| 835 | {"entrypoint-highlight-iph", "true"}, |
| 836 | {"entrypoint-rich-iph", "false"}, |
| 837 | }; |
| 838 | |
| 839 | const FeatureEntry::FeatureVariation kContextualPanelEntrypointArmVariations[] = |
| 840 | { |
| 841 | {"- Rich IPH", kContextualPanelRichIPHArms, |
| 842 | std::size(kContextualPanelRichIPHArms), nullptr}, |
| 843 | {"- Small IPH, no blue highlight", kContextualPanelSmallIPHArm, |
| 844 | std::size(kContextualPanelSmallIPHArm), nullptr}, |
| 845 | {"- Small IPH with blue highlight", |
| 846 | kContextualPanelSmallIPHWithBlueHighlightArm, |
| 847 | std::size(kContextualPanelSmallIPHWithBlueHighlightArm), nullptr}, |
| 848 | }; |
| 849 | |
Jood | 943cbb1 | 2025-02-20 17:02:27 | [diff] [blame] | 850 | const FeatureEntry::FeatureParam kIdentityDiscAccountMenuNoEllipsis[] = { |
| 851 | {kDisableAccountMenuEllipsisParam, "true"}, |
| 852 | }; |
Jood | cbce3fe | 2025-03-12 15:34:57 | [diff] [blame] | 853 | const FeatureEntry::FeatureParam kIdentityDiscAccountMenuWithSettings[] = { |
| 854 | {kShowSettingsInAccountMenuParam, "true"}, |
| 855 | }; |
Jood | 943cbb1 | 2025-02-20 17:02:27 | [diff] [blame] | 856 | const FeatureEntry::FeatureVariation kIdentityDiscAccountMenuVariations[] = { |
| 857 | {" - without account menu ellipsis", kIdentityDiscAccountMenuNoEllipsis, |
| 858 | std::size(kIdentityDiscAccountMenuNoEllipsis), nullptr}, |
Jood | cbce3fe | 2025-03-12 15:34:57 | [diff] [blame] | 859 | {" - with settings button", kIdentityDiscAccountMenuWithSettings, |
| 860 | std::size(kIdentityDiscAccountMenuWithSettings), nullptr}, |
Jood | 943cbb1 | 2025-02-20 17:02:27 | [diff] [blame] | 861 | }; |
| 862 | |
Jood Hajeer | 3867886d | 2024-07-29 16:15:35 | [diff] [blame] | 863 | const FeatureEntry::FeatureParam kIdentityConfirmationSnackbarTestingConfig[] = |
Jood | 562c885f | 2024-09-05 17:06:55 | [diff] [blame] | 864 | {{"IdentityConfirmationMinDisplayInterval1", "0"}, |
| 865 | {"IdentityConfirmationMinDisplayInterval2", "0"}, |
| 866 | {"IdentityConfirmationMinDisplayInterval3", "0"}}; |
Jood Hajeer | 3867886d | 2024-07-29 16:15:35 | [diff] [blame] | 867 | const FeatureEntry::FeatureVariation |
| 868 | kIdentityConfirmationSnackbarTestingVariations[] = { |
| 869 | {" - for testing", kIdentityConfirmationSnackbarTestingConfig, |
| 870 | std::size(kIdentityConfirmationSnackbarTestingConfig), nullptr}}; |
| 871 | |
Chris Lu | 4c688e0 | 2024-09-07 00:48:08 | [diff] [blame] | 872 | const FeatureEntry::FeatureParam kPriceTrackingPromoForceShowArm[] = { |
| 873 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | eecd455 | 2024-10-28 19:04:05 | [diff] [blame] | 874 | segmentation_platform::kPriceTrackingNotificationPromo}, |
Chris Lu | 4c688e0 | 2024-09-07 00:48:08 | [diff] [blame] | 875 | }; |
| 876 | const FeatureEntry::FeatureParam kPriceTrackingPromoForceHideArm[] = { |
| 877 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | eecd455 | 2024-10-28 19:04:05 | [diff] [blame] | 878 | segmentation_platform::kPriceTrackingNotificationPromo}, |
Chris Lu | 4c688e0 | 2024-09-07 00:48:08 | [diff] [blame] | 879 | }; |
| 880 | |
Gloria Fang | 02964a44 | 2025-02-06 19:21:18 | [diff] [blame] | 881 | // ShopCard variants |
| 882 | const FeatureEntry::FeatureParam kPriceDropForTrackedProductsArm[] = { |
| 883 | {"ShopCardVariant", "arm_1"}, |
| 884 | }; |
| 885 | const FeatureEntry::FeatureParam kReviewsArm[] = { |
| 886 | {"ShopCardVariant", "arm_2"}, |
| 887 | }; |
| 888 | const FeatureEntry::FeatureParam kPriceDropOnTabArm[] = { |
| 889 | {"ShopCardVariant", "arm_3"}, |
| 890 | }; |
| 891 | const FeatureEntry::FeatureParam kPriceTrackableProductOnTabArm[] = { |
| 892 | {"ShopCardVariant", "arm_4"}, |
| 893 | }; |
| 894 | |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 895 | // Address Bar Position |
| 896 | const FeatureEntry::FeatureParam kTipsAddressBarPositionForceShowArm[] = { |
| 897 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 898 | segmentation_platform::kAddressBarPositionEphemeralModule}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 899 | }; |
| 900 | const FeatureEntry::FeatureParam kTipsAddressBarPositionForceHideArm[] = { |
| 901 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 902 | segmentation_platform::kAddressBarPositionEphemeralModule}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 903 | }; |
| 904 | |
| 905 | // Autofill Passwords |
| 906 | const FeatureEntry::FeatureParam kTipsAutofillPasswordsForceShowArm[] = { |
| 907 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 908 | segmentation_platform::kAutofillPasswordsEphemeralModule}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 909 | }; |
| 910 | const FeatureEntry::FeatureParam kTipsAutofillPasswordsForceHideArm[] = { |
| 911 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 912 | segmentation_platform::kAutofillPasswordsEphemeralModule}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 913 | }; |
| 914 | |
| 915 | // Enhanced Safe Browsing |
| 916 | const FeatureEntry::FeatureParam kTipsEnhancedSafeBrowsingForceShowArm[] = { |
| 917 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 918 | segmentation_platform::kEnhancedSafeBrowsingEphemeralModule}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 919 | }; |
| 920 | const FeatureEntry::FeatureParam kTipsEnhancedSafeBrowsingForceHideArm[] = { |
| 921 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 922 | segmentation_platform::kEnhancedSafeBrowsingEphemeralModule}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 923 | }; |
| 924 | |
| 925 | // Lens Search |
| 926 | const FeatureEntry::FeatureParam kTipsLensSearchForceShowArm[] = { |
| 927 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 928 | segmentation_platform::kLensEphemeralModuleSearchVariation}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 929 | }; |
| 930 | const FeatureEntry::FeatureParam kTipsLensSearchForceHideArm[] = { |
| 931 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 932 | segmentation_platform::kLensEphemeralModuleSearchVariation}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 933 | }; |
| 934 | |
| 935 | // Lens Shop |
| 936 | const FeatureEntry::FeatureParam kTipsLensShopForceShowArm[] = { |
| 937 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 938 | segmentation_platform::kLensEphemeralModuleShopVariation}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 939 | }; |
| 940 | const FeatureEntry::FeatureParam kTipsLensShopForceHideArm[] = { |
| 941 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 942 | segmentation_platform::kLensEphemeralModuleShopVariation}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 943 | }; |
| 944 | |
| 945 | // Lens Translate |
| 946 | const FeatureEntry::FeatureParam kTipsLensTranslateForceShowArm[] = { |
| 947 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 948 | segmentation_platform::kLensEphemeralModuleTranslateVariation}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 949 | }; |
| 950 | const FeatureEntry::FeatureParam kTipsLensTranslateForceHideArm[] = { |
| 951 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 952 | segmentation_platform::kLensEphemeralModuleTranslateVariation}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 953 | }; |
| 954 | |
| 955 | // Save Passwords |
| 956 | const FeatureEntry::FeatureParam kTipsSavePasswordsForceShowArm[] = { |
| 957 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 958 | segmentation_platform::kSavePasswordsEphemeralModule}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 959 | }; |
| 960 | const FeatureEntry::FeatureParam kTipsSavePasswordsForceHideArm[] = { |
| 961 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | bd411e89 | 2024-10-25 15:59:31 | [diff] [blame] | 962 | segmentation_platform::kSavePasswordsEphemeralModule}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 963 | }; |
| 964 | |
Hira Mahmood | 2ff5b5cb | 2024-10-25 19:24:31 | [diff] [blame] | 965 | const FeatureEntry::FeatureParam kSendTabPromoForceShowArm[] = { |
| 966 | {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam, |
Benjamin Williams | eecd455 | 2024-10-28 19:04:05 | [diff] [blame] | 967 | segmentation_platform::kSendTabNotificationPromo}, |
Hira Mahmood | 2ff5b5cb | 2024-10-25 19:24:31 | [diff] [blame] | 968 | }; |
| 969 | const FeatureEntry::FeatureParam kSendTabPromoForceHideArm[] = { |
| 970 | {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam, |
Benjamin Williams | eecd455 | 2024-10-28 19:04:05 | [diff] [blame] | 971 | segmentation_platform::kSendTabNotificationPromo}, |
Hira Mahmood | 2ff5b5cb | 2024-10-25 19:24:31 | [diff] [blame] | 972 | }; |
| 973 | |
Gloria Fang | 02964a44 | 2025-02-06 19:21:18 | [diff] [blame] | 974 | // ShopCard experiment arms |
| 975 | const FeatureEntry::FeatureVariation kShopCardOverrideOptions[] = { |
| 976 | {"Card 1 Price Drop", kPriceDropForTrackedProductsArm, |
| 977 | std::size(kPriceDropForTrackedProductsArm), nullptr}, |
| 978 | {"Card 2 Reviews", kReviewsArm, std::size(kReviewsArm), nullptr}, |
| 979 | {"Card 3 Price Drop on Tab Resumption", kPriceDropOnTabArm, |
| 980 | std::size(kPriceDropOnTabArm), nullptr}, |
| 981 | {"Card 4 Price Trackable on Tab Resumption", kPriceTrackableProductOnTabArm, |
| 982 | std::size(kPriceTrackableProductOnTabArm), nullptr}, |
| 983 | }; |
| 984 | |
Chris Lu | 4c688e0 | 2024-09-07 00:48:08 | [diff] [blame] | 985 | const FeatureEntry::FeatureVariation kEphemeralCardRankerCardOverrideOptions[] = |
| 986 | { |
| 987 | {"- Force Show Price Tracking Notification", |
| 988 | kPriceTrackingPromoForceShowArm, |
| 989 | std::size(kPriceTrackingPromoForceShowArm), nullptr}, |
| 990 | {"- Force Hide Price Tracking Notification", |
| 991 | kPriceTrackingPromoForceHideArm, |
| 992 | std::size(kPriceTrackingPromoForceHideArm), nullptr}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 993 | |
| 994 | // Address Bar Position |
| 995 | {"- Force Show Address Bar Position Tip", |
| 996 | kTipsAddressBarPositionForceShowArm, |
| 997 | std::size(kTipsAddressBarPositionForceShowArm), nullptr}, |
| 998 | {"- Force Hide Address Bar Position Tip", |
| 999 | kTipsAddressBarPositionForceHideArm, |
| 1000 | std::size(kTipsAddressBarPositionForceHideArm), nullptr}, |
| 1001 | |
| 1002 | // Autofill Passwords |
| 1003 | {"- Force Show Autofill Passwords Tip", |
| 1004 | kTipsAutofillPasswordsForceShowArm, |
| 1005 | std::size(kTipsAutofillPasswordsForceShowArm), nullptr}, |
| 1006 | {"- Force Hide Autofill Passwords Tip", |
| 1007 | kTipsAutofillPasswordsForceHideArm, |
| 1008 | std::size(kTipsAutofillPasswordsForceHideArm), nullptr}, |
| 1009 | |
| 1010 | // Enhanced Safe Browsing |
| 1011 | {"- Force Show Enhanced Safe Browsing Tip", |
| 1012 | kTipsEnhancedSafeBrowsingForceShowArm, |
| 1013 | std::size(kTipsEnhancedSafeBrowsingForceShowArm), nullptr}, |
| 1014 | {"- Force Hide Enhanced Safe Browsing Tip", |
| 1015 | kTipsEnhancedSafeBrowsingForceHideArm, |
| 1016 | std::size(kTipsEnhancedSafeBrowsingForceHideArm), nullptr}, |
| 1017 | |
| 1018 | // Lens Search |
| 1019 | {"- Force Show Lens Search Tip", kTipsLensSearchForceShowArm, |
| 1020 | std::size(kTipsLensSearchForceShowArm), nullptr}, |
| 1021 | {"- Force Hide Lens Search Tip", kTipsLensSearchForceHideArm, |
| 1022 | std::size(kTipsLensSearchForceHideArm), nullptr}, |
| 1023 | |
| 1024 | // Lens Shop |
| 1025 | {"- Force Show Lens Shop Tip", kTipsLensShopForceShowArm, |
| 1026 | std::size(kTipsLensShopForceShowArm), nullptr}, |
| 1027 | {"- Force Hide Lens Shop Tip", kTipsLensShopForceHideArm, |
| 1028 | std::size(kTipsLensShopForceHideArm), nullptr}, |
| 1029 | |
| 1030 | // Lens Translate |
| 1031 | {"- Force Show Lens Translate Tip", kTipsLensTranslateForceShowArm, |
| 1032 | std::size(kTipsLensTranslateForceShowArm), nullptr}, |
| 1033 | {"- Force Hide Lens Translate Tip", kTipsLensTranslateForceHideArm, |
| 1034 | std::size(kTipsLensTranslateForceHideArm), nullptr}, |
| 1035 | |
| 1036 | // Save Passwords |
| 1037 | {"- Force Show Save Passwords Tip", kTipsSavePasswordsForceShowArm, |
| 1038 | std::size(kTipsSavePasswordsForceShowArm), nullptr}, |
| 1039 | {"- Force Hide Save Passwords Tip", kTipsSavePasswordsForceHideArm, |
| 1040 | std::size(kTipsSavePasswordsForceHideArm), nullptr}, |
Hira Mahmood | 2ff5b5cb | 2024-10-25 19:24:31 | [diff] [blame] | 1041 | |
| 1042 | // Send Tab Promo. |
| 1043 | {"- Force Show Send Tab Promo", kSendTabPromoForceShowArm, |
| 1044 | std::size(kSendTabPromoForceShowArm), nullptr}, |
| 1045 | {"- Force Hide Send Tab Promo", kSendTabPromoForceHideArm, |
| 1046 | std::size(kSendTabPromoForceHideArm), nullptr}, |
Chris Lu | 4c688e0 | 2024-09-07 00:48:08 | [diff] [blame] | 1047 | }; |
| 1048 | |
Hira Mahmood | 00c17e5 | 2024-10-09 14:30:48 | [diff] [blame] | 1049 | const FeatureEntry::FeatureParam |
| 1050 | kSendTabIOSPushNotificationsWithMagicStackCard[] = { |
| 1051 | {send_tab_to_self::kSendTabIOSPushNotificationsWithMagicStackCardParam, |
| 1052 | "true"}}; |
Hira Mahmood | 3db58ac | 2024-11-06 18:39:03 | [diff] [blame] | 1053 | const FeatureEntry::FeatureParam kSendTabIOSPushNotificationsWithURLImage[] = { |
| 1054 | {send_tab_to_self::kSendTabIOSPushNotificationsURLImageParam, "true"}}; |
Benjamin Williams | 3dcd1310 | 2025-01-15 18:01:14 | [diff] [blame] | 1055 | const FeatureEntry::FeatureParam |
| 1056 | kSendTabIOSPushNotificationsWithTabReminders[] = { |
| 1057 | {send_tab_to_self::kSendTabIOSPushNotificationsWithTabRemindersParam, |
| 1058 | "true"}}; |
| 1059 | |
Hira Mahmood | 00c17e5 | 2024-10-09 14:30:48 | [diff] [blame] | 1060 | const FeatureEntry::FeatureVariation kSendTabIOSPushNotificationsVariations[] = |
| 1061 | { |
| 1062 | {"With Magic Stack Card", |
| 1063 | kSendTabIOSPushNotificationsWithMagicStackCard, |
| 1064 | std::size(kSendTabIOSPushNotificationsWithMagicStackCard), nullptr}, |
Hira Mahmood | 3db58ac | 2024-11-06 18:39:03 | [diff] [blame] | 1065 | {"With URL Image", kSendTabIOSPushNotificationsWithURLImage, |
| 1066 | std::size(kSendTabIOSPushNotificationsWithURLImage), nullptr}, |
Benjamin Williams | 3dcd1310 | 2025-01-15 18:01:14 | [diff] [blame] | 1067 | {"With Tab Reminders", kSendTabIOSPushNotificationsWithTabReminders, |
| 1068 | std::size(kSendTabIOSPushNotificationsWithTabReminders), nullptr}, |
Hira Mahmood | 00c17e5 | 2024-10-09 14:30:48 | [diff] [blame] | 1069 | }; |
| 1070 | |
Briana McClure | c2b62f9 | 2024-10-29 15:35:06 | [diff] [blame] | 1071 | const FeatureEntry::FeatureParam kSegmentedDefaultBrowserStatic[] = { |
| 1072 | {kSegmentedDefaultBrowserExperimentType, "0"}}; |
| 1073 | const FeatureEntry::FeatureParam kSegmentedDefaultBrowserAnimated[] = { |
| 1074 | {kSegmentedDefaultBrowserExperimentType, "1"}}; |
| 1075 | |
| 1076 | const FeatureEntry::FeatureVariation kSegmentedDefaultBrowserPromoVariations[] = |
| 1077 | {{" - Static Default Browser Promo", kSegmentedDefaultBrowserStatic, |
| 1078 | std::size(kSegmentedDefaultBrowserStatic), nullptr}, |
| 1079 | {" - Animated Default Browser Promo", kSegmentedDefaultBrowserAnimated, |
| 1080 | std::size(kSegmentedDefaultBrowserAnimated), nullptr}}; |
| 1081 | |
Rubin Deliallisi | 1d0b3ba | 2024-11-04 14:33:04 | [diff] [blame] | 1082 | // Soft Lock |
| 1083 | const FeatureEntry::FeatureParam kIOSSoftLockNoDelay[] = { |
| 1084 | {kIOSSoftLockBackgroundThresholdParam, "0m"}, |
| 1085 | }; |
| 1086 | |
| 1087 | const FeatureEntry::FeatureVariation kIOSSoftLockVariations[] = { |
| 1088 | {" - No delay", kIOSSoftLockNoDelay, std::size(kIOSSoftLockNoDelay), |
| 1089 | nullptr}}; |
| 1090 | |
Ameur Hosni | 3dc0ce1c | 2024-11-05 10:34:55 | [diff] [blame] | 1091 | // Ipad ZPS limit. |
| 1092 | const FeatureEntry::FeatureParam kIpadZPSOmniboxWith20Total0Trends[] = { |
| 1093 | {OmniboxFieldTrial::kIpadAdditionalTrendingQueries.name, "0"}, |
| 1094 | {OmniboxFieldTrial::kIpadZPSLimit.name, "20"}, |
| 1095 | }; |
| 1096 | |
| 1097 | const FeatureEntry::FeatureParam kIpadZPSOmniboxWith20Total5Trends[] = { |
| 1098 | {OmniboxFieldTrial::kIpadAdditionalTrendingQueries.name, "5"}, |
| 1099 | {OmniboxFieldTrial::kIpadZPSLimit.name, "20"}, |
| 1100 | }; |
| 1101 | |
| 1102 | constexpr FeatureEntry::FeatureVariation kIpadZpsLimitVariants[] = { |
| 1103 | {"20 total zps, 0 Trends on NTP", kIpadZPSOmniboxWith20Total0Trends, |
| 1104 | std::size(kIpadZPSOmniboxWith20Total0Trends), nullptr}, |
| 1105 | {"20 total zps, 5 Trends on NTP", kIpadZPSOmniboxWith20Total5Trends, |
| 1106 | std::size(kIpadZPSOmniboxWith20Total0Trends), nullptr}, |
| 1107 | }; |
| 1108 | |
Hira Mahmood | 431c8ab | 2024-11-05 17:16:29 | [diff] [blame] | 1109 | const FeatureEntry::FeatureParam |
| 1110 | kIOSStartTimeStartupRemediationsSaveNTPWebStateArm[] = { |
| 1111 | {kIOSStartTimeStartupRemediationsSaveNTPWebState, "true"}, |
| 1112 | }; |
| 1113 | const FeatureEntry::FeatureVariation |
| 1114 | kIOSStartTimeStartupRemediationsVariations[] = { |
| 1115 | {" - Save NTP Web State", |
| 1116 | kIOSStartTimeStartupRemediationsSaveNTPWebStateArm, |
| 1117 | std::size(kIOSStartTimeStartupRemediationsSaveNTPWebStateArm), |
| 1118 | nullptr}}; |
| 1119 | |
vincb | 7867dc04 | 2024-11-06 14:25:05 | [diff] [blame] | 1120 | constexpr flags_ui::FeatureEntry::FeatureParam |
| 1121 | kAutofillThrottleDocFormScanShortPeriodParam[] = {{"period-ms", "250"}}; |
| 1122 | constexpr flags_ui::FeatureEntry::FeatureParam |
| 1123 | kAutofillThrottleDocFormScanMediumPeriodParam[] = {{"period-ms", "500"}}; |
| 1124 | constexpr flags_ui::FeatureEntry::FeatureParam |
| 1125 | kAutofillThrottleDocFormScanLongPeriodParam[] = {{"period-ms", "1000"}}; |
| 1126 | constexpr flags_ui::FeatureEntry::FeatureVariation |
| 1127 | kAutofillThrottleDocFormScanVariations[] = { |
| 1128 | {"Short period", kAutofillThrottleDocFormScanShortPeriodParam, |
| 1129 | std::size(kAutofillThrottleDocFormScanShortPeriodParam), nullptr}, |
| 1130 | {"Medium period", kAutofillThrottleDocFormScanMediumPeriodParam, |
| 1131 | std::size(kAutofillThrottleDocFormScanMediumPeriodParam), nullptr}, |
| 1132 | {"Long period", kAutofillThrottleDocFormScanLongPeriodParam, |
| 1133 | std::size(kAutofillThrottleDocFormScanLongPeriodParam), nullptr}}; |
| 1134 | |
vincb | 2bf7f5c | 2024-11-06 17:18:09 | [diff] [blame] | 1135 | constexpr flags_ui::FeatureEntry::FeatureParam |
| 1136 | kAutofillThrottleFilteredDocFormScanShortPeriodParam[] = { |
| 1137 | {"period-ms", "100"}}; |
| 1138 | constexpr flags_ui::FeatureEntry::FeatureParam |
| 1139 | kAutofillThrottleFilteredDocFormScanMediumPeriodParam[] = { |
| 1140 | {"period-ms", "250"}}; |
| 1141 | constexpr flags_ui::FeatureEntry::FeatureParam |
| 1142 | kAutofillThrottleFilteredDocFormScanLongPeriodParam[] = { |
| 1143 | {"period-ms", "500"}}; |
| 1144 | constexpr flags_ui::FeatureEntry::FeatureVariation |
| 1145 | kAutofillThrottleFilteredDocFormScanVariations[] = { |
| 1146 | {"Short period", kAutofillThrottleFilteredDocFormScanShortPeriodParam, |
| 1147 | std::size(kAutofillThrottleFilteredDocFormScanShortPeriodParam), |
| 1148 | nullptr}, |
| 1149 | {"Medium period", kAutofillThrottleFilteredDocFormScanMediumPeriodParam, |
| 1150 | std::size(kAutofillThrottleFilteredDocFormScanMediumPeriodParam), |
| 1151 | nullptr}, |
| 1152 | {"Long period", kAutofillThrottleFilteredDocFormScanLongPeriodParam, |
| 1153 | std::size(kAutofillThrottleFilteredDocFormScanLongPeriodParam), |
| 1154 | nullptr}}; |
| 1155 | |
ginnnnnnny | 963c7fc | 2024-11-06 22:44:50 | [diff] [blame] | 1156 | const FeatureEntry::FeatureParam kNewFeedPositioningArm2[] = { |
| 1157 | {kNewFeedPositioningCombinedMVTForHighEngaged, "true"}, |
| 1158 | {kNewFeedPositioningCombinedMVTForMidEngaged, "false"}, |
| 1159 | {kNewFeedPositioningCombinedMVTForLowEngaged, "false"}, |
ginnnnnnny | 963c7fc | 2024-11-06 22:44:50 | [diff] [blame] | 1160 | }; |
| 1161 | |
| 1162 | const FeatureEntry::FeatureParam kNewFeedPositioningArm3[] = { |
| 1163 | {kNewFeedPositioningCombinedMVTForHighEngaged, "true"}, |
| 1164 | {kNewFeedPositioningCombinedMVTForMidEngaged, "true"}, |
| 1165 | {kNewFeedPositioningCombinedMVTForLowEngaged, "false"}, |
ginnnnnnny | 963c7fc | 2024-11-06 22:44:50 | [diff] [blame] | 1166 | }; |
| 1167 | |
| 1168 | const FeatureEntry::FeatureVariation kNewFeedPositioningVariations[] = { |
ginnnnnnny | d8c7b65 | 2024-12-19 19:11:47 | [diff] [blame] | 1169 | {"- update for high feed engagement", kNewFeedPositioningArm2, |
ginnnnnnny | 963c7fc | 2024-11-06 22:44:50 | [diff] [blame] | 1170 | std::size(kNewFeedPositioningArm2), nullptr}, |
ginnnnnnny | d8c7b65 | 2024-12-19 19:11:47 | [diff] [blame] | 1171 | {"- update for high and mid feed engagement", kNewFeedPositioningArm3, |
ginnnnnnny | 963c7fc | 2024-11-06 22:44:50 | [diff] [blame] | 1172 | std::size(kNewFeedPositioningArm3), nullptr}, |
ginnnnnnny | 963c7fc | 2024-11-06 22:44:50 | [diff] [blame] | 1173 | }; |
| 1174 | |
Hira Mahmood | f8533dc | 2024-11-12 16:24:25 | [diff] [blame] | 1175 | const FeatureEntry::FeatureParam |
| 1176 | kIOSStartTimeBackgroundRemediationsAvoidNTPCleanupArm[] = { |
| 1177 | {kIOSStartTimeBackgroundRemediationsAvoidNTPCleanup, "true"}, |
| 1178 | {kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefresh, "false"}}; |
| 1179 | const FeatureEntry::FeatureParam |
| 1180 | kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefreshArm[] = { |
| 1181 | {kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefresh, "true"}, |
| 1182 | {kIOSStartTimeBackgroundRemediationsAvoidNTPCleanup, "false"}}; |
| 1183 | const FeatureEntry::FeatureVariation |
| 1184 | kIOSStartTimeBrowserBackgroundRemediationsVariations[] = { |
| 1185 | {" - Avoid NTP Cleanup", |
| 1186 | kIOSStartTimeBackgroundRemediationsAvoidNTPCleanupArm, |
| 1187 | std::size(kIOSStartTimeBackgroundRemediationsAvoidNTPCleanupArm), |
| 1188 | nullptr}, |
| 1189 | {" - Update Feed Refresh", |
| 1190 | kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefreshArm, |
| 1191 | std::size( |
| 1192 | kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefreshArm), |
| 1193 | nullptr}}; |
| 1194 | |
Hira Mahmood | 66444987 | 2024-11-18 23:55:22 | [diff] [blame] | 1195 | const FeatureEntry::FeatureParam kSetUpListInFirstRunArm1[] = { |
| 1196 | {set_up_list::kSetUpListInFirstRunParam, "1"}}; |
| 1197 | const FeatureEntry::FeatureParam kSetUpListInFirstRunArm2[] = { |
| 1198 | {set_up_list::kSetUpListInFirstRunParam, "2"}}; |
| 1199 | const FeatureEntry::FeatureParam kSetUpListInFirstRunArm3[] = { |
| 1200 | {set_up_list::kSetUpListInFirstRunParam, "3"}}; |
| 1201 | |
| 1202 | const FeatureEntry::FeatureVariation kSetUpListInFirstRunVariations[] = { |
| 1203 | {" - Variation 1", kSetUpListInFirstRunArm1, |
| 1204 | std::size(kSetUpListInFirstRunArm1), nullptr}, |
| 1205 | {" - Variation 2", kSetUpListInFirstRunArm2, |
| 1206 | std::size(kSetUpListInFirstRunArm2), nullptr}, |
| 1207 | {" - Variation 3", kSetUpListInFirstRunArm3, |
| 1208 | std::size(kSetUpListInFirstRunArm3), nullptr}}; |
| 1209 | |
Hira Mahmood | 7577c9b67 | 2024-12-12 20:29:12 | [diff] [blame] | 1210 | const FeatureEntry::FeatureParam kSetUpListDuration3Days[] = { |
Hira Mahmood | ea14d20 | 2024-12-17 20:30:53 | [diff] [blame] | 1211 | {set_up_list::kSetUpListDurationParam, "2"}}; |
Hira Mahmood | 7577c9b67 | 2024-12-12 20:29:12 | [diff] [blame] | 1212 | const FeatureEntry::FeatureParam kSetUpListDuration5Days[] = { |
Hira Mahmood | ea14d20 | 2024-12-17 20:30:53 | [diff] [blame] | 1213 | {set_up_list::kSetUpListDurationParam, "4"}}; |
Hira Mahmood | 7577c9b67 | 2024-12-12 20:29:12 | [diff] [blame] | 1214 | const FeatureEntry::FeatureParam kSetUpListDuration7Days[] = { |
Hira Mahmood | ea14d20 | 2024-12-17 20:30:53 | [diff] [blame] | 1215 | {set_up_list::kSetUpListDurationParam, "6"}}; |
Hira Mahmood | 7577c9b67 | 2024-12-12 20:29:12 | [diff] [blame] | 1216 | |
| 1217 | const FeatureEntry::FeatureVariation kSetUpListDurationVariations[] = { |
| 1218 | {" - 3 Days", kSetUpListDuration3Days, std::size(kSetUpListDuration3Days), |
| 1219 | nullptr}, |
| 1220 | {" - 5 Days", kSetUpListDuration5Days, std::size(kSetUpListDuration5Days), |
| 1221 | nullptr}, |
| 1222 | {" - 7 Days", kSetUpListDuration7Days, std::size(kSetUpListDuration7Days), |
| 1223 | nullptr}}; |
| 1224 | |
Hira Mahmood | f6906a8 | 2025-01-02 17:55:09 | [diff] [blame] | 1225 | const FeatureEntry::FeatureParam kUpdatedFirstRunSequenceArm1[] = { |
| 1226 | {first_run::kUpdatedFirstRunSequenceParam, "1"}}; |
| 1227 | const FeatureEntry::FeatureParam kUpdatedFirstRunSequenceArm2[] = { |
| 1228 | {first_run::kUpdatedFirstRunSequenceParam, "2"}}; |
| 1229 | const FeatureEntry::FeatureParam kUpdatedFirstRunSequenceArm3[] = { |
| 1230 | {first_run::kUpdatedFirstRunSequenceParam, "3"}}; |
| 1231 | |
| 1232 | const FeatureEntry::FeatureVariation kUpdatedFirstRunSequenceVariations[] = { |
| 1233 | {" - Default browser promo first", kUpdatedFirstRunSequenceArm1, |
| 1234 | std::size(kUpdatedFirstRunSequenceArm1), nullptr}, |
| 1235 | {" - Remove sign in & sync conditionally", kUpdatedFirstRunSequenceArm2, |
| 1236 | std::size(kUpdatedFirstRunSequenceArm2), nullptr}, |
| 1237 | {" - DB promo first and remove sign in & sync", |
| 1238 | kUpdatedFirstRunSequenceArm3, std::size(kUpdatedFirstRunSequenceArm3), |
| 1239 | nullptr}}; |
Elmehdi Rahmaoui | 2fc1978 | 2025-01-28 15:36:48 | [diff] [blame] | 1240 | |
Elmehdi Rahmaoui | 543d35f | 2025-01-16 10:09:42 | [diff] [blame] | 1241 | const FeatureEntry::FeatureParam |
| 1242 | kYoutubeIncognitoErrorHandlingWithoutIncognitoInterstitial[] = { |
| 1243 | {kYoutubeIncognitoErrorHandlingWithoutIncognitoInterstitialParam, |
| 1244 | "true"}, |
| 1245 | }; |
Elmehdi Rahmaoui | 2fc1978 | 2025-01-28 15:36:48 | [diff] [blame] | 1246 | |
| 1247 | const FeatureEntry::FeatureParam kYoutubeIncognitoTargetAllowListed[] = { |
| 1248 | {kYoutubeIncognitoTargetApps, kYoutubeIncognitoTargetAppsAllowlisted}, |
| 1249 | }; |
| 1250 | const FeatureEntry::FeatureParam kYoutubeIncognitoTargetFirstParty[] = { |
| 1251 | {kYoutubeIncognitoTargetApps, kYoutubeIncognitoTargetAppsFirstParty}, |
| 1252 | }; |
| 1253 | const FeatureEntry::FeatureParam kYoutubeIncognitoTargetAll[] = { |
| 1254 | {kYoutubeIncognitoTargetApps, kYoutubeIncognitoTargetAppsAll}, |
| 1255 | }; |
| 1256 | |
Elmehdi Rahmaoui | 543d35f | 2025-01-16 10:09:42 | [diff] [blame] | 1257 | const FeatureEntry::FeatureVariation kYoutubeIncognitoVariations[] = { |
| 1258 | {"Error handling without Incognito Interstitial", |
| 1259 | kYoutubeIncognitoErrorHandlingWithoutIncognitoInterstitial, |
| 1260 | std::size(kYoutubeIncognitoErrorHandlingWithoutIncognitoInterstitial), |
| 1261 | nullptr}, |
Elmehdi Rahmaoui | 2fc1978 | 2025-01-28 15:36:48 | [diff] [blame] | 1262 | {"Enable for listed apps", kYoutubeIncognitoTargetAllowListed, |
| 1263 | std::size(kYoutubeIncognitoTargetAllowListed), nullptr}, |
| 1264 | {"Enable for first party apps", kYoutubeIncognitoTargetFirstParty, |
| 1265 | std::size(kYoutubeIncognitoTargetFirstParty), nullptr}, |
| 1266 | {"Enable for all apps", kYoutubeIncognitoTargetAll, |
| 1267 | std::size(kYoutubeIncognitoTargetAll), nullptr}, |
Elmehdi Rahmaoui | 543d35f | 2025-01-16 10:09:42 | [diff] [blame] | 1268 | }; |
| 1269 | |
“Prasanaa” | 96e1599 | 2025-01-30 15:44:35 | [diff] [blame] | 1270 | const FeatureEntry::FeatureParam kSlowFullscreenTransitionSpeed[] = { |
| 1271 | {kFullscreenTransitionSpeedParam, "0"}}; |
| 1272 | const FeatureEntry::FeatureParam kDefaultFullscreenTransitionSpeed[] = { |
| 1273 | {kFullscreenTransitionSpeedParam, "1"}}; |
| 1274 | const FeatureEntry::FeatureParam kFastFullscreenTransitionSpeed[] = { |
| 1275 | {kFullscreenTransitionSpeedParam, "2"}}; |
| 1276 | const FeatureEntry::FeatureParam kMediumFullscreenTransitionOffset[] = { |
| 1277 | {kMediumFullscreenTransitionOffsetParam, "true"}}; |
| 1278 | |
| 1279 | const FeatureEntry::FeatureVariation kFullscreenTransitionVariations[] = { |
| 1280 | {"Slow speed", kSlowFullscreenTransitionSpeed, |
| 1281 | std::size(kSlowFullscreenTransitionSpeed), nullptr}, |
| 1282 | {"Default speed", kDefaultFullscreenTransitionSpeed, |
| 1283 | std::size(kDefaultFullscreenTransitionSpeed), nullptr}, |
| 1284 | {"Fast speed", kFastFullscreenTransitionSpeed, |
| 1285 | std::size(kFastFullscreenTransitionSpeed), nullptr}, |
| 1286 | {"Medium offset", kMediumFullscreenTransitionOffset, |
| 1287 | std::size(kMediumFullscreenTransitionOffset), nullptr}}; |
| 1288 | |
ginnnnnnny | ccce095 | 2025-02-03 22:44:36 | [diff] [blame] | 1289 | const FeatureEntry::FeatureParam |
ginnnnnnny | 0e89217 | 2025-02-04 21:45:17 | [diff] [blame] | 1290 | kDeprecateFeedHeaderVariationRemoveFeedLabel[] = { |
| 1291 | {kDeprecateFeedHeaderParameterRemoveLabel, "true"}}; |
| 1292 | const FeatureEntry::FeatureParam |
ginnnnnnny | a0c62d8 | 2025-03-07 04:22:11 | [diff] [blame] | 1293 | kDeprecateFeedHeaderVariationAbovePlusMoreSpacing[] = { |
ginnnnnnny | 0e89217 | 2025-02-04 21:45:17 | [diff] [blame] | 1294 | {kDeprecateFeedHeaderParameterRemoveLabel, "true"}, |
ginnnnnnny | f398da82 | 2025-03-12 10:15:55 | [diff] [blame] | 1295 | {kDeprecateFeedHeaderParameterTopPadding, "28.5"}, |
| 1296 | {kDeprecateFeedHeaderParameterSearchFieldTopMargin, "30"}, |
| 1297 | {kDeprecateFeedHeaderParameterHeaderBottomPadding, "3"}, |
| 1298 | {kDeprecateFeedHeaderParameterSpaceBetweenModules, "16"}}; |
ginnnnnnny | 0e89217 | 2025-02-04 21:45:17 | [diff] [blame] | 1299 | const FeatureEntry::FeatureParam |
| 1300 | kDeprecateFeedHeaderVariationAbovePlusEnlargeElements[] = { |
| 1301 | {kDeprecateFeedHeaderParameterRemoveLabel, "true"}, |
ginnnnnnny | f398da82 | 2025-03-12 10:15:55 | [diff] [blame] | 1302 | {kDeprecateFeedHeaderParameterTopPadding, "21.5"}, |
| 1303 | {kDeprecateFeedHeaderParameterSearchFieldTopMargin, "32"}, |
ginnnnnnny | ccce095 | 2025-02-03 22:44:36 | [diff] [blame] | 1304 | {kDeprecateFeedHeaderParameterEnlargeLogoAndFakebox, "true"}}; |
| 1305 | |
| 1306 | const FeatureEntry::FeatureVariation kDeprecateFeedHeaderVariations[] = { |
ginnnnnnny | 0e89217 | 2025-02-04 21:45:17 | [diff] [blame] | 1307 | {" (remove feed label)", kDeprecateFeedHeaderVariationRemoveFeedLabel, |
| 1308 | std::size(kDeprecateFeedHeaderVariationRemoveFeedLabel), nullptr}, |
ginnnnnnny | f398da82 | 2025-03-12 10:15:55 | [diff] [blame] | 1309 | {" (also add more spacing)", |
ginnnnnnny | a0c62d8 | 2025-03-07 04:22:11 | [diff] [blame] | 1310 | kDeprecateFeedHeaderVariationAbovePlusMoreSpacing, |
| 1311 | std::size(kDeprecateFeedHeaderVariationAbovePlusMoreSpacing), nullptr}, |
ginnnnnnny | 0e89217 | 2025-02-04 21:45:17 | [diff] [blame] | 1312 | {" (and enlarge doodle too)", |
| 1313 | kDeprecateFeedHeaderVariationAbovePlusEnlargeElements, |
| 1314 | std::size(kDeprecateFeedHeaderVariationAbovePlusEnlargeElements), |
ginnnnnnny | ccce095 | 2025-02-03 22:44:36 | [diff] [blame] | 1315 | nullptr}}; |
| 1316 | |
Briana McClure | 21685c4 | 2025-02-06 15:18:22 | [diff] [blame] | 1317 | const FeatureEntry::FeatureParam kAnimatedDBPInFREWithActionButtons[] = { |
| 1318 | {first_run::kAnimatedDefaultBrowserPromoInFREExperimentType, "0"}}; |
| 1319 | const FeatureEntry::FeatureParam kAnimatedDBPInFREWithShowMeHow[] = { |
| 1320 | {first_run::kAnimatedDefaultBrowserPromoInFREExperimentType, "1"}}; |
| 1321 | const FeatureEntry::FeatureParam kAnimatedDBPInFREWithInstructions[] = { |
| 1322 | {first_run::kAnimatedDefaultBrowserPromoInFREExperimentType, "2"}}; |
| 1323 | |
| 1324 | const FeatureEntry::FeatureVariation |
| 1325 | kAnimatedDefaultBrowserPromoInFREVariations[] = { |
| 1326 | {" - with Action Buttons", kAnimatedDBPInFREWithActionButtons, |
| 1327 | std::size(kAnimatedDBPInFREWithActionButtons), nullptr}, |
| 1328 | {" - with Show Me How", kAnimatedDBPInFREWithShowMeHow, |
| 1329 | std::size(kAnimatedDBPInFREWithShowMeHow), nullptr}, |
| 1330 | {" - with Instructions", kAnimatedDBPInFREWithInstructions, |
| 1331 | std::size(kAnimatedDBPInFREWithInstructions), nullptr}}; |
| 1332 | |
Hira Mahmood | dcc63d7f | 2025-02-19 17:28:57 | [diff] [blame] | 1333 | const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm1[] = { |
| 1334 | {first_run::kBestFeaturesScreenInFirstRunParam, "1"}}; |
| 1335 | const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm2[] = { |
| 1336 | {first_run::kBestFeaturesScreenInFirstRunParam, "2"}}; |
| 1337 | const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm3[] = { |
| 1338 | {first_run::kBestFeaturesScreenInFirstRunParam, "3"}}; |
| 1339 | const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm4[] = { |
| 1340 | {first_run::kBestFeaturesScreenInFirstRunParam, "4"}}; |
| 1341 | const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm5[] = { |
| 1342 | {first_run::kBestFeaturesScreenInFirstRunParam, "5"}}; |
| 1343 | const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm6[] = { |
| 1344 | {first_run::kBestFeaturesScreenInFirstRunParam, "6"}}; |
| 1345 | |
| 1346 | const FeatureEntry::FeatureVariation kBestFeaturesScreenInFirstRunVariations[] = |
| 1347 | {{" - Variant A: General screen, after DB promo", |
| 1348 | kUpdatedFirstRunSequenceArm1, |
| 1349 | std::size(kBestFeaturesScreenInFirstRunArm1), nullptr}, |
| 1350 | {" - Variant B: General screen, before DB promo", |
| 1351 | kBestFeaturesScreenInFirstRunArm2, |
| 1352 | std::size(kBestFeaturesScreenInFirstRunArm2), nullptr}, |
| 1353 | {" - Variant C: General screen with passwords item", |
| 1354 | kBestFeaturesScreenInFirstRunArm3, |
| 1355 | std::size(kBestFeaturesScreenInFirstRunArm3), nullptr}, |
| 1356 | {" - Variant D: Shopping users screen, variant C as fallback", |
| 1357 | kBestFeaturesScreenInFirstRunArm4, |
| 1358 | std::size(kBestFeaturesScreenInFirstRunArm4), nullptr}, |
| 1359 | {" - Variant E: Show screen to signed-in users only", |
| 1360 | kBestFeaturesScreenInFirstRunArm5, |
| 1361 | std::size(kBestFeaturesScreenInFirstRunArm5), nullptr}, |
| 1362 | {" - Variant F: Show address bar promo", kBestFeaturesScreenInFirstRunArm6, |
| 1363 | std::size(kBestFeaturesScreenInFirstRunArm6), nullptr}}; |
| 1364 | |
Olivier ROBIN | 4d7cdb8 | 2025-03-11 09:33:47 | [diff] [blame] | 1365 | const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionCrossValidate[] = { |
| 1366 | {kIOSOneTapMiniMapRestrictionCrossValidateParamName, "true"}}; |
| 1367 | const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionThreshold999[] = { |
| 1368 | {kIOSOneTapMiniMapRestrictionThreshholdParamName, "0.999"}}; |
| 1369 | const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionMinLength20[] = { |
| 1370 | {kIOSOneTapMiniMapRestrictionMinCharsParamName, "20"}}; |
| 1371 | const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionMaxSections6[] = { |
| 1372 | {kIOSOneTapMiniMapRestrictionMaxSectionsParamName, "6"}}; |
| 1373 | const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionLongWords4[] = { |
| 1374 | {kIOSOneTapMiniMapRestrictionLongestWordMinCharsParamName, "4"}}; |
| 1375 | const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionMinAlphaNum60[] = { |
| 1376 | {kIOSOneTapMiniMapRestrictionMinAlphanumProportionParamName, "0.6"}}; |
| 1377 | |
| 1378 | const FeatureEntry::FeatureVariation kIOSOneTapMiniMapRestrictionsVariations[] = |
| 1379 | {{"Revalidate with NSDataDetector", |
| 1380 | kIOSOneTapMiniMapRestrictionCrossValidate, |
| 1381 | std::size(kIOSOneTapMiniMapRestrictionCrossValidate), nullptr}, |
| 1382 | {"Confidence Level (0.999)", kIOSOneTapMiniMapRestrictionThreshold999, |
| 1383 | std::size(kIOSOneTapMiniMapRestrictionThreshold999), nullptr}, |
| 1384 | {"Minimum address length (20 chars)", |
| 1385 | kIOSOneTapMiniMapRestrictionMinLength20, |
| 1386 | std::size(kIOSOneTapMiniMapRestrictionMinLength20), nullptr}, |
| 1387 | {"Maximum sections (6)", kIOSOneTapMiniMapRestrictionMaxSections6, |
| 1388 | std::size(kIOSOneTapMiniMapRestrictionMaxSections6), nullptr}, |
| 1389 | {"Longest word length (4)", kIOSOneTapMiniMapRestrictionLongWords4, |
| 1390 | std::size(kIOSOneTapMiniMapRestrictionLongWords4), nullptr}, |
| 1391 | {"Proportion of alnum chars (60%)", |
| 1392 | kIOSOneTapMiniMapRestrictionMinAlphaNum60, |
| 1393 | std::size(kIOSOneTapMiniMapRestrictionMinAlphaNum60), nullptr}}; |
| 1394 | |
Hira Mahmood | 4535b07 | 2025-03-14 16:45:59 | [diff] [blame] | 1395 | const FeatureEntry::FeatureParam kFeedSwipeInProductHelpStaticInFirstRun[] = { |
| 1396 | {kFeedSwipeInProductHelpArmParam, "1"}}; |
| 1397 | const FeatureEntry::FeatureParam kFeedSwipeInProductHelpStaticInSecondRun[] = { |
| 1398 | {kFeedSwipeInProductHelpArmParam, "2"}}; |
| 1399 | const FeatureEntry::FeatureParam kFeedSwipeInProductHelpAnimated[] = { |
| 1400 | {kFeedSwipeInProductHelpArmParam, "3"}}; |
| 1401 | |
| 1402 | const FeatureEntry::FeatureVariation kFeedSwipeInProductHelpVariations[] = { |
| 1403 | {" - Static IPH after the FRE", kFeedSwipeInProductHelpStaticInFirstRun, |
| 1404 | std::size(kFeedSwipeInProductHelpStaticInFirstRun), nullptr}, |
| 1405 | {"- Static IPH after the second run", |
| 1406 | kFeedSwipeInProductHelpStaticInSecondRun, |
| 1407 | std::size(kFeedSwipeInProductHelpStaticInSecondRun), nullptr}, |
| 1408 | {"- Animated IPH", kFeedSwipeInProductHelpAnimated, |
| 1409 | std::size(kFeedSwipeInProductHelpAnimated), nullptr}}; |
| 1410 | |
Cooper Knaak | 1e02656 | 2017-07-26 05:22:28 | [diff] [blame] | 1411 | // To add a new entry, add to the end of kFeatureEntries. There are four |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 1412 | // distinct types of entries: |
Cooper Knaak | 1e02656 | 2017-07-26 05:22:28 | [diff] [blame] | 1413 | // . ENABLE_DISABLE_VALUE: entry is either enabled, disabled, or uses the |
| 1414 | // default value for this feature. Use the ENABLE_DISABLE_VALUE_TYPE |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 1415 | // macro for this type supplying the command line to the macro. |
| 1416 | // . MULTI_VALUE: a list of choices, the first of which should correspond to a |
| 1417 | // deactivated state for this lab (i.e. no command line option). To specify |
| 1418 | // this type of entry use the macro MULTI_VALUE_TYPE supplying it the |
| 1419 | // array of choices. |
Cooper Knaak | 1e02656 | 2017-07-26 05:22:28 | [diff] [blame] | 1420 | // . FEATURE_VALUE: entry is associated with a base::Feature instance. Entry is |
| 1421 | // either enabled, disabled, or uses the default value of the associated |
| 1422 | // base::Feature instance. To specify this type of entry use the macro |
| 1423 | // FEATURE_VALUE_TYPE supplying it the base::Feature instance. |
| 1424 | // . FEATURE_WITH_PARAM_VALUES: a list of choices associated with a |
| 1425 | // base::Feature instance. Choices corresponding to the default state, a |
| 1426 | // universally enabled state, and a universally disabled state are |
| 1427 | // automatically included. To specify this type of entry use the macro |
| 1428 | // FEATURE_WITH_PARAMS_VALUE_TYPE supplying it the base::Feature instance and |
| 1429 | // the array of choices. |
| 1430 | // |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 1431 | // See the documentation of FeatureEntry for details on the fields. |
| 1432 | // |
| 1433 | // When adding a new choice, add it to the end of the list. |
| 1434 | const flags_ui::FeatureEntry kFeatureEntries[] = { |
Cooper Knaak | 1e02656 | 2017-07-26 05:22:28 | [diff] [blame] | 1435 | {"in-product-help-demo-mode-choice", |
| 1436 | flag_descriptions::kInProductHelpDemoModeName, |
| 1437 | flag_descriptions::kInProductHelpDemoModeDescription, flags_ui::kOsIos, |
| 1438 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
Tommy Nyquist | c1d6dea1 | 2017-07-26 20:37:23 | [diff] [blame] | 1439 | feature_engagement::kIPHDemoMode, |
| 1440 | feature_engagement::kIPHDemoModeChoiceVariations, |
Marc Treib | 2752e8b | 2017-08-04 14:12:09 | [diff] [blame] | 1441 | "IPH_DemoMode")}, |
Moe Ahmadi | c3fd7cd | 2018-05-11 21:40:22 | [diff] [blame] | 1442 | {"enable-autofill-credit-card-upload", |
| 1443 | flag_descriptions::kAutofillCreditCardUploadName, |
| 1444 | flag_descriptions::kAutofillCreditCardUploadDescription, flags_ui::kOsIos, |
Anne Lim | 579b573 | 2018-08-30 18:24:24 | [diff] [blame] | 1445 | FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)}, |
Moe Ahmadi | d6d5d17 | 2018-06-20 17:20:23 | [diff] [blame] | 1446 | {"use-sync-sandbox", flag_descriptions::kSyncSandboxName, |
| 1447 | flag_descriptions::kSyncSandboxDescription, flags_ui::kOsIos, |
| 1448 | SINGLE_VALUE_TYPE_AND_VALUE( |
Victor Hugo Vianna Silva | 3cd7ae9 | 2022-02-09 20:49:51 | [diff] [blame] | 1449 | syncer::kSyncServiceURL, |
Moe Ahmadi | d6d5d17 | 2018-06-20 17:20:23 | [diff] [blame] | 1450 | "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")}, |
| 1451 | {"wallet-service-use-sandbox", |
| 1452 | flag_descriptions::kWalletServiceUseSandboxName, |
| 1453 | flag_descriptions::kWalletServiceUseSandboxDescription, flags_ui::kOsIos, |
| 1454 | ENABLE_DISABLE_VALUE_TYPE_AND_VALUE( |
| 1455 | autofill::switches::kWalletServiceUseSandbox, |
| 1456 | "1", |
| 1457 | autofill::switches::kWalletServiceUseSandbox, |
| 1458 | "0")}, |
Mohamad Ahmadi | c4df81f | 2017-12-20 04:41:59 | [diff] [blame] | 1459 | {"show-autofill-type-predictions", |
| 1460 | flag_descriptions::kShowAutofillTypePredictionsName, |
| 1461 | flag_descriptions::kShowAutofillTypePredictionsDescription, |
| 1462 | flags_ui::kOsIos, |
Florian Leimgruber | f53ca39 | 2023-02-21 15:56:50 | [diff] [blame] | 1463 | FEATURE_VALUE_TYPE( |
| 1464 | autofill::features::test::kAutofillShowTypePredictions)}, |
Benjamin Williams | df18e7e | 2022-10-03 18:46:05 | [diff] [blame] | 1465 | {"fullscreen-promos-manager-skip-internal-limits", |
| 1466 | flag_descriptions::kFullscreenPromosManagerSkipInternalLimitsName, |
| 1467 | flag_descriptions::kFullscreenPromosManagerSkipInternalLimitsDescription, |
| 1468 | flags_ui::kOsIos, |
| 1469 | FEATURE_VALUE_TYPE(kFullscreenPromosManagerSkipInternalLimits)}, |
Kurt Horimoto | dc33af3 | 2018-05-01 01:39:14 | [diff] [blame] | 1470 | {"fullscreen-viewport-adjustment-experiment", |
Chris Lu | 481a932 | 2019-09-25 22:16:53 | [diff] [blame] | 1471 | flag_descriptions::kFullscreenSmoothScrollingName, |
| 1472 | flag_descriptions::kFullscreenSmoothScrollingDescription, flags_ui::kOsIos, |
Aliona DANGLA | 4e3b473 | 2023-03-22 09:35:19 | [diff] [blame] | 1473 | FEATURE_VALUE_TYPE(web::features::kSmoothScrollingDefault)}, |
Robbie Gibson | 1f37a5e | 2020-08-06 17:03:06 | [diff] [blame] | 1474 | {"webpage-default-zoom-from-dynamic-type", |
| 1475 | flag_descriptions::kWebPageDefaultZoomFromDynamicTypeName, |
| 1476 | flag_descriptions::kWebPageDefaultZoomFromDynamicTypeDescription, |
| 1477 | flags_ui::kOsIos, |
| 1478 | FEATURE_VALUE_TYPE(web::kWebPageDefaultZoomFromDynamicType)}, |
Robbie Gibson | 88f2396 | 2020-09-28 14:35:56 | [diff] [blame] | 1479 | {"webpage-alternative-text-zoom", |
| 1480 | flag_descriptions::kWebPageAlternativeTextZoomName, |
| 1481 | flag_descriptions::kWebPageAlternativeTextZoomDescription, |
| 1482 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(web::kWebPageAlternativeTextZoom)}, |
Robbie Gibson | 1095b72c | 2022-06-06 17:03:34 | [diff] [blame] | 1483 | {"webpage-text-zoom-ipad", flag_descriptions::kWebPageTextZoomIPadName, |
| 1484 | flag_descriptions::kWebPageTextZoomIPadDescription, flags_ui::kOsIos, |
| 1485 | FEATURE_VALUE_TYPE(web::kWebPageTextZoomIPad)}, |
Ameur Hosni | 3dc0ce1c | 2024-11-05 10:34:55 | [diff] [blame] | 1486 | {"omnibox-ipad-zps-limit", |
| 1487 | flag_descriptions::kIpadZpsSuggestionMatchesLimitName, |
| 1488 | flag_descriptions::kIpadZpsSuggestionMatchesLimitDescription, |
| 1489 | flags_ui::kOsIos, |
| 1490 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kIpadZeroSuggestMatches, |
| 1491 | kIpadZpsLimitVariants, |
| 1492 | "OmniboxBundledExperimentV1")}, |
Stepan Khapugin | cc4e984 | 2019-01-23 13:38:13 | [diff] [blame] | 1493 | {"omnibox-ui-max-autocomplete-matches", |
| 1494 | flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName, |
| 1495 | flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, |
| 1496 | flags_ui::kOsIos, |
| 1497 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 1498 | omnibox::kUIExperimentMaxAutocompleteMatches, |
| 1499 | kOmniboxUIMaxAutocompleteMatchesVariations, |
| 1500 | "OmniboxUIMaxAutocompleteVariations")}, |
Moe Ahmadi | 01028f2 | 2022-08-06 17:57:35 | [diff] [blame] | 1501 | {"omnibox-local-history-zero-suggest-beyond-ntp", |
| 1502 | flag_descriptions::kOmniboxLocalHistoryZeroSuggestBeyondNTPName, |
| 1503 | flag_descriptions::kOmniboxLocalHistoryZeroSuggestBeyondNTPDescription, |
| 1504 | flags_ui::kOsIos, |
| 1505 | FEATURE_VALUE_TYPE(omnibox::kLocalHistoryZeroSuggestBeyondNTP)}, |
Stepan Khapugin | bac467e | 2022-05-06 21:11:54 | [diff] [blame] | 1506 | {"omnibox-max-zps-matches", flag_descriptions::kOmniboxMaxZPSMatchesName, |
| 1507 | flag_descriptions::kOmniboxMaxZPSMatchesDescription, flags_ui::kOsIos, |
| 1508 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMaxZeroSuggestMatches, |
| 1509 | kOmniboxMaxZPSMatchesVariations, |
| 1510 | "OmniboxMaxZPSVariations")}, |
Jérôme Lebel | c374fdd | 2019-09-27 10:36:48 | [diff] [blame] | 1511 | {"force-startup-signin-promo", |
| 1512 | flag_descriptions::kForceStartupSigninPromoName, |
| 1513 | flag_descriptions::kForceStartupSigninPromoDescription, flags_ui::kOsIos, |
Alice Wang | 345e0944 | 2021-07-05 09:03:29 | [diff] [blame] | 1514 | FEATURE_VALUE_TYPE(switches::kForceStartupSigninPromo)}, |
Tommy Martino | 6b4eb7e | 2020-06-25 18:25:41 | [diff] [blame] | 1515 | {"shared-highlighting-ios", flag_descriptions::kSharedHighlightingIOSName, |
| 1516 | flag_descriptions::kSharedHighlightingIOSDescription, flags_ui::kOsIos, |
| 1517 | FEATURE_VALUE_TYPE(kSharedHighlightingIOS)}, |
Sylvain Defresne | 9c10708 | 2020-10-27 16:39:13 | [diff] [blame] | 1518 | #if BUILDFLAG(IOS_SCREEN_TIME_ENABLED) |
edchin | 81467b8 | 2020-09-03 19:31:45 | [diff] [blame] | 1519 | {"screen-time-integration-ios", |
| 1520 | flag_descriptions::kScreenTimeIntegrationName, |
| 1521 | flag_descriptions::kScreenTimeIntegrationDescription, flags_ui::kOsIos, |
| 1522 | FEATURE_VALUE_TYPE(kScreenTimeIntegration)}, |
Sylvain Defresne | 9c10708 | 2020-10-27 16:39:13 | [diff] [blame] | 1523 | #endif |
Nazerke | 3e993f7 | 2020-09-21 13:00:06 | [diff] [blame] | 1524 | {"modern-tab-strip", flag_descriptions::kModernTabStripName, |
| 1525 | flag_descriptions::kModernTabStripDescription, flags_ui::kOsIos, |
Gauthier Ambard | b30ec785f | 2025-01-20 15:23:34 | [diff] [blame] | 1526 | FEATURE_VALUE_TYPE(kModernTabStrip)}, |
Xu Li | 9854c99 | 2024-12-19 20:53:08 | [diff] [blame] | 1527 | {"ios-enable-delete-all-saved-credentials", |
| 1528 | flag_descriptions::kIOSEnableDeleteAllSavedCredentialsName, |
| 1529 | flag_descriptions::kIOSEnableDeleteAllSavedCredentialsDescription, |
| 1530 | flags_ui::kOsIos, |
| 1531 | FEATURE_VALUE_TYPE( |
| 1532 | password_manager::features::kIOSEnableDeleteAllSavedCredentials)}, |
Cheick Cisse | 76ade3d | 2020-12-16 00:15:11 | [diff] [blame] | 1533 | {"ios-shared-highlighting-color-change", |
| 1534 | flag_descriptions::kIOSSharedHighlightingColorChangeName, |
| 1535 | flag_descriptions::kIOSSharedHighlightingColorChangeDescription, |
Cheick Cisse | d0b5bfe | 2021-02-11 14:23:07 | [diff] [blame] | 1536 | flags_ui::kOsIos, |
| 1537 | FEATURE_VALUE_TYPE(web::features::kIOSSharedHighlightingColorChange)}, |
Scott Yoder | c0cd99d | 2024-01-10 19:54:51 | [diff] [blame] | 1538 | {"ios-tips-notifications", flag_descriptions::kIOSTipsNotificationsName, |
| 1539 | flag_descriptions::kIOSTipsNotificationsDescription, flags_ui::kOsIos, |
Scott Yoder | af2bdf3 | 2024-01-30 20:26:15 | [diff] [blame] | 1540 | FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSTipsNotifications, |
| 1541 | kIOSTipsNotificationsVariations, |
| 1542 | "IOSTipsNotifications")}, |
Scott Yoder | f8a82148 | 2024-10-28 19:32:55 | [diff] [blame] | 1543 | {"ios-reactivation-notifications", |
| 1544 | flag_descriptions::kIOSReactivationNotificationsName, |
| 1545 | flag_descriptions::kIOSReactivationNotificationsDescription, |
Scott Yoder | ef1a054 | 2024-11-04 17:23:07 | [diff] [blame] | 1546 | flags_ui::kOsIos, |
| 1547 | FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSReactivationNotifications, |
| 1548 | kIOSReactivationNotificationsVariations, |
| 1549 | "IOSReactivationNotifications")}, |
gogerald | 0ff29e5 | 2021-02-03 18:56:19 | [diff] [blame] | 1550 | {"start-surface", flag_descriptions::kStartSurfaceName, |
| 1551 | flag_descriptions::kStartSurfaceDescription, flags_ui::kOsIos, |
gogerald | 0e39e3aa | 2021-02-10 18:41:23 | [diff] [blame] | 1552 | FEATURE_WITH_PARAMS_VALUE_TYPE(kStartSurface, |
| 1553 | kStartSurfaceVariations, |
| 1554 | "StartSurface")}, |
Nohemi Fernandez | c00842a | 2021-07-26 11:47:34 | [diff] [blame] | 1555 | {"wait-threshold-seconds-for-capabilities-api", |
| 1556 | flag_descriptions::kWaitThresholdMillisecondsForCapabilitiesApiName, |
| 1557 | flag_descriptions::kWaitThresholdMillisecondsForCapabilitiesApiDescription, |
| 1558 | flags_ui::kOsIos, |
| 1559 | MULTI_VALUE_TYPE(kWaitThresholdMillisecondsForCapabilitiesApiChoices)}, |
Tina Wang | 686fa00 | 2024-05-18 10:10:06 | [diff] [blame] | 1560 | {"content-notification-experiment", |
| 1561 | flag_descriptions::kContentNotificationExperimentName, |
| 1562 | flag_descriptions::kContentNotificationExperimentDescription, |
| 1563 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kContentNotificationExperiment)}, |
Tina Wang | 1cc9f47 | 2024-05-30 20:51:25 | [diff] [blame] | 1564 | {"content-notification-provisional-ignore-conditions", |
| 1565 | flag_descriptions::kContentNotificationProvisionalIgnoreConditionsName, |
| 1566 | flag_descriptions:: |
| 1567 | kContentNotificationProvisionalIgnoreConditionsDescription, |
| 1568 | flags_ui::kOsIos, |
| 1569 | FEATURE_VALUE_TYPE(kContentNotificationProvisionalIgnoreConditions)}, |
Guillem Perez | 49e1df4 | 2023-08-23 22:15:24 | [diff] [blame] | 1570 | {"content-push-notifications", |
| 1571 | flag_descriptions::kContentPushNotificationsName, |
| 1572 | flag_descriptions::kContentPushNotificationsDescription, flags_ui::kOsIos, |
Guillem Perez | 40086ef | 2023-11-20 20:03:52 | [diff] [blame] | 1573 | FEATURE_WITH_PARAMS_VALUE_TYPE(kContentPushNotifications, |
| 1574 | kContentPushNotificationsVariations, |
| 1575 | "ContentPushNotifications")}, |
Radu Nitescu | ee09a1a | 2024-12-10 17:11:39 | [diff] [blame] | 1576 | {"enable-lens-context-menu-unified-experience", |
| 1577 | flag_descriptions::kEnableLensContextMenuUnifiedExperienceName, |
| 1578 | flag_descriptions::kEnableLensContextMenuUnifiedExperienceDescription, |
| 1579 | flags_ui::kOsIos, |
| 1580 | FEATURE_VALUE_TYPE(kEnableLensContextMenuUnifiedExperience)}, |
Jason Hu | 67cfb0f | 2022-11-14 20:21:44 | [diff] [blame] | 1581 | {"enable-lens-in-omnibox-copied-image", |
| 1582 | flag_descriptions::kEnableLensInOmniboxCopiedImageName, |
| 1583 | flag_descriptions::kEnableLensInOmniboxCopiedImageDescription, |
| 1584 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kEnableLensInOmniboxCopiedImage)}, |
Radu Nitescu | ab5bf73 | 2024-09-18 14:07:40 | [diff] [blame] | 1585 | {"enable-lens-overlay", flag_descriptions::kEnableLensOverlayName, |
| 1586 | flag_descriptions::kEnableLensOverlayDescription, flags_ui::kOsIos, |
| 1587 | FEATURE_VALUE_TYPE(kEnableLensOverlay)}, |
Radu Nitescu | f95b7d4 | 2024-12-04 10:18:01 | [diff] [blame] | 1588 | {"enable-lens-view-finder-unified-experience", |
| 1589 | flag_descriptions::kEnableLensViewFinderUnifiedExperienceName, |
| 1590 | flag_descriptions::kEnableLensViewFinderUnifiedExperienceDescription, |
| 1591 | flags_ui::kOsIos, |
| 1592 | FEATURE_VALUE_TYPE(kEnableLensViewFinderUnifiedExperience)}, |
Sergio Collazos | 9fcc6ed | 2021-10-06 00:58:03 | [diff] [blame] | 1593 | {"enable-disco-feed-endpoint", |
| 1594 | flag_descriptions::kEnableDiscoverFeedDiscoFeedEndpointName, |
| 1595 | flag_descriptions::kEnableDiscoverFeedDiscoFeedEndpointDescription, |
| 1596 | flags_ui::kOsIos, |
Aliona DANGLA | 8fae66f0 | 2021-10-06 15:47:11 | [diff] [blame] | 1597 | FEATURE_VALUE_TYPE(kEnableDiscoverFeedDiscoFeedEndpoint)}, |
Tommy Martino | 7393d76 | 2021-10-12 17:59:28 | [diff] [blame] | 1598 | {"shared-highlighting-amp", |
| 1599 | flag_descriptions::kIOSSharedHighlightingAmpName, |
| 1600 | flag_descriptions::kIOSSharedHighlightingAmpDescription, flags_ui::kOsIos, |
| 1601 | FEATURE_VALUE_TYPE(shared_highlighting::kSharedHighlightingAmp)}, |
Matt Jones | 2e47b969 | 2024-02-23 21:56:43 | [diff] [blame] | 1602 | {"track-by-default-mobile", |
| 1603 | commerce::flag_descriptions::kTrackByDefaultOnMobileName, |
| 1604 | commerce::flag_descriptions::kTrackByDefaultOnMobileDescription, |
| 1605 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(commerce::kTrackByDefaultOnMobile)}, |
adamta | 250f4ad | 2023-08-02 15:26:06 | [diff] [blame] | 1606 | {"web-feed-ios", flag_descriptions::kEnableWebChannelsName, |
| 1607 | flag_descriptions::kEnableWebChannelsDescription, flags_ui::kOsIos, |
| 1608 | FEATURE_VALUE_TYPE(kEnableWebChannels)}, |
adamta | 3933159 | 2021-11-01 20:18:54 | [diff] [blame] | 1609 | {"ntp-view-hierarchy-repair", |
| 1610 | flag_descriptions::kNTPViewHierarchyRepairName, |
| 1611 | flag_descriptions::kNTPViewHierarchyRepairDescription, flags_ui::kOsIos, |
adamta | 8da8dce | 2022-11-17 18:03:20 | [diff] [blame] | 1612 | FEATURE_VALUE_TYPE(kEnableNTPViewHierarchyRepair)}, |
Cheick Cisse | 39b6a18 | 2024-05-29 15:13:44 | [diff] [blame] | 1613 | {"price-insights", commerce::flag_descriptions::kPriceInsightsName, |
| 1614 | commerce::flag_descriptions::kPriceInsightsDescription, flags_ui::kOsIos, |
| 1615 | FEATURE_VALUE_TYPE(commerce::kPriceInsights)}, |
Cheick Cisse | 7c03928d | 2024-03-11 23:27:38 | [diff] [blame] | 1616 | {"price-insights-ios", commerce::flag_descriptions::kPriceInsightsIosName, |
| 1617 | commerce::flag_descriptions::kPriceInsightsIosDescription, |
Cheick Cisse | 85457f2 | 2024-05-23 22:37:59 | [diff] [blame] | 1618 | flags_ui::kOsIos, |
| 1619 | FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kPriceInsightsIos, |
| 1620 | kPriceInsightsVariations, |
| 1621 | "PriceInsightsIos")}, |
| 1622 | {"price-insights-high-price-ios", |
| 1623 | commerce::flag_descriptions::kPriceInsightsHighPriceIosName, |
| 1624 | commerce::flag_descriptions::kPriceInsightsHighPriceIosDescription, |
| 1625 | flags_ui::kOsIos, |
| 1626 | FEATURE_VALUE_TYPE(commerce::kPriceInsightsHighPriceIos)}, |
Vishwas Uppoor | 89303a9 | 2022-08-03 00:56:26 | [diff] [blame] | 1627 | {"autofill-enable-card-product-name", |
| 1628 | flag_descriptions::kAutofillEnableCardProductNameName, |
| 1629 | flag_descriptions::kAutofillEnableCardProductNameDescription, |
| 1630 | flags_ui::kOsIos, |
| 1631 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardProductName)}, |
Raj T | b95d81354 | 2022-11-16 21:27:52 | [diff] [blame] | 1632 | {"enable-download-service-foreground-session", |
| 1633 | flag_descriptions::kDownloadServiceForegroundSessionName, |
| 1634 | flag_descriptions::kDownloadServiceForegroundSessionDescription, |
| 1635 | flags_ui::kOsIos, |
| 1636 | FEATURE_VALUE_TYPE(download::kDownloadServiceForegroundSessionIOSFeature)}, |
Olivier Robin | ffe767c | 2022-04-21 13:13:23 | [diff] [blame] | 1637 | {"enable-tflite-language-detection", |
| 1638 | flag_descriptions::kTFLiteLanguageDetectionName, |
| 1639 | flag_descriptions::kTFLiteLanguageDetectionDescription, flags_ui::kOsIos, |
| 1640 | FEATURE_VALUE_TYPE(translate::kTFLiteLanguageDetectionEnabled)}, |
Raj T | a921ffc | 2022-08-25 19:00:20 | [diff] [blame] | 1641 | {"optimization-guide-debug-logs", |
| 1642 | flag_descriptions::kOptimizationGuideDebugLogsName, |
| 1643 | flag_descriptions::kOptimizationGuideDebugLogsDescription, |
| 1644 | flags_ui::kOsIos, |
| 1645 | SINGLE_VALUE_TYPE(optimization_guide::switches::kDebugLoggingEnabled)}, |
Daniel White | d02b696 | 2023-02-14 14:19:55 | [diff] [blame] | 1646 | {"optimization-guide-push-notifications", |
| 1647 | flag_descriptions::kOptimizationGuidePushNotificationClientName, |
| 1648 | flag_descriptions::kOptimizationGuidePushNotificationClientDescription, |
| 1649 | flags_ui::kOsIos, |
| 1650 | FEATURE_VALUE_TYPE(optimization_guide::features::kPushNotifications)}, |
David Jean | ad303a9 | 2023-07-31 16:58:11 | [diff] [blame] | 1651 | {"intents-on-measurements", flag_descriptions::kMeasurementsName, |
| 1652 | flag_descriptions::kMeasurementsDescription, flags_ui::kOsIos, |
| 1653 | FEATURE_VALUE_TYPE(web::features::kEnableMeasurements)}, |
David Jean | dcc3e20 | 2024-05-22 08:36:33 | [diff] [blame] | 1654 | {"improve-parcel-detection", |
| 1655 | flag_descriptions::kEnableNewParcelTrackingNumberDetectionName, |
| 1656 | flag_descriptions::kEnableNewParcelTrackingNumberDetectionDescription, |
| 1657 | flags_ui::kOsIos, |
| 1658 | FEATURE_VALUE_TYPE( |
| 1659 | web::features::kEnableNewParcelTrackingNumberDetection)}, |
David Jean | f361ae9d | 2024-04-09 08:19:47 | [diff] [blame] | 1660 | {"enable-expkit-text-classifier-date", |
| 1661 | flag_descriptions::kEnableExpKitTextClassifierDateName, |
| 1662 | flag_descriptions::kEnableExpKitTextClassifierDateDescription, |
| 1663 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kEnableExpKitTextClassifierDate)}, |
| 1664 | {"enable-expkit-text-classifier-address", |
| 1665 | flag_descriptions::kEnableExpKitTextClassifierAddressName, |
| 1666 | flag_descriptions::kEnableExpKitTextClassifierAddressDescription, |
Raj T | 18a2c8c | 2023-03-15 17:20:15 | [diff] [blame] | 1667 | flags_ui::kOsIos, |
David Jean | f361ae9d | 2024-04-09 08:19:47 | [diff] [blame] | 1668 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 1669 | kEnableExpKitTextClassifierAddress, |
| 1670 | kEnableExpKitTextClassifierAddressVariations, |
| 1671 | "ExpKitTextClassifierAddress")}, |
| 1672 | {"enable-expkit-text-classifier-phonenumber", |
| 1673 | flag_descriptions::kEnableExpKitTextClassifierPhoneNumberName, |
| 1674 | flag_descriptions::kEnableExpKitTextClassifierPhoneNumberDescription, |
| 1675 | flags_ui::kOsIos, |
| 1676 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 1677 | kEnableExpKitTextClassifierPhoneNumber, |
| 1678 | kEnableExpKitTextClassifierPhoneNumberVariations, |
| 1679 | "ExpKitTextClassifierPhoneNumber")}, |
| 1680 | {"enable-expkit-text-classifier-email", |
| 1681 | flag_descriptions::kEnableExpKitTextClassifierEmailName, |
| 1682 | flag_descriptions::kEnableExpKitTextClassifierEmailDescription, |
| 1683 | flags_ui::kOsIos, |
| 1684 | FEATURE_WITH_PARAMS_VALUE_TYPE(kEnableExpKitTextClassifierEmail, |
| 1685 | kEnableExpKitTextClassifierEmailVariations, |
| 1686 | "ExpKitTextClassifierEmail")}, |
Elmehdi Rahmaoui | 458f4a2 | 2023-02-14 15:13:33 | [diff] [blame] | 1687 | {"one-tap-experience-maps", flag_descriptions::kOneTapForMapsName, |
| 1688 | flag_descriptions::kOneTapForMapsDescription, flags_ui::kOsIos, |
Olivier ROBIN | 82b6700 | 2023-07-31 14:34:46 | [diff] [blame] | 1689 | FEATURE_WITH_PARAMS_VALUE_TYPE(web::features::kOneTapForMaps, |
| 1690 | kOneTapForMapsWithVariations, |
| 1691 | "OneTapForMaps")}, |
Mustafa Emre Acer | b8bb01f | 2022-07-20 19:43:25 | [diff] [blame] | 1692 | {"omnibox-https-upgrades", flag_descriptions::kOmniboxHttpsUpgradesName, |
| 1693 | flag_descriptions::kOmniboxHttpsUpgradesDescription, flags_ui::kOsIos, |
| 1694 | FEATURE_VALUE_TYPE(omnibox::kDefaultTypedNavigationsToHttps)}, |
Alexander Tekle | b464381 | 2023-01-06 23:12:30 | [diff] [blame] | 1695 | {"autofill-enable-ranking-formula-address-profiles", |
| 1696 | flag_descriptions::kAutofillEnableRankingFormulaAddressProfilesName, |
| 1697 | flag_descriptions::kAutofillEnableRankingFormulaAddressProfilesDescription, |
| 1698 | flags_ui::kOsIos, |
| 1699 | FEATURE_VALUE_TYPE( |
| 1700 | autofill::features::kAutofillEnableRankingFormulaAddressProfiles)}, |
Alexander Tekle | 35dfbbd | 2023-01-31 08:32:39 | [diff] [blame] | 1701 | {"autofill-enable-ranking-formula-credit-cards", |
| 1702 | flag_descriptions::kAutofillEnableRankingFormulaCreditCardsName, |
| 1703 | flag_descriptions::kAutofillEnableRankingFormulaCreditCardsDescription, |
| 1704 | flags_ui::kOsIos, |
| 1705 | FEATURE_VALUE_TYPE( |
| 1706 | autofill::features::kAutofillEnableRankingFormulaCreditCards)}, |
Sergio Collazos | 5855871 | 2022-05-18 17:24:02 | [diff] [blame] | 1707 | {"enable-feed-ablation", flag_descriptions::kEnableFeedAblationName, |
| 1708 | flag_descriptions::kEnableFeedAblationDescription, flags_ui::kOsIos, |
| 1709 | FEATURE_VALUE_TYPE(kEnableFeedAblation)}, |
Chris Lu | c36e396 | 2023-04-11 21:50:52 | [diff] [blame] | 1710 | {"content-suggestions-magic-stack", flag_descriptions::kMagicStackName, |
| 1711 | flag_descriptions::kMagicStackDescription, flags_ui::kOsIos, |
Chris Lu | ce928eb | 2023-05-12 21:36:26 | [diff] [blame] | 1712 | FEATURE_WITH_PARAMS_VALUE_TYPE(kMagicStack, |
| 1713 | kMagicStackVariations, |
| 1714 | flag_descriptions::kMagicStackName)}, |
Alexis Hetu | e0b0dc1 | 2025-02-06 18:14:47 | [diff] [blame] | 1715 | {"ios-keyboard-accessory-upgrade-for-ipad", |
| 1716 | flag_descriptions::kIOSKeyboardAccessoryUpgradeForIPadName, |
| 1717 | flag_descriptions::kIOSKeyboardAccessoryUpgradeForIPadDescription, |
| 1718 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kIOSKeyboardAccessoryUpgradeForIPad)}, |
Noémie St-Onge | 9da904ef | 2024-10-01 14:16:05 | [diff] [blame] | 1719 | {"ios-keyboard-accessory-upgrade-short-manual-fill-menu", |
| 1720 | flag_descriptions::kIOSKeyboardAccessoryUpgradeShortManualFillMenuName, |
| 1721 | flag_descriptions:: |
| 1722 | kIOSKeyboardAccessoryUpgradeShortManualFillMenuDescription, |
| 1723 | flags_ui::kOsIos, |
| 1724 | FEATURE_VALUE_TYPE(kIOSKeyboardAccessoryUpgradeShortManualFillMenu)}, |
Chris Lu | b0bad57 | 2023-08-07 18:13:29 | [diff] [blame] | 1725 | {"ios-magic-stack-segmentation-ranking", |
| 1726 | flag_descriptions::kSegmentationPlatformIosModuleRankerName, |
| 1727 | flag_descriptions::kSegmentationPlatformIosModuleRankerDescription, |
| 1728 | flags_ui::kOsIos, |
Chris Lu | 6fd4eaf | 2023-08-08 18:29:30 | [diff] [blame] | 1729 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 1730 | segmentation_platform::features::kSegmentationPlatformIosModuleRanker, |
| 1731 | kSegmentationPlatformIosModuleRankerVariations, |
| 1732 | flag_descriptions::kSegmentationPlatformIosModuleRankerName)}, |
Chris Lu | 63aa394 | 2024-05-10 22:15:32 | [diff] [blame] | 1733 | {"ios-magic-stack-segmentation-ranking-caching", |
| 1734 | flag_descriptions::kSegmentationPlatformIosModuleRankerCachingName, |
| 1735 | flag_descriptions::kSegmentationPlatformIosModuleRankerCachingDescription, |
| 1736 | flags_ui::kOsIos, |
| 1737 | FEATURE_VALUE_TYPE(kSegmentationPlatformIosModuleRankerCaching)}, |
Chris Lu | 9e4f17b | 2024-05-09 00:54:11 | [diff] [blame] | 1738 | {"ios-magic-stack-segmentation-ranking-split-by-surface", |
| 1739 | flag_descriptions::kSegmentationPlatformIosModuleRankerSplitBySurfaceName, |
| 1740 | flag_descriptions:: |
| 1741 | kSegmentationPlatformIosModuleRankerSplitBySurfaceDescription, |
| 1742 | flags_ui::kOsIos, |
| 1743 | FEATURE_VALUE_TYPE( |
| 1744 | segmentation_platform::features:: |
| 1745 | kSegmentationPlatformIosModuleRankerSplitBySurface)}, |
Alexis Hetu | 5e72660 | 2023-12-15 15:18:28 | [diff] [blame] | 1746 | {"ios-password-bottom-sheet-autofocus", |
| 1747 | flag_descriptions::kIOSPasswordBottomSheetAutofocusName, |
| 1748 | flag_descriptions::kIOSPasswordBottomSheetAutofocusDescription, |
| 1749 | flags_ui::kOsIos, |
| 1750 | FEATURE_VALUE_TYPE( |
| 1751 | password_manager::features::kIOSPasswordBottomSheetAutofocus)}, |
Charlotte Cloutier | 18f0a536 | 2024-07-16 13:23:04 | [diff] [blame] | 1752 | {"ios-proactive-password-generation-bottom-sheet", |
| 1753 | flag_descriptions::kIOSProactivePasswordGenerationBottomSheetName, |
| 1754 | flag_descriptions::kIOSProactivePasswordGenerationBottomSheetDescription, |
| 1755 | flags_ui::kOsIos, |
| 1756 | FEATURE_VALUE_TYPE(password_manager::features:: |
| 1757 | kIOSProactivePasswordGenerationBottomSheet)}, |
Moe Ahmadi | 098519d8 | 2022-07-27 18:34:24 | [diff] [blame] | 1758 | {"omnibox-zero-suggest-prefetching", |
| 1759 | flag_descriptions::kOmniboxZeroSuggestPrefetchingName, |
| 1760 | flag_descriptions::kOmniboxZeroSuggestPrefetchingDescription, |
| 1761 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetching)}, |
Khalid Peer | 79df565 | 2022-10-26 21:59:45 | [diff] [blame] | 1762 | {"omnibox-zero-suggest-prefetching-on-srp", |
| 1763 | flag_descriptions::kOmniboxZeroSuggestPrefetchingOnSRPName, |
| 1764 | flag_descriptions::kOmniboxZeroSuggestPrefetchingOnSRPDescription, |
| 1765 | flags_ui::kOsIos, |
| 1766 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetchingOnSRP)}, |
| 1767 | {"omnibox-zero-suggest-prefetching-on-web", |
| 1768 | flag_descriptions::kOmniboxZeroSuggestPrefetchingOnWebName, |
| 1769 | flag_descriptions::kOmniboxZeroSuggestPrefetchingOnWebDescription, |
| 1770 | flags_ui::kOsIos, |
| 1771 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetchingOnWeb)}, |
Khalid Peer | 11b4b2c | 2022-10-12 20:53:47 | [diff] [blame] | 1772 | {"omnibox-zero-suggest-in-memory-caching", |
| 1773 | flag_descriptions::kOmniboxZeroSuggestInMemoryCachingName, |
| 1774 | flag_descriptions::kOmniboxZeroSuggestInMemoryCachingDescription, |
| 1775 | flags_ui::kOsIos, |
| 1776 | FEATURE_VALUE_TYPE(omnibox::kZeroSuggestInMemoryCaching)}, |
Ce Chen | bdfaed2 | 2022-10-20 16:08:35 | [diff] [blame] | 1777 | {"omnibox-on-device-tail-suggestions", |
| 1778 | flag_descriptions::kOmniboxOnDeviceTailSuggestionsName, |
| 1779 | flag_descriptions::kOmniboxOnDeviceTailSuggestionsDescription, |
| 1780 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(omnibox::kOnDeviceTailModel)}, |
Christian Xu | cf26d56 | 2022-07-06 09:28:36 | [diff] [blame] | 1781 | {"omnibox-max-url-matches", flag_descriptions::kOmniboxMaxURLMatchesName, |
| 1782 | flag_descriptions::kOmniboxMaxURLMatchesDescription, flags_ui::kOsIos, |
| 1783 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxMaxURLMatches, |
| 1784 | kOmniboxMaxURLMatchesVariations, |
| 1785 | "OmniboxMaxURLMatches")}, |
Stepan Khapugin | 1f83c5ae | 2024-01-31 15:55:20 | [diff] [blame] | 1786 | {"omnibox-most-visited-tiles-horizontal-render-group", |
| 1787 | flag_descriptions::kMostVisitedTilesHorizontalRenderGroupName, |
| 1788 | flag_descriptions::kMostVisitedTilesHorizontalRenderGroupDescription, |
| 1789 | flags_ui::kOsIos, |
| 1790 | FEATURE_VALUE_TYPE(omnibox::kMostVisitedTilesHorizontalRenderGroup)}, |
Olivier Robin | 60d3a06 | 2022-07-06 17:34:06 | [diff] [blame] | 1791 | {"metrickit-non-crash-reports", |
| 1792 | flag_descriptions::kMetrickitNonCrashReportName, |
| 1793 | flag_descriptions::kMetrickitNonCrashReportDescription, flags_ui::kOsIos, |
| 1794 | FEATURE_VALUE_TYPE(kMetrickitNonCrashReport)}, |
Robbie Gibson | 1f5a5719 | 2024-11-07 23:04:11 | [diff] [blame] | 1795 | {"default-browser-banner-promo", |
| 1796 | flag_descriptions::kDefaultBrowserBannerPromoName, |
| 1797 | flag_descriptions::kDefaultBrowserBannerPromoDescription, flags_ui::kOsIos, |
Robbie Gibson | ae87bc0 | 2024-11-13 14:45:10 | [diff] [blame] | 1798 | FEATURE_VALUE_TYPE(kDefaultBrowserBannerPromo)}, |
Gayane Petrosyan | 5960a17 | 2023-06-19 15:40:17 | [diff] [blame] | 1799 | {"default-browser-promo-trigger-criteria-experiment", |
| 1800 | flag_descriptions::kDefaultBrowserTriggerCriteriaExperimentName, |
| 1801 | flag_descriptions::kDefaultBrowserTriggerCriteriaExperimentDescription, |
| 1802 | flags_ui::kOsIos, |
Gayane Petrosyan | 01f71178 | 2024-02-21 23:00:21 | [diff] [blame] | 1803 | FEATURE_VALUE_TYPE( |
| 1804 | feature_engagement::kDefaultBrowserTriggerCriteriaExperiment)}, |
Gayane Petrosyan | cffeda1 | 2024-09-17 17:10:37 | [diff] [blame] | 1805 | {"blue-dot-on-tools-menu-button", |
| 1806 | flag_descriptions::kBlueDotOnToolsMenuButtonName, |
| 1807 | flag_descriptions::kBlueDotOnToolsMenuButtonDescription, flags_ui::kOsIos, |
| 1808 | FEATURE_VALUE_TYPE(kBlueDotOnToolsMenuButton)}, |
Ed Chin | 91e4499 | 2022-07-27 13:42:34 | [diff] [blame] | 1809 | #if BUILDFLAG(IOS_BACKGROUND_MODE_ENABLED) |
| 1810 | {"feed-background-refresh-ios", |
| 1811 | flag_descriptions::kFeedBackgroundRefreshName, |
| 1812 | flag_descriptions::kFeedBackgroundRefreshDescription, flags_ui::kOsIos, |
| 1813 | FEATURE_WITH_PARAMS_VALUE_TYPE(kEnableFeedBackgroundRefresh, |
| 1814 | kFeedBackgroundRefreshVariations, |
| 1815 | "FeedBackgroundRefresh")}, |
Ed Chin | 178ec2a | 2023-02-10 22:21:26 | [diff] [blame] | 1816 | #endif // BUILDFLAG(IOS_BACKGROUND_MODE_ENABLED) |
Petro Akzhygitov | 2e2322e | 2023-04-25 16:26:57 | [diff] [blame] | 1817 | {"tab-grid-new-transitions", flag_descriptions::kTabGridNewTransitionsName, |
| 1818 | flag_descriptions::kTabGridNewTransitionsDescription, flags_ui::kOsIos, |
| 1819 | FEATURE_VALUE_TYPE(kTabGridNewTransitions)}, |
Daniel White | ae1cb67 | 2022-12-14 18:25:25 | [diff] [blame] | 1820 | {"iph-price-notifications-while-browsing", |
| 1821 | flag_descriptions::kIPHPriceNotificationsWhileBrowsingName, |
| 1822 | flag_descriptions::kIPHPriceNotificationsWhileBrowsingDescription, |
| 1823 | flags_ui::kOsIos, |
| 1824 | FEATURE_VALUE_TYPE( |
| 1825 | feature_engagement::kIPHPriceNotificationsWhileBrowsingFeature)}, |
Ewann Pelle | dec2d04 | 2023-01-25 15:28:39 | [diff] [blame] | 1826 | {"shopping-list", commerce::flag_descriptions::kShoppingListName, |
| 1827 | commerce::flag_descriptions::kShoppingListDescription, flags_ui::kOsIos, |
| 1828 | FEATURE_VALUE_TYPE(commerce::kShoppingList)}, |
Matt Jones | 1795eda | 2023-05-09 20:24:48 | [diff] [blame] | 1829 | {"local-pdp-detection", |
| 1830 | commerce::flag_descriptions::kCommerceLocalPDPDetectionName, |
| 1831 | commerce::flag_descriptions::kCommerceLocalPDPDetectionDescription, |
| 1832 | flags_ui::kOsIos, |
| 1833 | FEATURE_VALUE_TYPE(commerce::kCommerceLocalPDPDetection)}, |
Ali Juma | 57849c4 | 2023-02-21 22:53:43 | [diff] [blame] | 1834 | {"notification-settings-menu-item", |
| 1835 | flag_descriptions::kNotificationSettingsMenuItemName, |
| 1836 | flag_descriptions::kNotificationSettingsMenuItemDescription, |
| 1837 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kNotificationSettingsMenuItem)}, |
kalettuce | fb09e40 | 2023-02-27 18:35:53 | [diff] [blame] | 1838 | {"web-feed-feedback-reroute", |
| 1839 | flag_descriptions::kWebFeedFeedbackRerouteName, |
| 1840 | flag_descriptions::kWebFeedFeedbackRerouteDescription, flags_ui::kOsIos, |
| 1841 | FEATURE_VALUE_TYPE(kWebFeedFeedbackReroute)}, |
Tina Wang | d3f6f19 | 2023-04-05 05:22:43 | [diff] [blame] | 1842 | {"enable-follow-IPH-exp-params", |
| 1843 | flag_descriptions::kEnableFollowIPHExpParamsName, |
| 1844 | flag_descriptions::kEnableFollowIPHExpParamsDescription, flags_ui::kOsIos, |
| 1845 | FEATURE_VALUE_TYPE(kEnableFollowIPHExpParams)}, |
Guillem Perez | 3c139a82 | 2023-05-24 19:34:25 | [diff] [blame] | 1846 | {"enable-follow-ui-update", flag_descriptions::kEnableFollowUIUpdateName, |
| 1847 | flag_descriptions::kEnableFollowUIUpdateDescription, flags_ui::kOsIos, |
| 1848 | FEATURE_VALUE_TYPE(kEnableFollowUIUpdate)}, |
Olivier ROBIN | a229d213 | 2023-03-21 12:44:20 | [diff] [blame] | 1849 | {"ios-browser-edit-menu-metrics", |
| 1850 | flag_descriptions::kIOSBrowserEditMenuMetricsName, |
| 1851 | flag_descriptions::kIOSBrowserEditMenuMetricsDescription, flags_ui::kOsIos, |
| 1852 | FEATURE_VALUE_TYPE(kIOSBrowserEditMenuMetrics)}, |
Benjamin Williams | 1dc8f234 | 2024-01-04 21:25:55 | [diff] [blame] | 1853 | {"ios-docking-promo", flag_descriptions::kIOSDockingPromoName, |
| 1854 | flag_descriptions::kIOSDockingPromoDescription, flags_ui::kOsIos, |
| 1855 | FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSDockingPromo, |
| 1856 | kIOSDockingPromoVariations, |
| 1857 | "IOSDockingPromo")}, |
Stepan Khapugin | b2f4952 | 2023-04-03 18:25:24 | [diff] [blame] | 1858 | {"omnibox-grouping-framework-non-zps", |
| 1859 | flag_descriptions::kOmniboxGroupingFrameworkForTypedSuggestionsName, |
| 1860 | flag_descriptions::kOmniboxGroupingFrameworkForTypedSuggestionsDescription, |
| 1861 | flags_ui::kOsIos, |
| 1862 | FEATURE_VALUE_TYPE(omnibox::kGroupingFrameworkForNonZPS)}, |
Robbie Gibson | 0ea28060 | 2023-04-12 01:02:39 | [diff] [blame] | 1863 | {"only-access-clipboard-async", |
| 1864 | flag_descriptions::kOnlyAccessClipboardAsyncName, |
| 1865 | flag_descriptions::kOnlyAccessClipboardAsyncDescription, flags_ui::kOsIos, |
| 1866 | FEATURE_VALUE_TYPE(kOnlyAccessClipboardAsync)}, |
Tina Wang | cda2c90 | 2023-05-25 17:39:45 | [diff] [blame] | 1867 | {"enable-signed-out-view-demotion", |
| 1868 | flag_descriptions::kEnableSignedOutViewDemotionName, |
| 1869 | flag_descriptions::kEnableSignedOutViewDemotionDescription, |
| 1870 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kEnableSignedOutViewDemotion)}, |
Stepan Khapugin | 72c7429 | 2024-06-19 16:48:33 | [diff] [blame] | 1871 | {"spotlight-never-retain-index", |
| 1872 | flag_descriptions::kSpotlightNeverRetainIndexName, |
| 1873 | flag_descriptions::kSpotlightNeverRetainIndexDescription, flags_ui::kOsIos, |
| 1874 | FEATURE_VALUE_TYPE(kSpotlightNeverRetainIndex)}, |
Huiting Yu | bc1bf4d | 2023-06-26 18:15:32 | [diff] [blame] | 1875 | {"ios-iph-for-safari-switcher", |
| 1876 | flag_descriptions::kIPHForSafariSwitcherName, |
| 1877 | flag_descriptions::kIPHForSafariSwitcherDescription, flags_ui::kOsIos, |
| 1878 | FEATURE_VALUE_TYPE(kIPHForSafariSwitcher)}, |
Benjamin Williams | 9773edd4 | 2023-06-26 20:22:07 | [diff] [blame] | 1879 | {"safety-check-magic-stack", flag_descriptions::kSafetyCheckMagicStackName, |
| 1880 | flag_descriptions::kSafetyCheckMagicStackDescription, flags_ui::kOsIos, |
| 1881 | FEATURE_VALUE_TYPE(kSafetyCheckMagicStack)}, |
Ewann Pelle | 9cd85b2 | 2023-07-12 14:42:01 | [diff] [blame] | 1882 | {"tab-resumption", flag_descriptions::kTabResumptionName, |
| 1883 | flag_descriptions::kTabResumptionDescription, flags_ui::kOsIos, |
Ewann Pelle | a2bcb3a | 2023-08-28 13:53:00 | [diff] [blame] | 1884 | FEATURE_WITH_PARAMS_VALUE_TYPE(kTabResumption, |
| 1885 | kTabResumptionVariations, |
| 1886 | "TabResumption")}, |
Christian Xu | 07d60019 | 2023-07-24 12:29:52 | [diff] [blame] | 1887 | {"bottom-omnibox-default-setting", |
| 1888 | flag_descriptions::kBottomOmniboxDefaultSettingName, |
| 1889 | flag_descriptions::kBottomOmniboxDefaultSettingDescription, |
| 1890 | flags_ui::kOsIos, |
| 1891 | FEATURE_WITH_PARAMS_VALUE_TYPE(kBottomOmniboxDefaultSetting, |
| 1892 | kBottomOmniboxDefaultSettingVariations, |
| 1893 | "BottomOmniboxDefaultSetting")}, |
Elmehdi Rahmaoui | f5b7646 | 2024-06-24 10:44:46 | [diff] [blame] | 1894 | {"enable-save-to-photos-improvements", |
| 1895 | flag_descriptions::kIOSSaveToPhotosImprovementsName, |
| 1896 | flag_descriptions::kIOSSaveToPhotosImprovementsDescription, |
| 1897 | flags_ui::kOsIos, |
| 1898 | FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSSaveToPhotosImprovements, |
| 1899 | kSaveToPhotosImprovementsVariations, |
| 1900 | "IOSSaveToPhotosImprovements")}, |
Jérôme Lebel | cc9523e | 2024-10-08 13:34:01 | [diff] [blame] | 1901 | {"enable-identity-in-auth-error", |
| 1902 | flag_descriptions::kEnableIdentityInAuthErrorName, |
| 1903 | flag_descriptions::kEnableIdentityInAuthErrorDescription, flags_ui::kOsIos, |
| 1904 | FEATURE_VALUE_TYPE(switches::kEnableIdentityInAuthError)}, |
Mihai Sardarescu | cca8344 | 2024-10-16 12:19:13 | [diff] [blame] | 1905 | {"enable-asweb-authentication-session", |
| 1906 | flag_descriptions::kEnableASWebAuthenticationSessionName, |
| 1907 | flag_descriptions::kEnableASWebAuthenticationSessionDescription, |
| 1908 | flags_ui::kOsIos, |
| 1909 | FEATURE_VALUE_TYPE(switches::kEnableASWebAuthenticationSession)}, |
Christian Xu | 90e952f | 2023-09-13 09:05:28 | [diff] [blame] | 1910 | {"top-toolbar-theme-color", flag_descriptions::kThemeColorInTopToolbarName, |
| 1911 | flag_descriptions::kThemeColorInTopToolbarDescription, flags_ui::kOsIos, |
| 1912 | FEATURE_VALUE_TYPE(kThemeColorInTopToolbar)}, |
Rubin Deliallisi | 072bc84 | 2023-10-19 12:00:41 | [diff] [blame] | 1913 | {"privacy-guide-ios", flag_descriptions::kPrivacyGuideIosName, |
| 1914 | flag_descriptions::kPrivacyGuideIosDescription, flags_ui::kOsIos, |
| 1915 | FEATURE_VALUE_TYPE(kPrivacyGuideIos)}, |
Aliona DANGLA | 5971a8b | 2023-11-10 11:55:35 | [diff] [blame] | 1916 | {"fullscreen-improvement", flag_descriptions::kFullscreenImprovementName, |
| 1917 | flag_descriptions::kFullscreenImprovementDescription, flags_ui::kOsIos, |
| 1918 | FEATURE_VALUE_TYPE(kFullscreenImprovement)}, |
Gauthier Ambard | 8cca29a | 2024-04-10 08:27:36 | [diff] [blame] | 1919 | {"tab-groups-on-ipad", flag_descriptions::kTabGroupsIPadName, |
| 1920 | flag_descriptions::kTabGroupsIPadDescription, flags_ui::kOsIos, |
| 1921 | FEATURE_VALUE_TYPE(kTabGroupsIPad)}, |
Vidhan Jain | 1199e20 | 2024-03-15 14:42:59 | [diff] [blame] | 1922 | {"autofill-enable-dynamically-loading-fields-on-input", |
| 1923 | flag_descriptions:: |
| 1924 | kAutofillEnableDynamicallyLoadingFieldsForAddressInputName, |
| 1925 | flag_descriptions:: |
| 1926 | kAutofillEnableDynamicallyLoadingFieldsForAddressInputDescription, |
| 1927 | flags_ui::kOsIos, |
| 1928 | FEATURE_VALUE_TYPE(kAutofillDynamicallyLoadsFieldsForAddressInput)}, |
aliaaborhamy | 00f89df | 2023-12-21 14:55:03 | [diff] [blame] | 1929 | {"share-in-web-context-menu-ios", |
| 1930 | flag_descriptions::kShareInWebContextMenuIOSName, |
| 1931 | flag_descriptions::kShareInWebContextMenuIOSDescription, flags_ui::kOsIos, |
| 1932 | FEATURE_VALUE_TYPE(kShareInWebContextMenuIOS)}, |
Mustafa Emre Acer | 05412ee | 2024-01-11 01:03:55 | [diff] [blame] | 1933 | {"https-upgrades-ios", flag_descriptions::kHttpsUpgradesName, |
| 1934 | flag_descriptions::kHttpsUpgradesDescription, flags_ui::kOsIos, |
| 1935 | FEATURE_VALUE_TYPE(security_interstitials::features::kHttpsUpgrades)}, |
Robbie Gibson | a04957be | 2024-01-15 19:52:46 | [diff] [blame] | 1936 | {"contextual-panel", flag_descriptions::kContextualPanelName, |
| 1937 | flag_descriptions::kContextualPanelDescription, flags_ui::kOsIos, |
Nicolas MacBeth | c738c4e | 2024-07-19 21:14:19 | [diff] [blame] | 1938 | FEATURE_WITH_PARAMS_VALUE_TYPE(kContextualPanel, |
| 1939 | kContextualPanelEntrypointArmVariations, |
| 1940 | "ContextualPanel")}, |
adamta | d0e8cfc | 2024-01-16 18:43:47 | [diff] [blame] | 1941 | {"enable-ipad-feed-ghost-cards", |
| 1942 | flag_descriptions::kEnableiPadFeedGhostCardsName, |
| 1943 | flag_descriptions::kEnableiPadFeedGhostCardsDescription, flags_ui::kOsIos, |
| 1944 | FEATURE_VALUE_TYPE(kEnableiPadFeedGhostCards)}, |
Jason Hu | d445445f | 2024-02-02 18:28:12 | [diff] [blame] | 1945 | {"disable-lens-camera", flag_descriptions::kDisableLensCameraName, |
| 1946 | flag_descriptions::kDisableLensCameraDescription, flags_ui::kOsIos, |
| 1947 | FEATURE_VALUE_TYPE(kDisableLensCamera)}, |
Alexander Tekle | eebe42b9 | 2024-02-23 21:27:15 | [diff] [blame] | 1948 | {"autofill-enable-card-benefits-for-american-express", |
| 1949 | flag_descriptions::kAutofillEnableCardBenefitsForAmericanExpressName, |
| 1950 | flag_descriptions:: |
| 1951 | kAutofillEnableCardBenefitsForAmericanExpressDescription, |
| 1952 | flags_ui::kOsIos, |
| 1953 | FEATURE_VALUE_TYPE( |
| 1954 | autofill::features::kAutofillEnableCardBenefitsForAmericanExpress)}, |
Yishui Liu | b88a38c | 2024-02-28 08:46:55 | [diff] [blame] | 1955 | {"autofill-enable-card-benefits-sync", |
| 1956 | flag_descriptions::kAutofillEnableCardBenefitsSyncName, |
| 1957 | flag_descriptions::kAutofillEnableCardBenefitsSyncDescription, |
| 1958 | flags_ui::kOsIos, |
| 1959 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardBenefitsSync)}, |
Rubin Deliallisi | 4170b1c | 2024-02-28 16:15:42 | [diff] [blame] | 1960 | {"linked-services-setting-ios", |
| 1961 | flag_descriptions::kLinkedServicesSettingIosName, |
| 1962 | flag_descriptions::kLinkedServicesSettingIosDescription, flags_ui::kOsIos, |
| 1963 | FEATURE_VALUE_TYPE(kLinkedServicesSettingIos)}, |
hvs | 7c6cb40 | 2024-03-27 02:39:00 | [diff] [blame] | 1964 | {"autofill-enable-prefetching-risk-data-for-retrieval", |
| 1965 | flag_descriptions::kAutofillEnablePrefetchingRiskDataForRetrievalName, |
Vincent Boisselle | 2e95b88 | 2024-03-29 21:03:56 | [diff] [blame] | 1966 | flag_descriptions:: |
| 1967 | kAutofillEnablePrefetchingRiskDataForRetrievalDescription, |
hvs | 7c6cb40 | 2024-03-27 02:39:00 | [diff] [blame] | 1968 | flags_ui::kOsIos, |
Vincent Boisselle | 2e95b88 | 2024-03-29 21:03:56 | [diff] [blame] | 1969 | FEATURE_VALUE_TYPE( |
| 1970 | autofill::features::kAutofillEnablePrefetchingRiskDataForRetrieval)}, |
| 1971 | {"autofill-sticky-infobar", flag_descriptions::kAutofillStickyInfobarName, |
| 1972 | flag_descriptions::kAutofillStickyInfobarDescription, flags_ui::kOsIos, |
| 1973 | FEATURE_VALUE_TYPE(kAutofillStickyInfobarIos)}, |
Raj T | c66dd12 | 2024-04-01 18:48:39 | [diff] [blame] | 1974 | {"page-content-annotations", flag_descriptions::kPageContentAnnotationsName, |
| 1975 | flag_descriptions::kPageContentAnnotationsDescription, flags_ui::kOsIos, |
| 1976 | FEATURE_VALUE_TYPE( |
| 1977 | page_content_annotations::features::kPageContentAnnotations)}, |
| 1978 | {"page-content-annotations-persist-salient-image-metadata", |
| 1979 | flag_descriptions::kPageContentAnnotationsPersistSalientImageMetadataName, |
| 1980 | flag_descriptions:: |
| 1981 | kPageContentAnnotationsPersistSalientImageMetadataDescription, |
| 1982 | flags_ui::kOsIos, |
| 1983 | FEATURE_VALUE_TYPE( |
| 1984 | page_content_annotations::features:: |
| 1985 | kPageContentAnnotationsPersistSalientImageMetadata)}, |
| 1986 | {"page-content-annotations-remote-page-metadata", |
| 1987 | flag_descriptions::kPageContentAnnotationsRemotePageMetadataName, |
| 1988 | flag_descriptions::kPageContentAnnotationsRemotePageMetadataDescription, |
| 1989 | flags_ui::kOsIos, |
| 1990 | FEATURE_VALUE_TYPE( |
| 1991 | page_content_annotations::features::kRemotePageMetadata)}, |
| 1992 | {"page-visibility-page-content-annotations", |
| 1993 | flag_descriptions::kPageVisibilityPageContentAnnotationsName, |
| 1994 | flag_descriptions::kPageVisibilityPageContentAnnotationsDescription, |
| 1995 | flags_ui::kOsIos, |
| 1996 | FEATURE_VALUE_TYPE(page_content_annotations::features:: |
| 1997 | kPageVisibilityPageContentAnnotations)}, |
Daniel White | 7867261f | 2024-04-02 19:08:12 | [diff] [blame] | 1998 | {"enhanced-safe-browsing-promo", |
| 1999 | flag_descriptions::kEnhancedSafeBrowsingPromoName, |
| 2000 | flag_descriptions::kEnhancedSafeBrowsingPromoDescription, flags_ui::kOsIos, |
Daniel White | b628508 | 2024-05-03 18:00:02 | [diff] [blame] | 2001 | FEATURE_VALUE_TYPE(safe_browsing::kEnhancedSafeBrowsingPromo)}, |
Alexis Hetu | 3782376 | 2025-01-24 15:41:59 | [diff] [blame] | 2002 | {"cpe-automatic-passkey-upgrade", |
| 2003 | flag_descriptions::kCredentialProviderAutomaticPasskeyUpgradeName, |
| 2004 | flag_descriptions::kCredentialProviderAutomaticPasskeyUpgradeDescription, |
| 2005 | flags_ui::kOsIos, |
| 2006 | FEATURE_VALUE_TYPE(kCredentialProviderAutomaticPasskeyUpgrade)}, |
Alexis Hetu | 028acd3 | 2025-01-17 15:53:22 | [diff] [blame] | 2007 | {"cpe-passkey-prf-support", |
| 2008 | flag_descriptions::kCredentialProviderPasskeyPRFName, |
| 2009 | flag_descriptions::kCredentialProviderPasskeyPRFDescription, |
| 2010 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kCredentialProviderPasskeyPRF)}, |
Sebsg | fcd5b0b | 2024-04-09 08:18:32 | [diff] [blame] | 2011 | {"cpe-performance-improvements", |
| 2012 | flag_descriptions::kCredentialProviderPerformanceImprovementsName, |
| 2013 | flag_descriptions::kCredentialProviderPerformanceImprovementsDescription, |
| 2014 | flags_ui::kOsIos, |
| 2015 | FEATURE_VALUE_TYPE(kCredentialProviderPerformanceImprovements)}, |
Maria Kazinova | 0ee4fdd | 2025-01-22 20:06:59 | [diff] [blame] | 2016 | {"password-form-clientside-classifier", |
| 2017 | flag_descriptions::kPasswordFormClientsideClassifierName, |
| 2018 | flag_descriptions::kPasswordFormClientsideClassifierDescription, |
| 2019 | flags_ui::kOsIos, |
| 2020 | FEATURE_VALUE_TYPE( |
| 2021 | password_manager::features::kPasswordFormClientsideClassifier)}, |
Vincent Boisselle | a1f27f32 | 2024-04-17 14:53:19 | [diff] [blame] | 2022 | {"password-manager-detect-username-in-uff", |
| 2023 | flag_descriptions::kIOSDetectUsernameInUffName, |
vincb | b01c53ed | 2024-08-22 13:09:56 | [diff] [blame] | 2024 | flag_descriptions::kIOSDetectUsernameInUffDescription, flags_ui::kOsIos, |
Vincent Boisselle | a1f27f32 | 2024-04-17 14:53:19 | [diff] [blame] | 2025 | FEATURE_VALUE_TYPE(password_manager::features::kIosDetectUsernameInUff)}, |
Jérôme Lebel | 993c7e3d | 2024-07-08 14:05:35 | [diff] [blame] | 2026 | {"identity-disc-account-menu", |
| 2027 | flag_descriptions::kIdentityDiscAccountMenuName, |
| 2028 | flag_descriptions::kIdentityDiscAccountMenuDescription, flags_ui::kOsIos, |
Jood | 943cbb1 | 2025-02-20 17:02:27 | [diff] [blame] | 2029 | FEATURE_WITH_PARAMS_VALUE_TYPE(kIdentityDiscAccountMenu, |
| 2030 | kIdentityDiscAccountMenuVariations, |
| 2031 | "IdentityDiscAccountMenu")}, |
Jood Hajeer | 3867886d | 2024-07-29 16:15:35 | [diff] [blame] | 2032 | {"identity-confirmation-snackbar", |
| 2033 | flag_descriptions::kIdentityConfirmationSnackbarName, |
| 2034 | flag_descriptions::kIdentityConfirmationSnackbarDescription, |
| 2035 | flags_ui::kOsIos, |
| 2036 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2037 | kIdentityConfirmationSnackbar, |
| 2038 | kIdentityConfirmationSnackbarTestingVariations, |
| 2039 | "IdentityConfirmationSnackbar")}, |
Filipa Senra | be00cbe | 2024-04-19 14:21:33 | [diff] [blame] | 2040 | {"ios-quick-delete", flag_descriptions::kIOSQuickDeleteName, |
| 2041 | flag_descriptions::kIOSQuickDeleteDescription, flags_ui::kOsIos, |
| 2042 | FEATURE_VALUE_TYPE(kIOSQuickDelete)}, |
Vipul Vinod Koul | 1629a19 | 2024-04-24 00:04:00 | [diff] [blame] | 2043 | {"autofill-enable-verve-card-support", |
| 2044 | flag_descriptions::kAutofillEnableVerveCardSupportName, |
| 2045 | flag_descriptions::kAutofillEnableVerveCardSupportDescription, |
| 2046 | flags_ui::kOsIos, |
| 2047 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableVerveCardSupport)}, |
Ewann Pelle | 34939b6 | 2024-08-22 10:45:49 | [diff] [blame] | 2048 | {"tab-group-sync", flag_descriptions::kTabGroupSyncName, |
| 2049 | flag_descriptions::kTabGroupSyncDescription, flags_ui::kOsIos, |
Louis Romero | 5a84afc | 2024-04-25 10:29:20 | [diff] [blame] | 2050 | FEATURE_VALUE_TYPE(kTabGroupSync)}, |
Ameur Hosni | 3d764c9 | 2024-05-28 14:11:12 | [diff] [blame] | 2051 | {"omnibox-suggestion-answer-migration", |
| 2052 | flag_descriptions::kOmniboxSuggestionAnswerMigrationName, |
| 2053 | flag_descriptions::kOmniboxSuggestionAnswerMigrationDescription, |
| 2054 | flags_ui::kOsIos, |
| 2055 | FEATURE_VALUE_TYPE(omnibox_feature_configs::SuggestionAnswerMigration:: |
Olivier Robin | 51ffd17 | 2024-05-29 08:56:30 | [diff] [blame] | 2056 | kOmniboxSuggestionAnswerMigration)}, |
| 2057 | {"tab-resumption1-5", flag_descriptions::kTabResumption1_5Name, |
| 2058 | flag_descriptions::kTabResumption1_5Description, flags_ui::kOsIos, |
Olivier Robin | f8374f1 | 2024-06-05 19:00:04 | [diff] [blame] | 2059 | FEATURE_WITH_PARAMS_VALUE_TYPE(kTabResumption1_5, |
| 2060 | kTabResumption15Variations, |
| 2061 | "TabResumption1_5")}, |
Hira Mahmood | 6e2a894e | 2024-05-31 15:18:19 | [diff] [blame] | 2062 | {"send-tab-ios-push-notifications", |
| 2063 | flag_descriptions::kSendTabToSelfIOSPushNotificationsName, |
| 2064 | flag_descriptions::kSendTabToSelfIOSPushNotificationsDescription, |
| 2065 | flags_ui::kOsIos, |
Hira Mahmood | 00c17e5 | 2024-10-09 14:30:48 | [diff] [blame] | 2066 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2067 | send_tab_to_self::kSendTabToSelfIOSPushNotifications, |
| 2068 | kSendTabIOSPushNotificationsVariations, |
| 2069 | "SendTabToSelfIOSPushNotifications")}, |
Olivier Robin | 08bc56d0 | 2024-06-05 14:05:18 | [diff] [blame] | 2070 | {"tab-resumption-2", flag_descriptions::kTabResumption2Name, |
| 2071 | flag_descriptions::kTabResumption2Description, flags_ui::kOsIos, |
Olivier ROBIN | b17c14b9 | 2024-10-09 13:49:13 | [diff] [blame] | 2072 | FEATURE_VALUE_TYPE(kTabResumption2)}, |
Olivier ROBIN | cb76f4fe | 2024-06-05 16:11:42 | [diff] [blame] | 2073 | {"page-image-service-optimization-guide-salient-images", |
| 2074 | flag_descriptions::kPageImageServiceSalientImageName, |
| 2075 | flag_descriptions::kPageImageServiceSalientImageDescription, |
| 2076 | flags_ui::kOsIos, |
| 2077 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2078 | page_image_service::kImageServiceOptimizationGuideSalientImages, |
| 2079 | kImageServiceOptimizationGuideSalientImagesVariations, |
| 2080 | "PageImageService")}, |
Elmehdi Rahmaoui | fafd5b7 | 2024-06-06 08:34:22 | [diff] [blame] | 2081 | {"downloaded-pdf-opening-ios", flag_descriptions::kDownloadedPDFOpeningName, |
| 2082 | flag_descriptions::kDownloadedPDFOpeningDescription, flags_ui::kOsIos, |
| 2083 | FEATURE_VALUE_TYPE(kDownloadedPDFOpening)}, |
Charles Yang | f8e7adf | 2024-06-11 00:17:00 | [diff] [blame] | 2084 | {"lens-filters-ablation-mode-enabled", |
| 2085 | flag_descriptions::kLensFiltersAblationModeEnabledName, |
| 2086 | flag_descriptions::kLensFiltersAblationModeEnabledDescription, |
| 2087 | flags_ui::kOsIos, |
| 2088 | FEATURE_WITH_PARAMS_VALUE_TYPE(kLensFiltersAblationModeEnabled, |
| 2089 | kLensFiltersAblationModeVariations, |
| 2090 | "LensFiltersAblationMode")}, |
| 2091 | {"lens-translate-toogle-mode-enabled", |
| 2092 | flag_descriptions::kLensTranslateToggleModeEnabledName, |
| 2093 | flag_descriptions::kLensTranslateToggleModeEnabledDescription, |
| 2094 | flags_ui::kOsIos, |
| 2095 | FEATURE_WITH_PARAMS_VALUE_TYPE(kLensTranslateToggleModeEnabled, |
| 2096 | kLensTranslateToggleModeVariations, |
| 2097 | "LensTranslateToggleMode")}, |
Quentin Pubert | b0984c7 | 2024-06-12 15:41:59 | [diff] [blame] | 2098 | {"ios-choose-from-drive", flag_descriptions::kIOSChooseFromDriveName, |
| 2099 | flag_descriptions::kIOSChooseFromDriveDescription, flags_ui::kOsIos, |
| 2100 | FEATURE_VALUE_TYPE(kIOSChooseFromDrive)}, |
Khalid Peer | 7cf75a2 | 2024-06-13 17:25:49 | [diff] [blame] | 2101 | {"omnibox-ml-log-url-scoring-signals", |
| 2102 | flag_descriptions::kOmniboxMlLogUrlScoringSignalsName, |
| 2103 | flag_descriptions::kOmniboxMlLogUrlScoringSignalsDescription, |
| 2104 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(omnibox::kLogUrlScoringSignals)}, |
| 2105 | {"omnibox-ml-url-piecewise-mapped-search-blending", |
| 2106 | flag_descriptions::kOmniboxMlUrlPiecewiseMappedSearchBlendingName, |
| 2107 | flag_descriptions::kOmniboxMlUrlPiecewiseMappedSearchBlendingDescription, |
| 2108 | flags_ui::kOsIos, |
| 2109 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2110 | omnibox::kMlUrlPiecewiseMappedSearchBlending, |
| 2111 | kMlUrlPiecewiseMappedSearchBlendingVariations, |
| 2112 | "MlUrlPiecewiseMappedSearchBlending")}, |
| 2113 | {"omnibox-ml-url-score-caching", |
| 2114 | flag_descriptions::kOmniboxMlUrlScoreCachingName, |
| 2115 | flag_descriptions::kOmniboxMlUrlScoreCachingDescription, flags_ui::kOsIos, |
| 2116 | FEATURE_VALUE_TYPE(omnibox::kMlUrlScoreCaching)}, |
| 2117 | {"omnibox-ml-url-scoring", flag_descriptions::kOmniboxMlUrlScoringName, |
| 2118 | flag_descriptions::kOmniboxMlUrlScoringDescription, flags_ui::kOsIos, |
| 2119 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMlUrlScoring, |
| 2120 | kOmniboxMlUrlScoringVariations, |
| 2121 | "MlUrlScoring")}, |
| 2122 | {"omnibox-ml-url-search-blending", |
| 2123 | flag_descriptions::kOmniboxMlUrlSearchBlendingName, |
| 2124 | flag_descriptions::kOmniboxMlUrlSearchBlendingDescription, |
| 2125 | flags_ui::kOsIos, |
| 2126 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMlUrlSearchBlending, |
| 2127 | kMlUrlSearchBlendingVariations, |
| 2128 | "MlUrlScoring")}, |
| 2129 | {"omnibox-ml-url-scoring-model", |
| 2130 | flag_descriptions::kOmniboxMlUrlScoringModelName, |
| 2131 | flag_descriptions::kOmniboxMlUrlScoringModelDescription, flags_ui::kOsIos, |
Khalid Peer | 4501c1f | 2024-06-27 16:12:04 | [diff] [blame] | 2132 | FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUrlScoringModel, |
| 2133 | kUrlScoringModelVariations, |
| 2134 | "MlUrlScoring")}, |
Siyu An | 4a486f0 | 2024-06-18 19:41:28 | [diff] [blame] | 2135 | {"autofill-show-manual-fill-for-virtual-cards", |
| 2136 | flag_descriptions::kAutofillShowManualFillForVirtualCardsName, |
| 2137 | flag_descriptions::kAutofillShowManualFillForVirtualCardsDescription, |
| 2138 | flags_ui::kOsIos, |
| 2139 | FEATURE_VALUE_TYPE( |
| 2140 | autofill::features::kAutofillShowManualFillForVirtualCards)}, |
adamta | f85e48d | 2024-07-08 17:13:29 | [diff] [blame] | 2141 | {"home-customization", flag_descriptions::kHomeCustomizationName, |
| 2142 | flag_descriptions::kHomeCustomizationDescription, flags_ui::kOsIos, |
| 2143 | FEATURE_VALUE_TYPE(kHomeCustomization)}, |
Benjamin Williams | 0594caf | 2024-07-09 17:51:38 | [diff] [blame] | 2144 | {"safety-check-notifications", |
| 2145 | flag_descriptions::kSafetyCheckNotificationsName, |
| 2146 | flag_descriptions::kSafetyCheckNotificationsDescription, flags_ui::kOsIos, |
| 2147 | FEATURE_WITH_PARAMS_VALUE_TYPE(kSafetyCheckNotifications, |
| 2148 | kSafetyCheckNotificationsVariations, |
| 2149 | "SafetyCheckNotifications")}, |
Federica Germinario | a1fe090 | 2024-07-12 08:28:46 | [diff] [blame] | 2150 | {"app-background-refresh-ios", flag_descriptions::kAppBackgroundRefreshName, |
| 2151 | flag_descriptions::kAppBackgroundRefreshDescription, flags_ui::kOsIos, |
| 2152 | FEATURE_VALUE_TYPE(kEnableAppBackgroundRefresh)}, |
Chris Lu | 3eba2631 | 2024-07-12 20:21:38 | [diff] [blame] | 2153 | {"home-memory-improvements", flag_descriptions::kHomeMemoryImprovementsName, |
| 2154 | flag_descriptions::kHomeMemoryImprovementsDescription, flags_ui::kOsIos, |
| 2155 | FEATURE_VALUE_TYPE(kHomeMemoryImprovements)}, |
Stephen McGruer | 8fe98b6 | 2024-07-16 13:10:13 | [diff] [blame] | 2156 | {"autofill-upload-card-request-timeout", |
| 2157 | flag_descriptions::kAutofillUploadCardRequestTimeoutName, |
| 2158 | flag_descriptions::kAutofillUploadCardRequestTimeoutDescription, |
| 2159 | flags_ui::kOsIos, |
| 2160 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2161 | autofill::features::kAutofillUploadCardRequestTimeout, |
| 2162 | kAutofillUploadCardRequestTimeoutOptions, |
| 2163 | "AutofillUploadCardRequestTimeout")}, |
Stephen McGruer | 0904cae | 2024-07-17 19:54:46 | [diff] [blame] | 2164 | {"autofill-vcn-enroll-request-timeout", |
| 2165 | flag_descriptions::kAutofillVcnEnrollRequestTimeoutName, |
| 2166 | flag_descriptions::kAutofillVcnEnrollRequestTimeoutDescription, |
| 2167 | flags_ui::kOsIos, |
| 2168 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2169 | autofill::features::kAutofillVcnEnrollRequestTimeout, |
| 2170 | kAutofillVcnEnrollRequestTimeoutOptions, |
| 2171 | "AutofillVcnEnrollRequestTimeout")}, |
Charles Yang | 98bef0c | 2024-07-19 12:24:14 | [diff] [blame] | 2172 | {"lens-web-page-load-optimization-enabled", |
| 2173 | flag_descriptions::kLensWebPageLoadOptimizationEnabledName, |
| 2174 | flag_descriptions::kLensWebPageLoadOptimizationEnabledDescription, |
| 2175 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensWebPageLoadOptimizationEnabled)}, |
Eric Ekey | 4a93059 | 2024-07-19 18:58:14 | [diff] [blame] | 2176 | {"segmented-default-browser-promo", |
| 2177 | flag_descriptions::kSegmentedDefaultBrowserPromoName, |
| 2178 | flag_descriptions::kSegmentedDefaultBrowserPromoDescription, |
Briana McClure | c2b62f9 | 2024-10-29 15:35:06 | [diff] [blame] | 2179 | flags_ui::kOsIos, |
| 2180 | FEATURE_WITH_PARAMS_VALUE_TYPE(kSegmentedDefaultBrowserPromo, |
| 2181 | kSegmentedDefaultBrowserPromoVariations, |
| 2182 | "SegmentedDBP-Animation")}, |
Junhui He | 5229465 | 2024-07-23 23:50:15 | [diff] [blame] | 2183 | {"autofill-unmask-card-request-timeout", |
| 2184 | flag_descriptions::kAutofillUnmaskCardRequestTimeoutName, |
| 2185 | flag_descriptions::kAutofillUnmaskCardRequestTimeoutDescription, |
| 2186 | flags_ui::kOsIos, |
| 2187 | FEATURE_VALUE_TYPE(autofill::features::kAutofillUnmaskCardRequestTimeout)}, |
vincb | e137983 | 2024-08-06 19:08:12 | [diff] [blame] | 2188 | {"autofill-across-iframes", flag_descriptions::kAutofillAcrossIframesName, |
| 2189 | flag_descriptions::kAutofillAcrossIframesDescription, flags_ui::kOsIos, |
| 2190 | FEATURE_VALUE_TYPE(autofill::features::kAutofillAcrossIframesIos)}, |
Cristian Ciacu | 62fe191 | 2024-08-07 10:14:50 | [diff] [blame] | 2191 | {"ios-page-info-last-visited", |
| 2192 | flag_descriptions::kPageInfoLastVisitedIOSName, |
| 2193 | flag_descriptions::kPageInfoLastVisitedIOSDescription, flags_ui::kOsIos, |
| 2194 | FEATURE_VALUE_TYPE(kPageInfoLastVisitedIOS)}, |
Daniel White | 1ced9e6 | 2024-08-15 19:27:38 | [diff] [blame] | 2195 | {"enable-trait-collection-registration", |
| 2196 | flag_descriptions::kEnableTraitCollectionRegistrationName, |
| 2197 | flag_descriptions::kEnableTraitCollectionRegistrationDescription, |
| 2198 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kEnableTraitCollectionRegistration)}, |
Ernesto Izquierdo Clua | ebe0a025 | 2024-08-19 22:05:54 | [diff] [blame] | 2199 | {"autofill-isolated-world-ios", |
| 2200 | flag_descriptions::kAutofillIsolatedWorldForJavascriptIOSName, |
| 2201 | flag_descriptions::kAutofillIsolatedWorldForJavascriptIOSDescription, |
| 2202 | flags_ui::kOsIos, |
| 2203 | FEATURE_VALUE_TYPE(kAutofillIsolatedWorldForJavascriptIos)}, |
Ewann Pelle | 34939b6 | 2024-08-22 10:45:49 | [diff] [blame] | 2204 | {"tab-group-indicator", flag_descriptions::kTabGroupIndicatorName, |
| 2205 | flag_descriptions::kTabGroupIndicatorDescription, flags_ui::kOsIos, |
Ewann Pelle | 1f48f92 | 2025-01-13 11:43:34 | [diff] [blame] | 2206 | FEATURE_WITH_PARAMS_VALUE_TYPE(kTabGroupIndicator, |
| 2207 | kTabGroupIndicatorVariations, |
| 2208 | "TabGroupIndicator")}, |
thefrog | 8ed4745 | 2024-08-30 13:32:48 | [diff] [blame] | 2209 | {"safe-browsing-local-lists-use-sbv5", |
| 2210 | flag_descriptions::kSafeBrowsingLocalListsUseSBv5Name, |
| 2211 | flag_descriptions::kSafeBrowsingLocalListsUseSBv5Description, |
| 2212 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(safe_browsing::kLocalListsUseSBv5)}, |
Chris Lu | 4c688e0 | 2024-09-07 00:48:08 | [diff] [blame] | 2213 | {"ios-price-tracking-notification-promo-card", |
| 2214 | flag_descriptions::kPriceTrackingPromoName, |
| 2215 | flag_descriptions::kPriceTrackingPromoDescription, flags_ui::kOsIos, |
| 2216 | FEATURE_VALUE_TYPE(commerce::kPriceTrackingPromo)}, |
Gloria Fang | 02964a44 | 2025-02-06 19:21:18 | [diff] [blame] | 2217 | {"ios-shop-card", flag_descriptions::kShopCardName, |
| 2218 | flag_descriptions::kShopCardDescription, flags_ui::kOsIos, |
| 2219 | FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kShopCard, |
| 2220 | kShopCardOverrideOptions, |
| 2221 | "ShopCard")}, |
Chris Lu | 4c688e0 | 2024-09-07 00:48:08 | [diff] [blame] | 2222 | {"ios-segmentation-ephemeral-card-ranker", |
| 2223 | flag_descriptions::kSegmentationPlatformEphemeralCardRankerName, |
| 2224 | flag_descriptions::kSegmentationPlatformEphemeralCardRankerDescription, |
| 2225 | flags_ui::kOsIos, |
| 2226 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2227 | segmentation_platform::features:: |
| 2228 | kSegmentationPlatformEphemeralCardRanker, |
| 2229 | kEphemeralCardRankerCardOverrideOptions, |
| 2230 | "SegmentationPlatformEphemeralCardRanker")}, |
Alexander Tekle | 8cf3c8e | 2024-09-13 21:38:07 | [diff] [blame] | 2231 | {"autofill-enable-log-form-events-to-all-parsed-form-types", |
| 2232 | flag_descriptions::kAutofillEnableLogFormEventsToAllParsedFormTypesName, |
| 2233 | flag_descriptions:: |
| 2234 | kAutofillEnableLogFormEventsToAllParsedFormTypesDescription, |
| 2235 | flags_ui::kOsIos, |
| 2236 | FEATURE_VALUE_TYPE( |
| 2237 | autofill::features::kAutofillEnableLogFormEventsToAllParsedFormTypes)}, |
Radu Nitescu | 0613338 | 2024-10-21 18:33:29 | [diff] [blame] | 2238 | {"lens-overlay-enable-ipad-compatibility", |
| 2239 | flag_descriptions::kLensOverlayEnableIPadCompatibilityName, |
| 2240 | flag_descriptions::kLensOverlayEnableIPadCompatibilityDescription, |
| 2241 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayEnableIPadCompatibility)}, |
Radu Nitescu | b3e06f9 | 2025-02-06 17:32:25 | [diff] [blame] | 2242 | {"lens-overlay-enable-landscape-compatibility", |
| 2243 | flag_descriptions::kLensOverlayEnableLandscapeCompatibilityName, |
| 2244 | flag_descriptions::kLensOverlayEnableLandscapeCompatibilityDescription, |
| 2245 | flags_ui::kOsIos, |
| 2246 | FEATURE_VALUE_TYPE(kLensOverlayEnableLandscapeCompatibility)}, |
Ameur Hosni | 22b62d9 | 2024-09-25 10:51:02 | [diff] [blame] | 2247 | {"lens-overlay-force-show-onboarding-screen", |
| 2248 | flag_descriptions::kLensOverlayForceShowOnboardingScreenName, |
| 2249 | flag_descriptions::kLensOverlayForceShowOnboardingScreenDescription, |
| 2250 | flags_ui::kOsIos, |
| 2251 | FEATURE_VALUE_TYPE(kLensOverlayForceShowOnboardingScreen)}, |
Stepan Khapugin | c582024 | 2025-01-10 22:21:11 | [diff] [blame] | 2252 | {"lens-overlay-alternative-onboarding", |
| 2253 | flag_descriptions::kLensOverlayAlternativeOnboardingName, |
| 2254 | flag_descriptions::kLensOverlayAlternativeOnboardingDescription, |
| 2255 | flags_ui::kOsIos, |
Radu Nitescu | 6e6dd7f5 | 2025-01-17 11:33:35 | [diff] [blame] | 2256 | FEATURE_WITH_PARAMS_VALUE_TYPE(kLensOverlayAlternativeOnboarding, |
| 2257 | kLensOverlayOnboardingVariations, |
| 2258 | "kLensOverlayOnboarding")}, |
Gauthier Ambard | 766f4cf | 2024-09-26 16:56:25 | [diff] [blame] | 2259 | {"data-sharing", flag_descriptions::kDataSharingName, |
| 2260 | flag_descriptions::kDataSharingDescription, flags_ui::kOsIos, |
| 2261 | FEATURE_VALUE_TYPE(data_sharing::features::kDataSharingFeature)}, |
| 2262 | {"data-sharing-join-only", flag_descriptions::kDataSharingJoinOnlyName, |
| 2263 | flag_descriptions::kDataSharingJoinOnlyDescription, flags_ui::kOsIos, |
| 2264 | FEATURE_VALUE_TYPE(data_sharing::features::kDataSharingJoinOnly)}, |
Rubin Deliallisi | b66a77a | 2024-10-02 18:09:48 | [diff] [blame] | 2265 | {"ios-soft-lock", flag_descriptions::kIOSSoftLockName, |
| 2266 | flag_descriptions::kIOSSoftLockDescription, flags_ui::kOsIos, |
Rubin Deliallisi | 1d0b3ba | 2024-11-04 14:33:04 | [diff] [blame] | 2267 | FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSSoftLock, |
| 2268 | kIOSSoftLockVariations, |
| 2269 | "IOSSoftLock")}, |
Marc Treib | 31e4f9f | 2024-10-07 09:55:54 | [diff] [blame] | 2270 | {"separate-profiles-for-managed-accounts", |
| 2271 | flag_descriptions::kSeparateProfilesForManagedAccountsName, |
| 2272 | flag_descriptions::kSeparateProfilesForManagedAccountsDescription, |
Olivier ROBIN | b17c14b9 | 2024-10-09 13:49:13 | [diff] [blame] | 2273 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kSeparateProfilesForManagedAccounts)}, |
| 2274 | {"tab-resumption-2-reason", flag_descriptions::kTabResumption2ReasonName, |
| 2275 | flag_descriptions::kTabResumption2ReasonDescription, flags_ui::kOsIos, |
| 2276 | FEATURE_VALUE_TYPE(kTabResumption2Reason)}, |
| 2277 | {"tab-resumption-images", flag_descriptions::kTabResumptionImagesName, |
| 2278 | flag_descriptions::kTabResumptionImagesDescription, flags_ui::kOsIos, |
| 2279 | FEATURE_WITH_PARAMS_VALUE_TYPE(kTabResumptionImages, |
| 2280 | kTabResumptionImagesVariations, |
| 2281 | "TabResumption1_5")}, |
Benjamin Williams | d7f854b | 2024-10-09 17:12:27 | [diff] [blame] | 2282 | {"segmentation-platform-tips-ephemeral-card", |
| 2283 | flag_descriptions::kSegmentationPlatformTipsEphemeralCardName, |
| 2284 | flag_descriptions::kSegmentationPlatformTipsEphemeralCardDescription, |
| 2285 | flags_ui::kOsIos, |
| 2286 | FEATURE_VALUE_TYPE(segmentation_platform::features:: |
vincb | f23f733 | 2024-10-11 19:32:12 | [diff] [blame] | 2287 | kSegmentationPlatformTipsEphemeralCard)}, |
| 2288 | {"ios-password-suggestion-bottom-sheet-v2", |
| 2289 | flag_descriptions::kPasswordSuggestionBottomSheetV2Name, |
| 2290 | flag_descriptions::kPasswordSuggestionBottomSheetV2Description, |
| 2291 | flags_ui::kOsIos, |
Federica Germinario | f58b5a7e | 2024-10-22 10:35:42 | [diff] [blame] | 2292 | FEATURE_VALUE_TYPE(password_manager::features::kIOSPasswordBottomSheetV2)}, |
Charles Yang | 11dd8ab | 2024-10-24 19:15:53 | [diff] [blame] | 2293 | {"lens-unary-apis-with-http-transport-enabled", |
| 2294 | flag_descriptions::kLensUnaryApisWithHttpTransportEnabledName, |
| 2295 | flag_descriptions::kLensUnaryApisWithHttpTransportEnabledDescription, |
| 2296 | flags_ui::kOsIos, |
| 2297 | FEATURE_VALUE_TYPE(kLensUnaryApisWithHttpTransportEnabled)}, |
Christian Xu | 6db322d | 2024-10-25 14:12:49 | [diff] [blame] | 2298 | {"lens-overlay-enable-same-tab-navigation", |
| 2299 | flag_descriptions::kLensOverlayEnableSameTabNavigationName, |
| 2300 | flag_descriptions::kLensOverlayEnableSameTabNavigationDescription, |
| 2301 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayEnableSameTabNavigation)}, |
Elmehdi Rahmaoui | 3c6e801 | 2024-10-28 10:17:53 | [diff] [blame] | 2302 | {"ios-chrome-startup-parameters-async", |
| 2303 | flag_descriptions::kChromeStartupParametersAsyncName, |
| 2304 | flag_descriptions::kChromeStartupParametersAsyncDescription, |
| 2305 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kChromeStartupParametersAsync)}, |
Elmehdi Rahmaoui | 63a0d821 | 2025-01-07 11:42:48 | [diff] [blame] | 2306 | {"ios-youtube-incognito", flag_descriptions::kYoutubeIncognitoName, |
| 2307 | flag_descriptions::kYoutubeIncognitoDescription, flags_ui::kOsIos, |
Elmehdi Rahmaoui | 543d35f | 2025-01-16 10:09:42 | [diff] [blame] | 2308 | FEATURE_WITH_PARAMS_VALUE_TYPE(kYoutubeIncognito, |
| 2309 | kYoutubeIncognitoVariations, |
| 2310 | "IOSYoutubeIncognito")}, |
Christian Xu | a845947 | 2024-10-31 13:39:08 | [diff] [blame] | 2311 | {"lens-overlay-enable-location-bar-entrypoint", |
| 2312 | flag_descriptions::kLensOverlayEnableLocationBarEntrypointName, |
| 2313 | flag_descriptions::kLensOverlayEnableLocationBarEntrypointDescription, |
| 2314 | flags_ui::kOsIos, |
| 2315 | FEATURE_VALUE_TYPE(kLensOverlayEnableLocationBarEntrypoint)}, |
Radu Nitescu | c42107b9 | 2025-02-13 17:32:27 | [diff] [blame] | 2316 | {"lens-overlay-enable-location-bar-entrypoint-on-srp", |
| 2317 | flag_descriptions::kLensOverlayEnableLocationBarEntrypointOnSRPName, |
| 2318 | flag_descriptions::kLensOverlayEnableLocationBarEntrypointOnSRPDescription, |
| 2319 | flags_ui::kOsIos, |
| 2320 | FEATURE_VALUE_TYPE(kLensOverlayEnableLocationBarEntrypointOnSRP)}, |
| 2321 | {"lens-overlay-enable-lvf-escape-hatch", |
| 2322 | flag_descriptions::kLensOverlayEnableLVFEscapeHatchName, |
| 2323 | flag_descriptions::kLensOverlayEnableLVFEscapeHatchDescription, |
Radu Nitescu | 0c21e3c | 2025-02-13 21:27:19 | [diff] [blame] | 2324 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayEnableLVFEscapeHatch)}, |
Christian Xu | dddf1e01 | 2024-10-31 18:34:01 | [diff] [blame] | 2325 | {"lens-overlay-disable-price-insights", |
| 2326 | flag_descriptions::kLensOverlayDisablePriceInsightsName, |
| 2327 | flag_descriptions::kLensOverlayDisablePriceInsightsDescription, |
| 2328 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayDisablePriceInsights)}, |
Chris Lu | 9fd38c6 | 2024-11-04 22:22:59 | [diff] [blame] | 2329 | {"ios-provisional-notification-alert", |
| 2330 | flag_descriptions::kProvisionalNotificationAlertName, |
| 2331 | flag_descriptions::kProvisionalNotificationAlertDescription, |
| 2332 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kProvisionalNotificationAlert)}, |
Hira Mahmood | 431c8ab | 2024-11-05 17:16:29 | [diff] [blame] | 2333 | {"ios-start-time-startup-remediations", |
| 2334 | flag_descriptions::kIOSStartTimeStartupRemediationsName, |
| 2335 | flag_descriptions::kIOSStartTimeStartupRemediationsDescription, |
| 2336 | flags_ui::kOsIos, |
| 2337 | FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSStartTimeStartupRemediations, |
| 2338 | kIOSStartTimeStartupRemediationsVariations, |
| 2339 | "IOSStartTimeStartupRemediations")}, |
vincb | 7867dc04 | 2024-11-06 14:25:05 | [diff] [blame] | 2340 | {"autofill-throttle-doc-form-scans", |
| 2341 | flag_descriptions::kAutofillThrottleDocumentFormScanName, |
| 2342 | flag_descriptions::kAutofillThrottleDocumentFormScanDescription, |
| 2343 | flags_ui::kOsIos, |
| 2344 | FEATURE_WITH_PARAMS_VALUE_TYPE(kAutofillThrottleDocumentFormScanIos, |
| 2345 | kAutofillThrottleDocFormScanVariations, |
| 2346 | "AutofillThrottleDocumentFormScan")}, |
vincb | 2bf7f5c | 2024-11-06 17:18:09 | [diff] [blame] | 2347 | {"autofill-throttle-filtered-doc-form-scan", |
| 2348 | flag_descriptions::kAutofillThrottleFilteredDocumentFormScanName, |
| 2349 | flag_descriptions::kAutofillThrottleFilteredDocumentFormScanDescription, |
| 2350 | flags_ui::kOsIos, |
| 2351 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2352 | kAutofillThrottleFilteredDocumentFormScanIos, |
| 2353 | kAutofillThrottleFilteredDocFormScanVariations, |
| 2354 | "AutofillThrottleFilteredDocumentFormScan")}, |
ginnnnnnny | 963c7fc | 2024-11-06 22:44:50 | [diff] [blame] | 2355 | {"ios-new-feed-positioning", |
| 2356 | flag_descriptions::kNewFeedPositioningExperimentName, |
| 2357 | flag_descriptions::kNewFeedPositioningExperimentDescription, |
| 2358 | flags_ui::kOsIos, |
| 2359 | FEATURE_WITH_PARAMS_VALUE_TYPE(kNewFeedPositioning, |
| 2360 | kNewFeedPositioningVariations, |
| 2361 | "IOSNewFeedPositioningStudy")}, |
Stephen McGruer | 5ac77b93 | 2024-11-07 20:09:43 | [diff] [blame] | 2362 | {"ios-disable-parcel-tracking", |
| 2363 | flag_descriptions::kIOSDisableParcelTrackingName, |
| 2364 | flag_descriptions::kIOSDisableParcelTrackingDescription, flags_ui::kOsIos, |
| 2365 | FEATURE_VALUE_TYPE(kIOSDisableParcelTracking)}, |
vincb | 9178177 | 2024-11-08 17:13:12 | [diff] [blame] | 2366 | {"autofill-payments-sheet-v2", |
| 2367 | flag_descriptions::kAutofillPaymentsSheetV2Name, |
| 2368 | flag_descriptions::kAutofillPaymentsSheetV2Description, flags_ui::kOsIos, |
| 2369 | FEATURE_VALUE_TYPE(kAutofillPaymentsSheetV2Ios)}, |
Hira Mahmood | f8533dc | 2024-11-12 16:24:25 | [diff] [blame] | 2370 | {"ios-start-time-browser-background-remediations", |
| 2371 | flag_descriptions::kIOSStartTimeBrowserBackgroundRemediationsName, |
| 2372 | flag_descriptions::kIOSStartTimeBrowserBackgroundRemediationsDescription, |
| 2373 | flags_ui::kOsIos, |
| 2374 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2375 | kIOSStartTimeBrowserBackgroundRemediations, |
| 2376 | kIOSStartTimeBrowserBackgroundRemediationsVariations, |
| 2377 | "IOSStartTimeStartupRemediations")}, |
Hira Mahmood | 66444987 | 2024-11-18 23:55:22 | [diff] [blame] | 2378 | {"set-up-list-in-first-run", flag_descriptions::kSetUpListInFirstRunName, |
| 2379 | flag_descriptions::kSetUpListInFirstRunNameDescription, flags_ui::kOsIos, |
| 2380 | FEATURE_WITH_PARAMS_VALUE_TYPE(set_up_list::kSetUpListInFirstRun, |
| 2381 | kSetUpListInFirstRunVariations, |
| 2382 | "SetUpListInFirstRun")}, |
Charles Yang | f57489f | 2024-11-27 13:58:28 | [diff] [blame] | 2383 | {"lens-unary-http-transport-enabled", |
| 2384 | flag_descriptions::kLensUnaryHttpTransportEnabledName, |
| 2385 | flag_descriptions::kLensUnaryHttpTransportEnabledDescription, |
| 2386 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensUnaryHttpTransportEnabled)}, |
Charles Yang | 8b4687c | 2024-12-11 02:42:19 | [diff] [blame] | 2387 | {"lens-clearcut-background-upload-enabled", |
| 2388 | flag_descriptions::kLensClearcutBackgroundUploadEnabledName, |
| 2389 | flag_descriptions::kLensClearcutBackgroundUploadEnabledDescription, |
| 2390 | flags_ui::kOsIos, |
| 2391 | FEATURE_VALUE_TYPE(kLensClearcutBackgroundUploadEnabled)}, |
| 2392 | {"lens-clearcut-logger-fast-qos-enabled", |
| 2393 | flag_descriptions::kLensClearcutLoggerFastQosEnabledName, |
| 2394 | flag_descriptions::kLensClearcutLoggerFastQosEnabledDescription, |
| 2395 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensClearcutLoggerFastQosEnabled)}, |
Hira Mahmood | 7577c9b67 | 2024-12-12 20:29:12 | [diff] [blame] | 2396 | {"set-up-list-shortened-duration", |
| 2397 | flag_descriptions::kSetUpListShortenedDurationName, |
| 2398 | flag_descriptions::kSetUpListShortenedDurationDescription, |
| 2399 | flags_ui::kOsIos, |
| 2400 | FEATURE_WITH_PARAMS_VALUE_TYPE(set_up_list::kSetUpListShortenedDuration, |
| 2401 | kSetUpListDurationVariations, |
| 2402 | "SetUpListShortenedDuration")}, |
Christian Xu | 375dcf7 | 2024-12-17 15:44:59 | [diff] [blame] | 2403 | {"enable-lens-overlay-price-insights-counterfactual", |
| 2404 | flag_descriptions::kLensOverlayPriceInsightsCounterfactualName, |
| 2405 | flag_descriptions::kLensOverlayPriceInsightsCounterfactualDescription, |
| 2406 | flags_ui::kOsIos, |
| 2407 | FEATURE_VALUE_TYPE(kLensOverlayPriceInsightsCounterfactual)}, |
Tommy Nyquist | e144751 | 2024-12-17 17:46:24 | [diff] [blame] | 2408 | {"collaboration-messaging", flag_descriptions::kCollaborationMessagingName, |
| 2409 | flag_descriptions::kCollaborationMessagingDescription, flags_ui::kOsIos, |
Hailey Wang | 1f2d890a | 2024-12-26 20:23:56 | [diff] [blame] | 2410 | FEATURE_VALUE_TYPE(collaboration::features::kCollaborationMessaging)}, |
Charles Yang | fd397e8 | 2024-12-19 17:11:45 | [diff] [blame] | 2411 | {"lens-single-tap-text-selection-disabled", |
| 2412 | flag_descriptions::kLensSingleTapTextSelectionDisabledName, |
| 2413 | flag_descriptions::kLensSingleTapTextSelectionDisabledDescription, |
| 2414 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensSingleTapTextSelectionDisabled)}, |
Hira Mahmood | f6906a8 | 2025-01-02 17:55:09 | [diff] [blame] | 2415 | {"updated-fre-screens-sequence", flag_descriptions::kUpdatedFRESequenceName, |
| 2416 | flag_descriptions::kUpdatedFRESequenceDescription, flags_ui::kOsIos, |
| 2417 | FEATURE_WITH_PARAMS_VALUE_TYPE(first_run::kUpdatedFirstRunSequence, |
| 2418 | kUpdatedFirstRunSequenceVariations, |
| 2419 | "UpdatedFirstRunSequence")}, |
Hira Mahmood | 9f1c1909 | 2025-01-06 17:47:43 | [diff] [blame] | 2420 | {"set-up-list-without-sign-in-item", |
| 2421 | flag_descriptions::kSetUpListWithoutSignInItemName, |
| 2422 | flag_descriptions::kSetUpListWithoutSignInItemDescription, |
| 2423 | flags_ui::kOsIos, |
| 2424 | FEATURE_VALUE_TYPE(set_up_list::kSetUpListWithoutSignInItem)}, |
Fernando Ramirez | 3c16f974 | 2025-01-07 22:40:36 | [diff] [blame] | 2425 | {"autofill-enable-card-benefits-for-bmo", |
| 2426 | flag_descriptions::kAutofillEnableCardBenefitsForBmoName, |
| 2427 | flag_descriptions::kAutofillEnableCardBenefitsForBmoDescription, |
| 2428 | flags_ui::kOsIos, |
| 2429 | FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardBenefitsForBmo)}, |
Olivier ROBIN | 1a0db2a | 2025-01-09 10:41:53 | [diff] [blame] | 2430 | {"ios-manage-account-storage", |
| 2431 | flag_descriptions::kIOSManageAccountStorageName, |
| 2432 | flag_descriptions::kIOSManageAccountStorageDescription, flags_ui::kOsIos, |
| 2433 | FEATURE_VALUE_TYPE(kIOSManageAccountStorage)}, |
Nohemi Fernandez | 4e66e718 | 2025-01-16 10:57:32 | [diff] [blame] | 2434 | {"supervised-user-local-web-approvals", |
| 2435 | flag_descriptions::kSupervisedUserLocalWebApprovalsName, |
| 2436 | flag_descriptions::kSupervisedUserLocalWebApprovalsDescription, |
| 2437 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(supervised_user::kLocalWebApprovals)}, |
Daniel White | e4562ce | 2025-01-21 17:36:56 | [diff] [blame] | 2438 | {"download-auto-deletion", flag_descriptions::kDownloadAutoDeletionName, |
| 2439 | flag_descriptions::kDownloadAutoDeletionDescription, flags_ui::kOsIos, |
| 2440 | FEATURE_VALUE_TYPE(kDownloadAutoDeletionFeatureEnabled)}, |
Charles Yang | 8bd74763 | 2025-01-22 20:17:00 | [diff] [blame] | 2441 | {"lens-ink-multi-sample-mode-disabled", |
| 2442 | flag_descriptions::kLensInkMultiSampleModeDisabledName, |
| 2443 | flag_descriptions::kLensInkMultiSampleModeDisabledDescription, |
| 2444 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensInkMultiSampleModeDisabled)}, |
Briana McClure | 09b0c363 | 2025-01-23 21:57:18 | [diff] [blame] | 2445 | {"animated-default-browser-promo-in-fre", |
| 2446 | flag_descriptions::kAnimatedDefaultBrowserPromoInFREName, |
| 2447 | flag_descriptions::kAnimatedDefaultBrowserPromoInFREDescription, |
| 2448 | flags_ui::kOsIos, |
Briana McClure | 21685c4 | 2025-02-06 15:18:22 | [diff] [blame] | 2449 | FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2450 | first_run::kAnimatedDefaultBrowserPromoInFRE, |
| 2451 | kAnimatedDefaultBrowserPromoInFREVariations, |
| 2452 | "AnimatedDBPInFRE-Layout")}, |
Fernando Ramirez | fcdb52f | 2025-01-24 19:27:35 | [diff] [blame] | 2453 | {"autofill-enable-allowlist-for-bmo-card-category-benefits", |
| 2454 | flag_descriptions::kAutofillEnableAllowlistForBmoCardCategoryBenefitsName, |
| 2455 | flag_descriptions:: |
| 2456 | kAutofillEnableAllowlistForBmoCardCategoryBenefitsDescription, |
| 2457 | flags_ui::kOsIos, |
| 2458 | FEATURE_VALUE_TYPE( |
| 2459 | autofill::features:: |
| 2460 | kAutofillEnableAllowlistForBmoCardCategoryBenefits)}, |
Marc Treib | 921f3ef | 2025-01-27 16:51:01 | [diff] [blame] | 2461 | {"use-account-list-from-identity-manager", |
| 2462 | flag_descriptions::kUseAccountListFromIdentityManagerName, |
| 2463 | flag_descriptions::kUseAccountListFromIdentityManagerDescription, |
| 2464 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kUseAccountListFromIdentityManager)}, |
“Prasanaa” | 96e1599 | 2025-01-30 15:44:35 | [diff] [blame] | 2465 | {"fullscreen-transition", flag_descriptions::kFullscreenTransitionName, |
| 2466 | flag_descriptions::kFullscreenTransitionDescription, flags_ui::kOsIos, |
| 2467 | FEATURE_WITH_PARAMS_VALUE_TYPE(kFullscreenTransition, |
| 2468 | kFullscreenTransitionVariations, |
ginnnnnnny | 0e89217 | 2025-02-04 21:45:17 | [diff] [blame] | 2469 | "IOSFull`screenTransition")}, |
ginnnnnnny | ccce095 | 2025-02-03 22:44:36 | [diff] [blame] | 2470 | {"ios-deprecate-feed-header", |
| 2471 | flag_descriptions::kDeprecateFeedHeaderExperimentName, |
| 2472 | flag_descriptions::kDeprecateFeedHeaderExperimentDescription, |
| 2473 | flags_ui::kOsIos, |
| 2474 | FEATURE_WITH_PARAMS_VALUE_TYPE(kDeprecateFeedHeader, |
| 2475 | kDeprecateFeedHeaderVariations, |
| 2476 | "IOSDeprecateFeedHeader")}, |
“Prasanaa” | 6ad2234 | 2025-02-25 12:55:17 | [diff] [blame] | 2477 | {"refactor-toolbars-size", flag_descriptions::kRefactorToolbarsSizeName, |
| 2478 | flag_descriptions::kRefactorToolbarsSizeDescription, flags_ui::kOsIos, |
| 2479 | FEATURE_VALUE_TYPE(kRefactorToolbarsSize)}, |
Charles Yang | fc3655b6 | 2025-02-05 21:49:26 | [diff] [blame] | 2480 | {"lens-gesture-text-selection-disabled", |
| 2481 | flag_descriptions::kLensGestureTextSelectionDisabledName, |
| 2482 | flag_descriptions::kLensGestureTextSelectionDisabledDescription, |
| 2483 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensGestureTextSelectionDisabled)}, |
Sourav | 0691b75 | 2025-02-07 16:44:07 | [diff] [blame] | 2484 | {"add-address-manually", flag_descriptions::kAddAddressManuallyName, |
| 2485 | flag_descriptions::kAddAddressManuallyDescription, flags_ui::kOsIos, |
| 2486 | FEATURE_VALUE_TYPE(kAddAddressManually)}, |
Charles Yang | ca617573 | 2025-02-11 18:21:39 | [diff] [blame] | 2487 | {"lens-vsint-param-enabled", flag_descriptions::kLensVsintParamEnabledName, |
| 2488 | flag_descriptions::kLensVsintParamEnabledDescription, flags_ui::kOsIos, |
| 2489 | FEATURE_VALUE_TYPE(kLensVsintParamEnabled)}, |
Charles Yang | 6b2639d | 2025-02-11 19:24:04 | [diff] [blame] | 2490 | {"lens-unary-client-data-header-enabled", |
| 2491 | flag_descriptions::kLensUnaryClientDataHeaderEnabledName, |
| 2492 | flag_descriptions::kLensUnaryClientDataHeaderEnabledDescription, |
| 2493 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensUnaryClientDataHeaderEnabled)}, |
Elmehdi Rahmaoui | 8d7eb92 | 2025-02-13 11:40:54 | [diff] [blame] | 2494 | {"ios-new-share-extension", flag_descriptions::kNewShareExtensionName, |
| 2495 | flag_descriptions::kNewShareExtensionDescription, flags_ui::kOsIos, |
| 2496 | FEATURE_VALUE_TYPE(kNewShareExtension)}, |
Hira Mahmood | dcc63d7f | 2025-02-19 17:28:57 | [diff] [blame] | 2497 | {"ios-best-features-screen", |
| 2498 | flag_descriptions::kBestFeaturesScreenInFirstRunName, |
| 2499 | flag_descriptions::kBestFeaturesScreenInFirstRunDescription, |
| 2500 | flags_ui::kOsIos, |
| 2501 | FEATURE_WITH_PARAMS_VALUE_TYPE(first_run::kBestFeaturesScreenInFirstRun, |
| 2502 | kBestFeaturesScreenInFirstRunVariations, |
| 2503 | "BestFeaturesScreenInFirstRun")}, |
Noémie St-Onge | 4a534a12 | 2025-02-25 19:14:09 | [diff] [blame] | 2504 | {"ios-passkeys-m2", flag_descriptions::kIOSPasskeysM2Name, |
| 2505 | flag_descriptions::kIOSPasskeysM2Description, flags_ui::kOsIos, |
| 2506 | FEATURE_VALUE_TYPE(kIOSPasskeysM2)}, |
Hira Mahmood | 51082d7 | 2025-02-26 21:04:40 | [diff] [blame] | 2507 | {"manual-log-uploads-in-the-fre", |
| 2508 | flag_descriptions::kManualLogUploadsInFREName, |
| 2509 | flag_descriptions::kManualLogUploadsInFREDescription, flags_ui::kOsIos, |
| 2510 | FEATURE_VALUE_TYPE(first_run::kManualLogUploadsInTheFRE)}, |
Kavita Soni | 42e1c42 | 2025-02-27 22:09:09 | [diff] [blame] | 2511 | {"autofill-disable-default-save-card-fix-flow-detection", |
| 2512 | flag_descriptions::kAutofillDisableDefaultSaveCardFixFlowDetectionName, |
| 2513 | flag_descriptions:: |
| 2514 | kAutofillDisableDefaultSaveCardFixFlowDetectionDescription, |
| 2515 | flags_ui::kOsIos, |
| 2516 | FEATURE_VALUE_TYPE( |
| 2517 | autofill::features::kAutofillDisableDefaultSaveCardFixFlowDetection)}, |
Charles Yang | bf00df6 | 2025-02-28 17:51:20 | [diff] [blame] | 2518 | {"lens-unary-api-salient-text-enabled", |
| 2519 | flag_descriptions::kLensUnaryApiSalientTextEnabledName, |
| 2520 | flag_descriptions::kLensUnaryApiSalientTextEnabledDescription, |
| 2521 | flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensUnaryApiSalientTextEnabled)}, |
Ibrahim Kanouche | 16414ff8 | 2025-03-01 02:12:31 | [diff] [blame] | 2522 | {"non-modal-sign-in-promo", flag_descriptions::kNonModalSignInPromoName, |
| 2523 | flag_descriptions::kNonModalSignInPromoDescription, flags_ui::kOsIos, |
| 2524 | FEATURE_VALUE_TYPE(kNonModalSignInPromo)}, |
“Prasanaa” | 856d827 | 2025-03-05 20:35:32 | [diff] [blame] | 2525 | {"suggest-strong-password-in-add-password", |
| 2526 | flag_descriptions::kSuggestStrongPasswordInAddPasswordName, |
| 2527 | flag_descriptions::kSuggestStrongPasswordInAddPasswordDescription, |
| 2528 | flags_ui::kOsIos, |
| 2529 | FEATURE_VALUE_TYPE( |
| 2530 | password_manager::features::kSuggestStrongPasswordInAddPassword)}, |
Kavita Soni | 754e40a | 2025-03-05 21:46:49 | [diff] [blame] | 2531 | {"autofill-save-card-bottomsheet", |
| 2532 | flag_descriptions::kAutofillSaveCardBottomSheetName, |
| 2533 | flag_descriptions::kAutofillSaveCardBottomSheetDescription, |
| 2534 | flags_ui::kOsIos, |
| 2535 | FEATURE_VALUE_TYPE(autofill::features::kAutofillSaveCardBottomSheet)}, |
Olivier ROBIN | 4d7cdb8 | 2025-03-11 09:33:47 | [diff] [blame] | 2536 | {"ios-one-tap-mini-map-restrictions", |
| 2537 | flag_descriptions::kIOSOneTapMiniMapRestrictionsName, |
| 2538 | flag_descriptions::kIOSOneTapMiniMapRestrictionsDescription, |
| 2539 | flags_ui::kOsIos, |
| 2540 | FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSOneTapMiniMapRestrictions, |
| 2541 | kIOSOneTapMiniMapRestrictionsVariations, |
| 2542 | "IOSOneTapMiniMapRestrictions")}, |
Charles Yang | 3b1713c | 2025-03-11 17:14:15 | [diff] [blame] | 2543 | {"lens-block-fetch-objects-interaction-rpcs-on-separate-handshake", |
| 2544 | flag_descriptions:: |
| 2545 | kLensBlockFetchObjectsInteractionRPCsOnSeparateHandshakeName, |
| 2546 | flag_descriptions:: |
| 2547 | kLensBlockFetchObjectsInteractionRPCsOnSeparateHandshakeDescription, |
| 2548 | flags_ui::kOsIos, |
| 2549 | FEATURE_VALUE_TYPE( |
| 2550 | kLensBlockFetchObjectsInteractionRPCsOnSeparateHandshake)}, |
| 2551 | {"lens-prewarm-hard-stickiness-in-input-selection", |
| 2552 | flag_descriptions::kLensPrewarmHardStickinessInInputSelectionName, |
| 2553 | flag_descriptions::kLensPrewarmHardStickinessInInputSelectionDescription, |
| 2554 | flags_ui::kOsIos, |
| 2555 | FEATURE_VALUE_TYPE(kLensPrewarmHardStickinessInInputSelection)}, |
| 2556 | {"lens-prewarm-hard-stickiness-in-query-formulation", |
| 2557 | flag_descriptions::kLensPrewarmHardStickinessInQueryFormulationName, |
| 2558 | flag_descriptions::kLensPrewarmHardStickinessInQueryFormulationDescription, |
| 2559 | flags_ui::kOsIos, |
| 2560 | FEATURE_VALUE_TYPE(kLensPrewarmHardStickinessInQueryFormulation)}, |
Nicolas MacBeth | 12449f7 | 2025-03-11 21:19:48 | [diff] [blame] | 2561 | {"enhanced-calendar", flag_descriptions::kEnhancedCalendarName, |
| 2562 | flag_descriptions::kEnhancedCalendarDescription, flags_ui::kOsIos, |
| 2563 | FEATURE_VALUE_TYPE(kEnhancedCalendar)}, |
Gauthier Ambard | 5b124d30 | 2025-03-12 13:38:40 | [diff] [blame] | 2564 | {"data-sharing-debug-logs", flag_descriptions::kDataSharingDebugLogsName, |
| 2565 | flag_descriptions::kDataSharingDebugLogsDescription, flags_ui::kOsIos, |
| 2566 | SINGLE_VALUE_TYPE(data_sharing::kDataSharingDebugLoggingEnabled)}, |
Duong Dac | 9f8439333 | 2025-03-13 11:29:15 | [diff] [blame] | 2567 | {"supervised-user-block-interstitial-v3", |
| 2568 | flag_descriptions::kSupervisedUserBlockInterstitialV3Name, |
| 2569 | flag_descriptions::kSupervisedUserBlockInterstitialV3Description, |
| 2570 | flags_ui::kOsIos, |
| 2571 | FEATURE_VALUE_TYPE(supervised_user::kSupervisedUserBlockInterstitialV3)}, |
Charles Yang | 127155ae | 2025-03-13 21:00:38 | [diff] [blame] | 2572 | {"lens-fetch-srp-api-enabled", |
| 2573 | flag_descriptions::kLensFetchSrpApiEnabledName, |
| 2574 | flag_descriptions::kLensFetchSrpApiEnabledDescription, flags_ui::kOsIos, |
| 2575 | FEATURE_VALUE_TYPE(kLensFetchSrpApiEnabled)}, |
Joshua Tan | 07b01a6 | 2025-03-13 22:25:11 | [diff] [blame] | 2576 | {"autofill-enable-card-info-runtime-retrieval", |
| 2577 | flag_descriptions::kAutofillEnableCardInfoRuntimeRetrievalName, |
| 2578 | flag_descriptions::kAutofillEnableCardInfoRuntimeRetrievalDescription, |
| 2579 | flags_ui::kOsIos, |
| 2580 | FEATURE_VALUE_TYPE( |
| 2581 | autofill::features::kAutofillEnableCardInfoRuntimeRetrieval)}, |
Hira Mahmood | 4535b07 | 2025-03-14 16:45:59 | [diff] [blame] | 2582 | {"feed-swipe-iph", flag_descriptions::kFeedSwipeInProductHelpName, |
| 2583 | flag_descriptions::kFeedSwipeInProductHelpDescription, flags_ui::kOsIos, |
| 2584 | FEATURE_WITH_PARAMS_VALUE_TYPE(kFeedSwipeInProductHelp, |
| 2585 | kFeedSwipeInProductHelpVariations, |
| 2586 | "FeedSwipeInProductHelp")}, |
Charles Yang | 0b278cf | 2025-03-14 18:11:58 | [diff] [blame^] | 2587 | {"lens-qr-code-parsing-fix", flag_descriptions::kLensQRCodeParsingFixName, |
| 2588 | flag_descriptions::kLensQRCodeParsingFixDescription, flags_ui::kOsIos, |
| 2589 | FEATURE_VALUE_TYPE(kLensQRCodeParsingFix)}, |
Federica Germinario | f58b5a7e | 2024-10-22 10:35:42 | [diff] [blame] | 2590 | }; |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2591 | |
Rohit Rao | bed794c | 2020-04-27 15:27:45 | [diff] [blame] | 2592 | bool SkipConditionalFeatureEntry(const flags_ui::FeatureEntry& entry) { |
| 2593 | return false; |
| 2594 | } |
| 2595 | |
| 2596 | flags_ui::FlagsState& GetGlobalFlagsState() { |
| 2597 | static base::NoDestructor<flags_ui::FlagsState> flags_state(kFeatureEntries, |
| 2598 | nullptr); |
| 2599 | return *flags_state; |
| 2600 | } |
David Jean | 5ca263c | 2021-08-18 09:19:30 | [diff] [blame] | 2601 | // Creates the experimental test policies map, used by AsyncPolicyLoader and |
| 2602 | // PolicyLoaderIOS to locally enable policies. |
Vincent Boisselle | ed0e6f1a | 2021-11-09 06:47:34 | [diff] [blame] | 2603 | NSMutableDictionary* CreateExperimentalTestingPolicies() { |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2604 | NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; |
| 2605 | |
Guillaume Jenkins | 25e9bd7 | 2020-08-27 17:39:06 | [diff] [blame] | 2606 | // Shared variables for all enterprise experimental flags. |
Guillaume Jenkins | 57606d7 | 2020-08-13 17:32:55 | [diff] [blame] | 2607 | NSMutableDictionary* testing_policies = [[NSMutableDictionary alloc] init]; |
Guillaume Jenkins | 25e9bd7 | 2020-08-27 17:39:06 | [diff] [blame] | 2608 | NSMutableArray* allowed_experimental_policies = [[NSMutableArray alloc] init]; |
Guillaume Jenkins | 57606d7 | 2020-08-13 17:32:55 | [diff] [blame] | 2609 | |
Guillaume Jenkins | 25e9bd7 | 2020-08-27 17:39:06 | [diff] [blame] | 2610 | // Set some sample policy values for testing if EnableSamplePolicies is set to |
| 2611 | // true. |
Guillaume Jenkins | eeb7007c | 2020-06-25 22:55:40 | [diff] [blame] | 2612 | if ([defaults boolForKey:@"EnableSamplePolicies"]) { |
Guillaume Jenkins | 57606d7 | 2020-08-13 17:32:55 | [diff] [blame] | 2613 | [testing_policies addEntriesFromDictionary:@{ |
Tina Wang | 59d0b7e | 2020-08-11 04:41:01 | [diff] [blame] | 2614 | base::SysUTF8ToNSString(policy::key::kAutofillAddressEnabled) : @NO, |
| 2615 | |
Guillaume Jenkins | eeb7007c | 2020-06-25 22:55:40 | [diff] [blame] | 2616 | base::SysUTF8ToNSString(policy::key::kAutofillCreditCardEnabled) : @NO, |
| 2617 | |
| 2618 | // 2 = Disable all variations |
| 2619 | base::SysUTF8ToNSString(policy::key::kChromeVariations) : @2, |
| 2620 | |
| 2621 | // 2 = Do not allow any site to show popups |
| 2622 | base::SysUTF8ToNSString(policy::key::kDefaultPopupsSetting) : @2, |
| 2623 | |
Tina Wang | 5abee80 | 2020-07-29 23:09:52 | [diff] [blame] | 2624 | // Set default search engine. |
| 2625 | base::SysUTF8ToNSString(policy::key::kDefaultSearchProviderEnabled) : |
| 2626 | @YES, |
| 2627 | base::SysUTF8ToNSString(policy::key::kDefaultSearchProviderSearchURL) : |
| 2628 | @"http://www.google.com/search?q={searchTerms}", |
| 2629 | base::SysUTF8ToNSString(policy::key::kDefaultSearchProviderName) : |
Tina Wang | 7cd0a06 | 2020-09-15 21:31:02 | [diff] [blame] | 2630 | @"TestEngine", |
Tina Wang | 5abee80 | 2020-07-29 23:09:52 | [diff] [blame] | 2631 | |
Tina Wang | 89068c8 | 2020-10-29 15:51:50 | [diff] [blame] | 2632 | base::SysUTF8ToNSString(policy::key::kEditBookmarksEnabled) : @NO, |
| 2633 | |
Gauthier Ambard | 21b2370 | 2021-04-16 16:11:27 | [diff] [blame] | 2634 | base::SysUTF8ToNSString(policy::key::kNTPContentSuggestionsEnabled) : @NO, |
| 2635 | |
Tina Wang | 59d0b7e | 2020-08-11 04:41:01 | [diff] [blame] | 2636 | base::SysUTF8ToNSString(policy::key::kTranslateEnabled) : @NO, |
Tina Wang | 54dddfc2 | 2020-08-20 22:34:53 | [diff] [blame] | 2637 | |
| 2638 | // 2 = Enhanced safe browsing protection |
| 2639 | base::SysUTF8ToNSString(policy::key::kSafeBrowsingProtectionLevel) : @2, |
| 2640 | |
| 2641 | base::SysUTF8ToNSString(policy::key::kSearchSuggestEnabled) : @YES, |
Hira Mahmood | a53b8d63 | 2023-01-03 10:03:29 | [diff] [blame] | 2642 | |
| 2643 | base::SysUTF8ToNSString(policy::key::kAppStoreRatingEnabled) : @NO, |
Guillaume Jenkins | 57606d7 | 2020-08-13 17:32:55 | [diff] [blame] | 2644 | }]; |
| 2645 | } |
| 2646 | |
Ewann | 227a3c0 | 2021-04-19 12:04:54 | [diff] [blame] | 2647 | if ([defaults boolForKey:@"EnableSyncDisabledPolicy"]) { |
Guillaume Jenkins | fe46d3a | 2021-04-26 19:51:04 | [diff] [blame] | 2648 | NSString* sync_policy_key = |
| 2649 | base::SysUTF8ToNSString(policy::key::kSyncDisabled); |
David Jean | 5ca263c | 2021-08-18 09:19:30 | [diff] [blame] | 2650 | [testing_policies addEntriesFromDictionary:@{sync_policy_key : @YES}]; |
Ewann | 227a3c0 | 2021-04-19 12:04:54 | [diff] [blame] | 2651 | } |
Ewann | 227a3c0 | 2021-04-19 12:04:54 | [diff] [blame] | 2652 | |
Ewann | 570a630 | 2021-08-17 07:22:42 | [diff] [blame] | 2653 | // SyncTypesListDisabled policy. |
| 2654 | NSString* Sync_types_list_disabled_key = |
| 2655 | base::SysUTF8ToNSString(policy::key::kSyncTypesListDisabled); |
| 2656 | NSMutableArray* Sync_types_list_disabled_values = |
| 2657 | [[NSMutableArray alloc] init]; |
| 2658 | if ([defaults boolForKey:@"SyncTypesListBookmarks"]) { |
| 2659 | [Sync_types_list_disabled_values addObject:@"bookmarks"]; |
| 2660 | } |
| 2661 | if ([defaults boolForKey:@"SyncTypesListReadingList"]) { |
| 2662 | [Sync_types_list_disabled_values addObject:@"readingList"]; |
| 2663 | } |
| 2664 | if ([defaults boolForKey:@"SyncTypesListPreferences"]) { |
| 2665 | [Sync_types_list_disabled_values addObject:@"preferences"]; |
| 2666 | } |
| 2667 | if ([defaults boolForKey:@"SyncTypesListPasswords"]) { |
| 2668 | [Sync_types_list_disabled_values addObject:@"passwords"]; |
| 2669 | } |
| 2670 | if ([defaults boolForKey:@"SyncTypesListAutofill"]) { |
| 2671 | [Sync_types_list_disabled_values addObject:@"autofill"]; |
| 2672 | } |
| 2673 | if ([defaults boolForKey:@"SyncTypesListTypedUrls"]) { |
| 2674 | [Sync_types_list_disabled_values addObject:@"typedUrls"]; |
| 2675 | } |
| 2676 | if ([defaults boolForKey:@"SyncTypesListTabs"]) { |
| 2677 | [Sync_types_list_disabled_values addObject:@"tabs"]; |
| 2678 | } |
| 2679 | if ([Sync_types_list_disabled_values count]) { |
| 2680 | [testing_policies addEntriesFromDictionary:@{ |
| 2681 | Sync_types_list_disabled_key : Sync_types_list_disabled_values |
| 2682 | }]; |
Ewann | 570a630 | 2021-08-17 07:22:42 | [diff] [blame] | 2683 | } |
| 2684 | |
Gauthier Ambard | 073eaa9 | 2021-11-22 15:24:13 | [diff] [blame] | 2685 | // If an incognito mode availability is set, set the value. |
Tina Wang | c6bcf57 | 2021-01-27 18:15:52 | [diff] [blame] | 2686 | NSString* incognito_policy_key = |
| 2687 | base::SysUTF8ToNSString(policy::key::kIncognitoModeAvailability); |
| 2688 | NSInteger incognito_mode_availability = |
| 2689 | [defaults integerForKey:incognito_policy_key]; |
| 2690 | if (incognito_mode_availability) { |
Tina Wang | c6bcf57 | 2021-01-27 18:15:52 | [diff] [blame] | 2691 | [testing_policies addEntriesFromDictionary:@{ |
| 2692 | incognito_policy_key : @(incognito_mode_availability), |
| 2693 | }]; |
| 2694 | } |
| 2695 | |
Ewann | 40a8f8a | 2021-07-29 10:01:20 | [diff] [blame] | 2696 | NSString* restriction_pattern = |
| 2697 | [defaults stringForKey:@"RestrictAccountsToPatterns"]; |
| 2698 | if ([restriction_pattern length] > 0) { |
Ewann | b3bee38 | 2021-08-16 09:12:29 | [diff] [blame] | 2699 | NSString* restrict_key = |
| 2700 | base::SysUTF8ToNSString(policy::key::kRestrictAccountsToPatterns); |
Ewann | 40a8f8a | 2021-07-29 10:01:20 | [diff] [blame] | 2701 | [testing_policies addEntriesFromDictionary:@{ |
Ewann | b3bee38 | 2021-08-16 09:12:29 | [diff] [blame] | 2702 | restrict_key : @[ restriction_pattern ] |
Ewann | 40a8f8a | 2021-07-29 10:01:20 | [diff] [blame] | 2703 | }]; |
| 2704 | } |
| 2705 | |
Vincent Boisselle | 19200bc | 2021-09-01 17:58:25 | [diff] [blame] | 2706 | // If the sign-in policy is set (not "None"), add the policy key to the list |
| 2707 | // of enabled experimental policies, and set the value. |
| 2708 | NSString* const kSigninPolicyKey = @"BrowserSignin"; |
| 2709 | NSInteger signin_policy_mode = [defaults integerForKey:kSigninPolicyKey]; |
| 2710 | if (signin_policy_mode) { |
| 2711 | // Remove the mode offset that was used to represent the unset policy. |
| 2712 | --signin_policy_mode; |
| 2713 | DCHECK(signin_policy_mode >= 0); |
| 2714 | |
Vincent Boisselle | 19200bc | 2021-09-01 17:58:25 | [diff] [blame] | 2715 | [testing_policies addEntriesFromDictionary:@{ |
| 2716 | kSigninPolicyKey : @(signin_policy_mode), |
| 2717 | }]; |
| 2718 | } |
| 2719 | |
Veronique Nguyen | 9b1044f | 2022-01-11 14:41:13 | [diff] [blame] | 2720 | // If the New Tab Page URL is set (not empty) add the value to the list of |
| 2721 | // test policies. |
| 2722 | NSString* ntp_location = [defaults stringForKey:@"NTPLocation"]; |
| 2723 | if ([ntp_location length] > 0) { |
| 2724 | NSString* ntp_location_key = |
| 2725 | base::SysUTF8ToNSString(policy::key::kNewTabPageLocation); |
| 2726 | [testing_policies |
| 2727 | addEntriesFromDictionary:@{ntp_location_key : ntp_location}]; |
Veronique Nguyen | 302d870 | 2022-01-12 21:18:57 | [diff] [blame] | 2728 | [allowed_experimental_policies addObject:ntp_location_key]; |
Veronique Nguyen | 9b1044f | 2022-01-11 14:41:13 | [diff] [blame] | 2729 | } |
| 2730 | |
Ali Juma | 9ec36d2 | 2022-03-28 14:53:12 | [diff] [blame] | 2731 | if ([defaults boolForKey:@"DisallowChromeDataInBackups"]) { |
| 2732 | NSString* allow_backups_key = |
| 2733 | base::SysUTF8ToNSString(policy::key::kAllowChromeDataInBackups); |
| 2734 | [testing_policies addEntriesFromDictionary:@{allow_backups_key : @NO}]; |
| 2735 | [allowed_experimental_policies addObject:allow_backups_key]; |
| 2736 | } |
| 2737 | |
Victor Hugo Vianna Silva | 9e1a730 | 2023-02-21 08:56:24 | [diff] [blame] | 2738 | if ([defaults boolForKey:@"DisablePasswordManagerPolicy"]) { |
| 2739 | NSString* password_manager_key = |
| 2740 | base::SysUTF8ToNSString(policy::key::kPasswordManagerEnabled); |
| 2741 | [testing_policies addEntriesFromDictionary:@{password_manager_key : @NO}]; |
| 2742 | [allowed_experimental_policies addObject:password_manager_key]; |
| 2743 | } |
Vincent Boisselle | 003569a7 | 2023-09-11 16:03:12 | [diff] [blame] | 2744 | |
| 2745 | if ([defaults boolForKey:@"EnableUserPolicyMerge"]) { |
| 2746 | NSString* user_policy_merge_key = |
| 2747 | base::SysUTF8ToNSString(policy::key::kCloudUserPolicyMerge); |
| 2748 | [testing_policies addEntriesFromDictionary:@{user_policy_merge_key : @YES}]; |
| 2749 | [allowed_experimental_policies addObject:user_policy_merge_key]; |
| 2750 | } |
| 2751 | |
Arthur Milchior | bb44f5c8 | 2023-03-14 16:14:46 | [diff] [blame] | 2752 | if ([defaults boolForKey:@"AddManagedBookmarks"]) { |
| 2753 | NSString* managed_bookmarks_key = |
| 2754 | base::SysUTF8ToNSString(policy::key::kManagedBookmarks); |
| 2755 | NSString* managed_bookmarks_value = |
Avi Drissman | aa24581 | 2023-04-27 20:20:57 | [diff] [blame] | 2756 | @"[" |
| 2757 | // The following gets filtered out from |
| 2758 | // the JSON string when parsed. |
| 2759 | " {" |
| 2760 | " \"toplevel_name\": \"Managed Bookmarks\"" |
| 2761 | " }," |
| 2762 | " {" |
| 2763 | " \"name\": \"Google\"," |
| 2764 | " \"url\": \"google.com\"" |
| 2765 | " }," |
| 2766 | " {" |
| 2767 | " \"name\": \"Empty Folder\"," |
| 2768 | " \"children\": []" |
| 2769 | " }," |
| 2770 | " {" |
| 2771 | " \"name\": \"Big Folder\"," |
| 2772 | " \"children\": [" |
| 2773 | " {" |
| 2774 | " \"name\": \"Youtube\"," |
| 2775 | " \"url\": \"youtube.com\"" |
| 2776 | " }," |
| 2777 | " {" |
| 2778 | " \"name\": \"Chromium\"," |
| 2779 | " \"url\": \"chromium.org\"" |
| 2780 | " }," |
| 2781 | " {" |
| 2782 | " \"name\": \"More Stuff\"," |
| 2783 | " \"children\": [" |
| 2784 | " {" |
| 2785 | " \"name\": \"Bugs\"," |
| 2786 | " \"url\": \"crbug.com\"" |
| 2787 | " }" |
| 2788 | " ]" |
| 2789 | " }" |
| 2790 | " ]" |
| 2791 | " }" |
| 2792 | "]"; |
Arthur Milchior | bb44f5c8 | 2023-03-14 16:14:46 | [diff] [blame] | 2793 | [testing_policies addEntriesFromDictionary:@{ |
| 2794 | managed_bookmarks_key : managed_bookmarks_value |
| 2795 | }]; |
| 2796 | [allowed_experimental_policies addObject:managed_bookmarks_key]; |
| 2797 | } |
Victor Hugo Vianna Silva | 9e1a730 | 2023-02-21 08:56:24 | [diff] [blame] | 2798 | |
Guillaume Jenkins | 25e9bd7 | 2020-08-27 17:39:06 | [diff] [blame] | 2799 | // If any experimental policy was allowed, set the EnableExperimentalPolicies |
| 2800 | // policy. |
| 2801 | if ([allowed_experimental_policies count] > 0) { |
| 2802 | [testing_policies setValue:allowed_experimental_policies |
| 2803 | forKey:base::SysUTF8ToNSString( |
| 2804 | policy::key::kEnableExperimentalPolicies)]; |
| 2805 | } |
| 2806 | |
jlebel | 2eb4022 | 2022-05-06 11:15:42 | [diff] [blame] | 2807 | NSString* metrics_reporting_key = @"MetricsReportingEnabled"; |
| 2808 | switch ([defaults integerForKey:metrics_reporting_key]) { |
| 2809 | case 1: |
| 2810 | // Metrics reporting forced. |
Louis Romero | ec603fd5f6 | 2023-01-20 14:07:13 | [diff] [blame] | 2811 | [testing_policies setValue:@YES forKey:metrics_reporting_key]; |
jlebel | 2eb4022 | 2022-05-06 11:15:42 | [diff] [blame] | 2812 | break; |
| 2813 | case 2: |
| 2814 | // Metrics reporting disabled. |
Louis Romero | ec603fd5f6 | 2023-01-20 14:07:13 | [diff] [blame] | 2815 | [testing_policies setValue:@NO forKey:metrics_reporting_key]; |
jlebel | 2eb4022 | 2022-05-06 11:15:42 | [diff] [blame] | 2816 | break; |
| 2817 | default: |
| 2818 | // Metrics reporting not managed. |
| 2819 | break; |
| 2820 | } |
| 2821 | |
David Jean | 6f85d44f | 2021-08-19 08:08:45 | [diff] [blame] | 2822 | // Warning: Add new flags to TestingPoliciesHash() below. |
| 2823 | |
David Jean | 5ca263c | 2021-08-18 09:19:30 | [diff] [blame] | 2824 | return testing_policies; |
| 2825 | } |
David Jean | 6f85d44f | 2021-08-19 08:08:45 | [diff] [blame] | 2826 | |
David Jean | 5ca263c | 2021-08-18 09:19:30 | [diff] [blame] | 2827 | } // namespace |
| 2828 | |
Gauthier Ambard | 02dbf02 | 2022-08-23 08:28:47 | [diff] [blame] | 2829 | // Add all switches from experimental flags to `command_line`. |
David Jean | 5ca263c | 2021-08-18 09:19:30 | [diff] [blame] | 2830 | void AppendSwitchesFromExperimentalSettings(base::CommandLine* command_line) { |
| 2831 | NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults]; |
| 2832 | |
| 2833 | // Set the UA flag if UseMobileSafariUA is enabled. |
| 2834 | if ([defaults boolForKey:@"UseMobileSafariUA"]) { |
| 2835 | // Safari uses "Vesion/", followed by the OS version excluding bugfix, where |
| 2836 | // Chrome puts its product token. |
| 2837 | int32_t major = 0; |
| 2838 | int32_t minor = 0; |
| 2839 | int32_t bugfix = 0; |
| 2840 | base::SysInfo::OperatingSystemVersionNumbers(&major, &minor, &bugfix); |
| 2841 | std::string product = base::StringPrintf("Version/%d.%d", major, minor); |
| 2842 | |
| 2843 | command_line->AppendSwitchASCII(switches::kUserAgent, |
| 2844 | web::BuildMobileUserAgent(product)); |
| 2845 | } |
| 2846 | |
| 2847 | // Shared variables for all enterprise experimental flags. |
Vincent Boisselle | ed0e6f1a | 2021-11-09 06:47:34 | [diff] [blame] | 2848 | NSMutableDictionary* testing_policies = CreateExperimentalTestingPolicies(); |
David Jean | 5ca263c | 2021-08-18 09:19:30 | [diff] [blame] | 2849 | |
| 2850 | // If a CBCM enrollment token is provided, force Chrome Browser Cloud |
| 2851 | // Management to enabled and add the token to the list of policies. |
| 2852 | NSString* token_key = |
| 2853 | base::SysUTF8ToNSString(policy::key::kCloudManagementEnrollmentToken); |
| 2854 | NSString* token = [defaults stringForKey:token_key]; |
| 2855 | |
| 2856 | if ([token length] > 0) { |
| 2857 | command_line->AppendSwitch(switches::kEnableChromeBrowserCloudManagement); |
| 2858 | [testing_policies setValue:token forKey:token_key]; |
| 2859 | } |
| 2860 | |
Guillaume Jenkins | 57606d7 | 2020-08-13 17:32:55 | [diff] [blame] | 2861 | // If some policies were set, commit them to the app's registration defaults. |
| 2862 | if ([testing_policies count] > 0) { |
Guillaume Jenkins | eeb7007c | 2020-06-25 22:55:40 | [diff] [blame] | 2863 | NSDictionary* registration_defaults = |
| 2864 | @{kPolicyLoaderIOSConfigurationKey : testing_policies}; |
| 2865 | [defaults registerDefaults:registration_defaults]; |
| 2866 | } |
| 2867 | |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2868 | // Freeform commandline flags. These are added last, so that any flags added |
| 2869 | // earlier in this function take precedence. |
| 2870 | if ([defaults boolForKey:@"EnableFreeformCommandLineFlags"]) { |
| 2871 | base::CommandLine::StringVector flags; |
| 2872 | // Append an empty "program" argument. |
| 2873 | flags.push_back(""); |
| 2874 | |
| 2875 | // The number of flags corresponds to the number of text fields in |
| 2876 | // Experimental.plist. |
| 2877 | const int kNumFreeformFlags = 5; |
| 2878 | for (int i = 1; i <= kNumFreeformFlags; ++i) { |
| 2879 | NSString* key = |
| 2880 | [NSString stringWithFormat:@"FreeformCommandLineFlag%d", i]; |
| 2881 | NSString* flag = [defaults stringForKey:key]; |
| 2882 | if ([flag length]) { |
Robbie Gibson | c91ce62 | 2019-05-20 14:44:33 | [diff] [blame] | 2883 | // iOS keyboard replaces -- with —, so undo that. |
| 2884 | flag = [flag stringByReplacingOccurrencesOfString:@"—" |
| 2885 | withString:@"--" |
| 2886 | options:0 |
| 2887 | range:NSMakeRange(0, 1)]; |
| 2888 | // To make things easier, allow flags with no dashes by prepending them |
| 2889 | // here. This also allows for flags that just have one dash if they |
| 2890 | // exist. |
| 2891 | if (![flag hasPrefix:@"-"]) { |
| 2892 | flag = [@"--" stringByAppendingString:flag]; |
| 2893 | } |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2894 | flags.push_back(base::SysNSStringToUTF8(flag)); |
| 2895 | } |
| 2896 | } |
| 2897 | |
| 2898 | base::CommandLine temp_command_line(flags); |
| 2899 | command_line->AppendArguments(temp_command_line, false); |
| 2900 | } |
msarda | fc76f66 | 2017-02-24 12:46:28 | [diff] [blame] | 2901 | |
justincohen | dacc85d | 2017-06-28 23:34:10 | [diff] [blame] | 2902 | // Populate command line flag for 3rd party keyboard omnibox workaround. |
| 2903 | NSString* enableThirdPartyKeyboardWorkaround = |
| 2904 | [defaults stringForKey:@"EnableThirdPartyKeyboardWorkaround"]; |
| 2905 | if ([enableThirdPartyKeyboardWorkaround isEqualToString:@"Enabled"]) { |
| 2906 | command_line->AppendSwitch(switches::kEnableThirdPartyKeyboardWorkaround); |
| 2907 | } else if ([enableThirdPartyKeyboardWorkaround isEqualToString:@"Disabled"]) { |
| 2908 | command_line->AppendSwitch(switches::kDisableThirdPartyKeyboardWorkaround); |
| 2909 | } |
| 2910 | |
Sylvain Defresne | d3cd8d9 | 2022-01-18 13:35:08 | [diff] [blame] | 2911 | ios::provider::AppendSwitchesFromExperimentalSettings(defaults, command_line); |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2912 | } |
| 2913 | |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2914 | void ConvertFlagsToSwitches(flags_ui::FlagsStorage* flags_storage, |
| 2915 | base::CommandLine* command_line) { |
Sylvain Defresne | 8327a2f | 2019-01-17 14:19:18 | [diff] [blame] | 2916 | GetGlobalFlagsState().ConvertFlagsToSwitches( |
sdefresne | c976390 | 2015-12-02 10:30:11 | [diff] [blame] | 2917 | flags_storage, command_line, flags_ui::kAddSentinels, |
Gregory Chatzinoff | f652372 | 2017-11-21 01:33:53 | [diff] [blame] | 2918 | switches::kEnableFeatures, switches::kDisableFeatures); |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2919 | } |
| 2920 | |
jkrcal | bf07337 | 2016-07-29 07:21:31 | [diff] [blame] | 2921 | std::vector<std::string> RegisterAllFeatureVariationParameters( |
| 2922 | flags_ui::FlagsStorage* flags_storage, |
| 2923 | base::FeatureList* feature_list) { |
Sylvain Defresne | 8327a2f | 2019-01-17 14:19:18 | [diff] [blame] | 2924 | return GetGlobalFlagsState().RegisterAllFeatureVariationParameters( |
| 2925 | flags_storage, feature_list); |
jkrcal | bf07337 | 2016-07-29 07:21:31 | [diff] [blame] | 2926 | } |
| 2927 | |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2928 | void GetFlagFeatureEntries(flags_ui::FlagsStorage* flags_storage, |
| 2929 | flags_ui::FlagAccess access, |
Matt Menke | 4d77757 | 2022-06-15 15:55:50 | [diff] [blame] | 2930 | base::Value::List& supported_entries, |
| 2931 | base::Value::List& unsupported_entries) { |
Sylvain Defresne | 8327a2f | 2019-01-17 14:19:18 | [diff] [blame] | 2932 | GetGlobalFlagsState().GetFlagFeatureEntries( |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2933 | flags_storage, access, supported_entries, unsupported_entries, |
Renjie Tang | 208c819 | 2020-11-03 00:46:51 | [diff] [blame] | 2934 | base::BindRepeating(&SkipConditionalFeatureEntry)); |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2935 | } |
| 2936 | |
| 2937 | void SetFeatureEntryEnabled(flags_ui::FlagsStorage* flags_storage, |
| 2938 | const std::string& internal_name, |
| 2939 | bool enable) { |
Sylvain Defresne | 8327a2f | 2019-01-17 14:19:18 | [diff] [blame] | 2940 | GetGlobalFlagsState().SetFeatureEntryEnabled(flags_storage, internal_name, |
| 2941 | enable); |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2942 | } |
| 2943 | |
| 2944 | void ResetAllFlags(flags_ui::FlagsStorage* flags_storage) { |
Sylvain Defresne | 8327a2f | 2019-01-17 14:19:18 | [diff] [blame] | 2945 | GetGlobalFlagsState().ResetAllFlags(flags_storage); |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2946 | } |
| 2947 | |
Nicolas MacBeth | 972e259 | 2023-02-23 15:22:09 | [diff] [blame] | 2948 | bool IsRestartNeededToCommitChanges() { |
| 2949 | return GetGlobalFlagsState().IsRestartNeededToCommitChanges(); |
| 2950 | } |
| 2951 | |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2952 | namespace testing { |
| 2953 | |
Elly Fong-Jones | 323ab109 | 2021-08-23 22:36:31 | [diff] [blame] | 2954 | base::span<const flags_ui::FeatureEntry> GetFeatureEntries() { |
| 2955 | return base::span<const flags_ui::FeatureEntry>(kFeatureEntries, |
Daniel Cheng | 1f047a8 | 2022-02-26 10:04:53 | [diff] [blame] | 2956 | std::size(kFeatureEntries)); |
sdefresne | 14900ee | 2015-11-27 14:43:21 | [diff] [blame] | 2957 | } |
| 2958 | |
| 2959 | } // namespace testing |