blob: a126cdbc2bbfb51b5d1ace9bf57a32cf80385238 [file] [log] [blame]
Avi Drissmanea1be232022-09-14 23:29:061// Copyright 2012 The Chromium Authors
sdefresne14900ee2015-11-27 14:43:212// 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 Ambard999088c2022-09-13 08:36:578#import "ios/chrome/browser/flags/about_flags.h"
sdefresne14900ee2015-11-27 14:43:219
Nazerke9c259052019-06-26 15:30:1010#import <UIKit/UIKit.h>
Gauthier Ambard999088c2022-09-13 08:36:5711#import <stddef.h>
12#import <stdint.h>
sdefresne14900ee2015-11-27 14:43:2113
Avi Drissmaneac566b02023-08-18 02:56:2114#import "base/apple/foundation_util.h"
Gauthier Ambard999088c2022-09-13 08:36:5715#import "base/base_switches.h"
Gauthier Ambard999088c2022-09-13 08:36:5716#import "base/check_op.h"
Peter Boström3f798572022-07-26 23:44:3617#import "base/debug/debugging_buildflags.h"
Avi Drissmancac43f22023-01-12 00:58:4118#import "base/functional/bind.h"
19#import "base/functional/callback_helpers.h"
Gauthier Ambard999088c2022-09-13 08:36:5720#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 Jain1199e202024-03-15 14:42:5927#import "components/autofill/ios/common/features.h"
Menghan YANGf3fe2de52023-02-27 16:38:5028#import "components/bookmarks/common/bookmark_features.h"
Marc Treib1f6c5db992024-01-04 20:25:1429#import "components/browser_sync/browser_sync_switches.h"
Tommy Nyquiste1447512024-12-17 17:46:2430#import "components/collaboration/public/features.h"
Gauthier Ambard999088c2022-09-13 08:36:5731#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 Doi93db79e2024-09-06 18:16:5534#import "components/data_sharing/public/features.h"
Gauthier Ambard5b124d302025-03-12 13:38:4035#import "components/data_sharing/public/switches.h"
Gauthier Ambard999088c2022-09-13 08:36:5736#import "components/dom_distiller/core/dom_distiller_switches.h"
Raj Tb95d813542022-11-16 21:27:5237#import "components/download/public/background_service/features.h"
Gauthier Ambard999088c2022-09-13 08:36:5738#import "components/enterprise/browser/enterprise_switches.h"
Xu Lica2b56e2025-04-07 20:57:3139#import "components/enterprise/connectors/core/features.h"
Gauthier Ambard999088c2022-09-13 08:36:5740#import "components/feature_engagement/public/feature_constants.h"
41#import "components/feature_engagement/public/feature_list.h"
42#import "components/feed/feed_feature_list.h"
Benjamin Williams11f39912023-04-13 19:00:2543#import "components/history/core/browser/features.h"
Gauthier Ambard999088c2022-09-13 08:36:5744#import "components/invalidation/impl/invalidation_switches.h"
Benjamin Williamsaa8da8142022-11-14 19:51:0345#import "components/ntp_tiles/features.h"
Gauthier Ambard999088c2022-09-13 08:36:5746#import "components/ntp_tiles/switches.h"
47#import "components/omnibox/browser/omnibox_field_trial.h"
Fabio Tirelo7d1f1ba2024-12-18 23:01:1248#import "components/omnibox/common/omnibox_feature_configs.h"
Gauthier Ambard999088c2022-09-13 08:36:5749#import "components/omnibox/common/omnibox_features.h"
50#import "components/optimization_guide/core/optimization_guide_features.h"
Raj Ta921ffc2022-08-25 19:00:2051#import "components/optimization_guide/core/optimization_guide_switches.h"
Raj Tc66dd122024-04-01 18:48:3952#import "components/page_content_annotations/core/page_content_annotations_features.h"
Olivier ROBINcb76f4fe2024-06-05 16:11:4253#import "components/page_image_service/features.h"
Vasilii Sukhanov32b14452023-10-12 17:31:2754#import "components/password_manager/core/browser/features/password_features.h"
Gauthier Ambard999088c2022-09-13 08:36:5755#import "components/password_manager/core/common/password_manager_features.h"
56#import "components/payments/core/features.h"
Guillaume Jenkinseeb7007c2020-06-25 22:55:4057#import "components/policy/core/common/policy_loader_ios_constants.h"
Gauthier Ambard999088c2022-09-13 08:36:5758#import "components/policy/policy_constants.h"
59#import "components/safe_browsing/core/common/features.h"
Daniel White89d57342025-04-01 14:16:1860#import "components/safe_browsing/ios/browser/web_ui/features.h"
Jérôme Lebele5718112025-03-28 14:51:0061#import "components/search_engines/search_engines_switches.h"
Benjamin Williamsbd411e892024-10-25 15:59:3162#import "components/segmentation_platform/embedder/home_modules/constants.h"
Chris Lu6fd4eaf2023-08-08 18:29:3063#import "components/segmentation_platform/public/constants.h"
Chris Lub0bad572023-08-07 18:13:2964#import "components/segmentation_platform/public/features.h"
Victor Hugo Vianna Silva0399402f2021-09-07 21:41:2565#import "components/send_tab_to_self/features.h"
Gauthier Ambard999088c2022-09-13 08:36:5766#import "components/shared_highlighting/core/common/shared_highlighting_features.h"
67#import "components/signin/core/browser/account_reconcilor.h"
68#import "components/signin/ios/browser/features.h"
69#import "components/signin/public/base/signin_switches.h"
70#import "components/strings/grit/components_strings.h"
Nohemi Fernandez64acf982023-08-04 09:27:1571#import "components/supervised_user/core/common/features.h"
Gauthier Ambard999088c2022-09-13 08:36:5772#import "components/sync/base/command_line_switches.h"
73#import "components/sync/base/features.h"
74#import "components/sync/base/pref_names.h"
75#import "components/translate/core/browser/translate_prefs.h"
76#import "components/translate/core/common/translate_util.h"
Sven Zheng0631fc82025-03-28 01:22:5577#import "components/variations/net/variations_command_line.h"
rbpotter422d5eb2025-02-05 16:42:4878#import "components/webui/flags/feature_entry.h"
79#import "components/webui/flags/feature_entry_macros.h"
80#import "components/webui/flags/flags_storage.h"
81#import "components/webui/flags/flags_ui_switches.h"
Ed Chin91e44992022-07-27 13:42:3482#import "ios/chrome/app/background_mode_buildflags.h"
Gauthier Ambard5b7f3c22023-09-13 12:03:3083#import "ios/chrome/browser/browsing_data/model/browsing_data_features.h"
Aman Vermab6f55572023-09-28 11:40:5384#import "ios/chrome/browser/crash_report/model/features.h"
Sebsgfcd5b0b2024-04-09 08:18:3285#import "ios/chrome/browser/credential_provider/model/features.h"
Aman Vermaf8a157f62023-10-03 15:32:1186#import "ios/chrome/browser/default_browser/model/utils.h"
Daniel White37c85a22025-03-03 16:37:3687#import "ios/chrome/browser/download/ui/features.h"
Ernesto Izquierdo Clua4ff435d2025-04-11 15:46:0488#import "ios/chrome/browser/enterprise/connectors/features.h"
mmrashadbc0ca942023-10-06 13:12:1489#import "ios/chrome/browser/find_in_page/model/util.h"
Hira Mahmoodf6906a82025-01-02 17:55:0990#import "ios/chrome/browser/first_run/ui_bundled/features.h"
Gauthier Ambard92605132022-08-26 13:25:1791#import "ios/chrome/browser/flags/chrome_switches.h"
Gauthier Ambard999088c2022-09-13 08:36:5792#import "ios/chrome/browser/flags/ios_chrome_flag_descriptions.h"
Vincent Boisselle8b321bb2023-11-28 13:58:3193#import "ios/chrome/browser/follow/model/follow_features.h"
Rubin Deliallisib66a77a2024-10-02 18:09:4894#import "ios/chrome/browser/incognito_reauth/ui_bundled/features.h"
Nicolas MacBeth12449f72025-03-11 21:19:4895#import "ios/chrome/browser/intelligence/features/features.h"
Christian Xuff884802024-11-25 23:36:1896#import "ios/chrome/browser/lens/ui_bundled/features.h"
Hira Mahmood664449872024-11-18 23:55:2297#import "ios/chrome/browser/ntp/model/features.h"
Chris Lu09019af2024-08-28 08:38:4498#import "ios/chrome/browser/ntp/ui_bundled/new_tab_page_feature.h"
Christian Xua224fbd2025-01-30 14:55:2799#import "ios/chrome/browser/omnibox/public/omnibox_ui_features.h"
Stepan Khapugin34e459742024-12-06 09:39:59100#import "ios/chrome/browser/page_info/ui_bundled/features.h"
Sourav5b33e412025-04-28 13:55:55101#import "ios/chrome/browser/passwords/model/features.h"
mmrashadd0c7f952023-12-14 13:36:38102#import "ios/chrome/browser/policy/model/policy_util.h"
Ameur Hosni51b5aaf2025-03-25 16:33:26103#import "ios/chrome/browser/popup_menu/ui_bundled/overflow_menu/feature_flags.h"
Cheick Cisse85457f22024-05-23 22:37:59104#import "ios/chrome/browser/price_insights/model/price_insights_feature.h"
Stepan Khapugin5694d702024-01-31 13:23:08105#import "ios/chrome/browser/promos_manager/model/features.h"
Nohemi Fernandez11751ec2025-03-26 18:24:37106#import "ios/chrome/browser/reader_mode/model/features.h"
mmrashadf158cad942023-10-03 09:15:48107#import "ios/chrome/browser/screen_time/model/screen_time_buildflags.h"
Christian Xu51be15a2024-11-26 17:42:19108#import "ios/chrome/browser/settings/ui_bundled/clear_browsing_data/features.h"
Christian Xub0c68ff2024-11-28 11:50:47109#import "ios/chrome/browser/settings/ui_bundled/google_services/features.h"
Xu Li9854c992024-12-19 20:53:08110#import "ios/chrome/browser/settings/ui_bundled/password/password_manager_ui_features.h"
Christian Xu585a04512024-11-27 16:29:49111#import "ios/chrome/browser/settings/ui_bundled/privacy/privacy_guide/features.h"
Gauthier Ambard7aa0fb922023-03-09 15:10:46112#import "ios/chrome/browser/shared/public/features/features.h"
Gauthier Ambard818938c2023-06-16 14:48:35113#import "ios/chrome/browser/shared/public/features/system_flags.h"
Tina Wang75f21e82024-07-01 18:00:35114#import "ios/chrome/browser/start_surface/ui_bundled/start_surface_features.h"
Ewann Pelled2eaeba2023-09-19 09:15:28115#import "ios/chrome/browser/text_selection/model/text_selection_util.h"
Ewann Pelle1f48f922025-01-13 11:43:34116#import "ios/chrome/browser/toolbar/ui_bundled/tab_groups/tab_group_indicator_features_utils.h"
Weizhong Xia8b908bda2023-12-05 16:00:22117#import "ios/chrome/browser/web/model/features.h"
Gauthier Ambard8c115362025-03-19 13:45:24118#import "ios/chrome/browser/whats_new/coordinator/whats_new_util.h"
Gauthier Ambard999088c2022-09-13 08:36:57119#import "ios/chrome/grit/ios_strings.h"
120#import "ios/components/security_interstitials/https_only_mode/feature.h"
121#import "ios/public/provider/chrome/browser/app_utils/app_utils_api.h"
122#import "ios/web/common/features.h"
123#import "ios/web/common/user_agent.h"
124#import "ios/web/common/web_view_creation_util.h"
sdefresne14900ee2015-11-27 14:43:21125
Sylvain Defresne9c107082020-10-27 16:39:13126#if BUILDFLAG(IOS_SCREEN_TIME_ENABLED)
mmrashadf158cad942023-10-03 09:15:48127#import "ios/chrome/browser/screen_time/model/features.h"
Sylvain Defresne9c107082020-10-27 16:39:13128#endif
129
sdefresne14900ee2015-11-27 14:43:21130#if !defined(OFFICIAL_BUILD)
Gauthier Ambard999088c2022-09-13 08:36:57131#import "components/variations/variations_switches.h"
vitaliii489217aa2017-01-30 14:50:22132#endif
stkhapuginc1be1792016-12-13 14:30:53133
elawrence816f6790e2017-06-16 18:19:28134using flags_ui::FeatureEntry;
135
sdefresne14900ee2015-11-27 14:43:21136namespace {
Emily Starkbafa9062017-12-27 15:22:46137
Nohemi Fernandezc00842a2021-07-26 11:47:34138const FeatureEntry::Choice
139 kWaitThresholdMillisecondsForCapabilitiesApiChoices[] = {
140 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
141 {"200", signin::kWaitThresholdMillisecondsForCapabilitiesApi, "200"},
142 {"500", signin::kWaitThresholdMillisecondsForCapabilitiesApi, "500"},
143 {"5000", signin::kWaitThresholdMillisecondsForCapabilitiesApi, "5000"},
144};
145
Radu Nitescu6e6dd7f52025-01-17 11:33:35146const char kLensOverlayOnboardingParamSpeedbumpMenu[] =
147 "kLensOverlayOnboardingParamSpeedbumpMenu";
148const char kLensOverlayOnboardingParamUpdatedStrings[] =
149 "kLensOverlayOnboardingParamUpdatedStrings";
150const char kLensOverlayOnboardingParamUpdatedStringsAndVisuals[] =
151 "kLensOverlayOnboardingParamUpdatedStringsAndVisuals";
152
153const FeatureEntry::FeatureParam kLensOverlayOnboardinSpeedbumpMenu[] = {
154 {kLensOverlayOnboardingParam, kLensOverlayOnboardingParamSpeedbumpMenu}};
155const FeatureEntry::FeatureParam kLensOverlayOnboardingUpdatedStrings[] = {
156 {kLensOverlayOnboardingParam, kLensOverlayOnboardingParamUpdatedStrings}};
157const FeatureEntry::FeatureParam
158 kLensOverlayOnboardingUpdatedStringsAndVisuals[] = {
159 {kLensOverlayOnboardingParam,
160 kLensOverlayOnboardingParamUpdatedStringsAndVisuals}};
161
162const FeatureEntry::FeatureVariation kLensOverlayOnboardingVariations[] = {
163 {"A: Speedbump menu", kLensOverlayOnboardinSpeedbumpMenu,
164 std::size(kLensOverlayOnboardinSpeedbumpMenu), nullptr},
165 {"B: Updated Strings", kLensOverlayOnboardingUpdatedStrings,
166 std::size(kLensOverlayOnboardingUpdatedStrings), nullptr},
167 {"C: Updated Strings and Graphics",
168 kLensOverlayOnboardingUpdatedStringsAndVisuals,
169 std::size(kLensOverlayOnboardingUpdatedStringsAndVisuals), nullptr},
Stepan Khapuginc5820242025-01-10 22:21:11170};
171
Stepan Khapugincc4e9842019-01-23 13:38:13172const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches3[] = {
173 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "3"}};
174const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches4[] = {
175 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "4"}};
176const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches5[] = {
177 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "5"}};
178const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches6[] = {
179 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "6"}};
180const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches8[] = {
181 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "8"}};
182const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches10[] = {
183 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "10"}};
184const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches12[] = {
185 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "12"}};
186
187const FeatureEntry::FeatureVariation
188 kOmniboxUIMaxAutocompleteMatchesVariations[] = {
189 {"3 matches", kOmniboxUIMaxAutocompleteMatches3,
Daniel Cheng1f047a82022-02-26 10:04:53190 std::size(kOmniboxUIMaxAutocompleteMatches3), nullptr},
Stepan Khapugincc4e9842019-01-23 13:38:13191 {"4 matches", kOmniboxUIMaxAutocompleteMatches4,
Daniel Cheng1f047a82022-02-26 10:04:53192 std::size(kOmniboxUIMaxAutocompleteMatches4), nullptr},
Stepan Khapugincc4e9842019-01-23 13:38:13193 {"5 matches", kOmniboxUIMaxAutocompleteMatches5,
Daniel Cheng1f047a82022-02-26 10:04:53194 std::size(kOmniboxUIMaxAutocompleteMatches5), nullptr},
Stepan Khapugincc4e9842019-01-23 13:38:13195 {"6 matches", kOmniboxUIMaxAutocompleteMatches6,
Daniel Cheng1f047a82022-02-26 10:04:53196 std::size(kOmniboxUIMaxAutocompleteMatches6), nullptr},
Stepan Khapugincc4e9842019-01-23 13:38:13197 {"8 matches", kOmniboxUIMaxAutocompleteMatches8,
Daniel Cheng1f047a82022-02-26 10:04:53198 std::size(kOmniboxUIMaxAutocompleteMatches8), nullptr},
Stepan Khapugincc4e9842019-01-23 13:38:13199 {"10 matches", kOmniboxUIMaxAutocompleteMatches10,
Daniel Cheng1f047a82022-02-26 10:04:53200 std::size(kOmniboxUIMaxAutocompleteMatches10), nullptr},
Stepan Khapugincc4e9842019-01-23 13:38:13201 {"12 matches", kOmniboxUIMaxAutocompleteMatches12,
Daniel Cheng1f047a82022-02-26 10:04:53202 std::size(kOmniboxUIMaxAutocompleteMatches12), nullptr}};
Stepan Khapugincc4e9842019-01-23 13:38:13203
Stepan Khapuginbac467e2022-05-06 21:11:54204const FeatureEntry::FeatureParam kOmniboxMaxZPSMatches6[] = {
205 {OmniboxFieldTrial::kMaxZeroSuggestMatchesParam, "6"}};
206const FeatureEntry::FeatureParam kOmniboxMaxZPSMatches15[] = {
207 {OmniboxFieldTrial::kMaxZeroSuggestMatchesParam, "15"}};
208const FeatureEntry::FeatureParam kOmniboxMaxZPSMatches20[] = {
209 {OmniboxFieldTrial::kMaxZeroSuggestMatchesParam, "20"}};
210
211const FeatureEntry::FeatureVariation kOmniboxMaxZPSMatchesVariations[] = {
212 {"6 matches", kOmniboxMaxZPSMatches6, std::size(kOmniboxMaxZPSMatches6),
213 nullptr},
214 {"15 matches", kOmniboxMaxZPSMatches15, std::size(kOmniboxMaxZPSMatches15),
215 nullptr},
216 {"20 matches", kOmniboxMaxZPSMatches20, std::size(kOmniboxMaxZPSMatches20),
217 nullptr},
218};
219
Christian Xucf26d562022-07-06 09:28:36220const FeatureEntry::FeatureParam kOmniboxMaxURLMatches5[] = {
221 {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "5"}};
222const FeatureEntry::FeatureParam kOmniboxMaxURLMatches6[] = {
223 {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "6"}};
224const FeatureEntry::FeatureParam kOmniboxMaxURLMatches7[] = {
225 {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "7"}};
226
227const FeatureEntry::FeatureVariation kOmniboxMaxURLMatchesVariations[] = {
228 {"5 matches", kOmniboxMaxURLMatches5, std::size(kOmniboxMaxURLMatches5),
229 nullptr},
230 {"6 matches", kOmniboxMaxURLMatches6, std::size(kOmniboxMaxURLMatches6),
231 nullptr},
232 {"7 matches", kOmniboxMaxURLMatches7, std::size(kOmniboxMaxURLMatches7),
233 nullptr},
234};
235
Guillem Perez40086ef2023-11-20 20:03:52236const FeatureEntry::FeatureParam kContentPushNotificationsEnabledPromo[] = {
237 {kContentPushNotificationsExperimentType, "1"}};
238const FeatureEntry::FeatureParam kContentPushNotificationsEnabledSetupLists[] =
239 {{kContentPushNotificationsExperimentType, "2"}};
Guillem Perez222b5b22024-01-20 02:16:27240const FeatureEntry::FeatureParam kContentPushNotificationsEnabledProvisional[] =
241 {{kContentPushNotificationsExperimentType, "3"}};
Tina Wangb7f5b3f2024-05-07 06:24:26242const FeatureEntry::FeatureParam
243 kContentPushNotificationsPromoRegistrationOnly[] = {
244 {kContentPushNotificationsExperimentType, "5"}};
245const FeatureEntry::FeatureParam
246 kContentPushNotificationsProvisionalRegistrationOnly[] = {
247 {kContentPushNotificationsExperimentType, "6"}};
248const FeatureEntry::FeatureParam
249 kContentPushNotificationsSetUpListRegistrationOnly[] = {
250 {kContentPushNotificationsExperimentType, "7"}};
Guillem Perez40086ef2023-11-20 20:03:52251
252const FeatureEntry::FeatureVariation kContentPushNotificationsVariations[] = {
253 {"Promo", kContentPushNotificationsEnabledPromo,
254 std::size(kContentPushNotificationsEnabledPromo), nullptr},
255 {"Set up list", kContentPushNotificationsEnabledSetupLists,
Guillem Perez222b5b22024-01-20 02:16:27256 std::size(kContentPushNotificationsEnabledSetupLists), nullptr},
257 {"Provisional Notification", kContentPushNotificationsEnabledProvisional,
Guillem Perez749b3fc2024-02-13 19:29:49258 std::size(kContentPushNotificationsEnabledProvisional), nullptr},
Tina Wangb7f5b3f2024-05-07 06:24:26259 {"Promo Registeration Only", kContentPushNotificationsPromoRegistrationOnly,
260 std::size(kContentPushNotificationsPromoRegistrationOnly), nullptr},
261 {"Provisional Notification Registeration Only",
262 kContentPushNotificationsProvisionalRegistrationOnly,
263 std::size(kContentPushNotificationsProvisionalRegistrationOnly), nullptr},
264 {"Set up list Registeration Only",
265 kContentPushNotificationsSetUpListRegistrationOnly,
266 std::size(kContentPushNotificationsSetUpListRegistrationOnly), nullptr}};
Guillem Perez40086ef2023-11-20 20:03:52267
Chris Ludca9ce32023-09-20 16:53:50268const FeatureEntry::FeatureParam kStartSurfaceTenSeconds[] = {
gogerald53c6e7a2021-04-15 22:07:35269 {kReturnToStartSurfaceInactiveDurationInSeconds, "10"}};
Chris Ludca9ce32023-09-20 16:53:50270const FeatureEntry::FeatureParam kStartSurfaceOneHour[] = {
gogerald53c6e7a2021-04-15 22:07:35271 {kReturnToStartSurfaceInactiveDurationInSeconds, "3600"}};
Chris Lu5470417c2021-03-03 18:43:08272
gogerald0e39e3aa2021-02-10 18:41:23273const FeatureEntry::FeatureVariation kStartSurfaceVariations[] = {
Chris Ludca9ce32023-09-20 16:53:50274 {"10s:Show Home Surface", kStartSurfaceTenSeconds,
275 std::size(kStartSurfaceTenSeconds), nullptr},
276 {"1h:Show Home Surface", kStartSurfaceOneHour,
277 std::size(kStartSurfaceOneHour), nullptr},
Chris Lu5470417c2021-03-03 18:43:08278};
gogerald0e39e3aa2021-02-10 18:41:23279
Chris Luce928eb2023-05-12 21:36:26280const FeatureEntry::FeatureParam kMagicStackMostVisitedModule[] = {
281 {kMagicStackMostVisitedModuleParam, "true"},
282 {kReducedSpaceParam, "-80"}};
Chris Lu28c0ede2023-08-25 19:25:22283const FeatureEntry::FeatureParam
284 kMagicStackMostVisitedModuleHideIrrelevantModules[] = {
285 {kMagicStackMostVisitedModuleParam, "true"},
286 {kReducedSpaceParam, "-80"},
287 {kHideIrrelevantModulesParam, "true"}};
Chris Lu8cf8ef82024-03-18 18:30:54288const FeatureEntry::FeatureParam kMagicStackHidIrrelevantModules[] = {
Chris Luce928eb2023-05-12 21:36:26289 {kMagicStackMostVisitedModuleParam, "false"},
Chris Lu8cf8ef82024-03-18 18:30:54290 {kHideIrrelevantModulesParam, "true"}};
Chris Luce928eb2023-05-12 21:36:26291
292const FeatureEntry::FeatureVariation kMagicStackVariations[]{
293 {"Most Visited Tiles in Magic Stack", kMagicStackMostVisitedModule,
294 std::size(kMagicStackMostVisitedModule), nullptr},
Chris Lu28c0ede2023-08-25 19:25:22295 {"Most Visited Tiles in Magic Stack and hide irrelevant modules",
296 kMagicStackMostVisitedModuleHideIrrelevantModules,
297 std::size(kMagicStackMostVisitedModuleHideIrrelevantModules), nullptr},
Chris Lu8cf8ef82024-03-18 18:30:54298 {"Hide irrelevant modules", kMagicStackHidIrrelevantModules,
299 std::size(kMagicStackHidIrrelevantModules), nullptr},
Chris Luce928eb2023-05-12 21:36:26300};
301
Chris Lu6fd4eaf2023-08-08 18:29:30302const FeatureEntry::FeatureParam kEnableDefaultModel[] = {
303 {segmentation_platform::kDefaultModelEnabledParam, "true"}};
304
305const FeatureEntry::FeatureVariation
306 kSegmentationPlatformIosModuleRankerVariations[]{
307 {"Enabled With Default Model Parameter (Must Set this!)",
308 kEnableDefaultModel, std::size(kEnableDefaultModel), nullptr},
309 };
310
Scott Yoderaf2bdf32024-01-30 20:26:15311const FeatureEntry::FeatureParam kIOSTipsNotifications5SecondTrigger[] = {
Scott Yoder3c99d732024-08-15 19:48:31312 {kIOSTipsNotificationsUnknownTriggerTimeParam, "5s"},
313 {kIOSTipsNotificationsActiveSeekerTriggerTimeParam, "5s"},
314 {kIOSTipsNotificationsLessEngagedTriggerTimeParam, "5s"},
Scott Yoderaf2bdf32024-01-30 20:26:15315};
316const FeatureEntry::FeatureParam kIOSTipsNotifications10SecondTrigger[] = {
Scott Yoder3c99d732024-08-15 19:48:31317 {kIOSTipsNotificationsUnknownTriggerTimeParam, "10s"},
318 {kIOSTipsNotificationsActiveSeekerTriggerTimeParam, "10s"},
319 {kIOSTipsNotificationsLessEngagedTriggerTimeParam, "10s"},
Scott Yoderaf2bdf32024-01-30 20:26:15320};
Scott Yoderd2dbc87f2024-03-07 18:23:37321const FeatureEntry::FeatureParam kIOSTipsNotifications30SecondTrigger[] = {
Scott Yoder3c99d732024-08-15 19:48:31322 {kIOSTipsNotificationsUnknownTriggerTimeParam, "30s"},
323 {kIOSTipsNotificationsActiveSeekerTriggerTimeParam, "30s"},
324 {kIOSTipsNotificationsLessEngagedTriggerTimeParam, "30s"},
Scott Yoderd2dbc87f2024-03-07 18:23:37325};
Scott Yoderaf2bdf32024-01-30 20:26:15326const FeatureEntry::FeatureVariation kIOSTipsNotificationsVariations[] = {
327 {"(5s trigger)", kIOSTipsNotifications5SecondTrigger,
Scott Yoderef1a0542024-11-04 17:23:07328 std::size(kIOSTipsNotifications5SecondTrigger), nullptr},
Scott Yoderaf2bdf32024-01-30 20:26:15329 {"(10s trigger)", kIOSTipsNotifications10SecondTrigger,
330 std::size(kIOSTipsNotifications10SecondTrigger), nullptr},
Scott Yoderd2dbc87f2024-03-07 18:23:37331 {"(30s trigger)", kIOSTipsNotifications30SecondTrigger,
Scott Yoderef1a0542024-11-04 17:23:07332 std::size(kIOSTipsNotifications30SecondTrigger), nullptr},
333};
334
335const FeatureEntry::FeatureParam
336 kIOSReactivationNotifications10SecondTrigger[] = {
337 {kIOSReactivationNotificationsTriggerTimeParam, "10s"},
338};
339const FeatureEntry::FeatureParam
340 kIOSReactivationNotifications30SecondTrigger[] = {
341 {kIOSReactivationNotificationsTriggerTimeParam, "30s"},
342};
343const FeatureEntry::FeatureVariation kIOSReactivationNotificationsVariations[] =
344 {
345 {"(10s trigger)", kIOSReactivationNotifications10SecondTrigger,
346 std::size(kIOSReactivationNotifications10SecondTrigger), nullptr},
347 {"(30s trigger)", kIOSReactivationNotifications30SecondTrigger,
348 std::size(kIOSReactivationNotifications30SecondTrigger), nullptr},
Scott Yoderaf2bdf32024-01-30 20:26:15349};
350
Ed Chin91e44992022-07-27 13:42:34351#if BUILDFLAG(IOS_BACKGROUND_MODE_ENABLED)
Ed Chin178ec2a2023-02-10 22:21:26352// Feed Background Refresh Feature Params.
Ed Chin321b8fe2022-08-16 07:02:01353const FeatureEntry::FeatureParam kOneHourIntervalOneHourMaxAgeOnce[] = {
Ed Chin59f617b2022-07-19 22:12:04354 {kEnableServerDrivenBackgroundRefreshSchedule, "false"},
355 {kEnableRecurringBackgroundRefreshSchedule, "false"},
Ed Chin321b8fe2022-08-16 07:02:01356 {kMaxCacheAgeInSeconds, /*60*60*/ "3600"},
Ed Chin59f617b2022-07-19 22:12:04357 {kBackgroundRefreshIntervalInSeconds, /* 60*60= */ "3600"}};
Ed Chin321b8fe2022-08-16 07:02:01358const FeatureEntry::FeatureParam kFourHourIntervalSixHourMaxAgeOnce[] = {
Ed Chin59f617b2022-07-19 22:12:04359 {kEnableServerDrivenBackgroundRefreshSchedule, "false"},
360 {kEnableRecurringBackgroundRefreshSchedule, "false"},
Ed Chin321b8fe2022-08-16 07:02:01361 {kMaxCacheAgeInSeconds, /*6*60*60*/ "21600"},
Ed Chin59f617b2022-07-19 22:12:04362 {kBackgroundRefreshIntervalInSeconds, /* 4*60*60= */ "14400"}};
Ed Chin321b8fe2022-08-16 07:02:01363const FeatureEntry::FeatureParam kOneHourIntervalOneHourMaxAgeRecurring[] = {
Ed Chin59f617b2022-07-19 22:12:04364 {kEnableServerDrivenBackgroundRefreshSchedule, "false"},
365 {kEnableRecurringBackgroundRefreshSchedule, "true"},
Ed Chin321b8fe2022-08-16 07:02:01366 {kMaxCacheAgeInSeconds, /*60*60*/ "3600"},
Ed Chin59f617b2022-07-19 22:12:04367 {kBackgroundRefreshIntervalInSeconds, /* 60*60= */ "3600"}};
Ed Chin321b8fe2022-08-16 07:02:01368const FeatureEntry::FeatureParam kFourHourIntervalSixHourMaxAgeRecurring[] = {
Ed Chin59f617b2022-07-19 22:12:04369 {kEnableServerDrivenBackgroundRefreshSchedule, "false"},
370 {kEnableRecurringBackgroundRefreshSchedule, "true"},
Ed Chin321b8fe2022-08-16 07:02:01371 {kMaxCacheAgeInSeconds, /*6*60*60*/ "21600"},
Ed Chin59f617b2022-07-19 22:12:04372 {kBackgroundRefreshIntervalInSeconds, /* 4*60*60= */ "14400"}};
Ed Chin321b8fe2022-08-16 07:02:01373const FeatureEntry::FeatureParam kServerDrivenOneHourMaxAgeOnce[] = {
Ed Chin59f617b2022-07-19 22:12:04374 {kEnableServerDrivenBackgroundRefreshSchedule, "true"},
375 {kEnableRecurringBackgroundRefreshSchedule, "false"},
Ed Chin321b8fe2022-08-16 07:02:01376 {kMaxCacheAgeInSeconds, /*60*60*/ "3600"},
377 {kBackgroundRefreshIntervalInSeconds, "0"}};
378const FeatureEntry::FeatureParam kServerDrivenOneHourMaxAgeRecurring[] = {
Ed Chin59f617b2022-07-19 22:12:04379 {kEnableServerDrivenBackgroundRefreshSchedule, "true"},
380 {kEnableRecurringBackgroundRefreshSchedule, "true"},
Ed Chin321b8fe2022-08-16 07:02:01381 {kMaxCacheAgeInSeconds, /*60*60*/ "3600"},
382 {kBackgroundRefreshIntervalInSeconds, "0"}};
383const FeatureEntry::FeatureParam kServerDrivenSixHourMaxAgeOnce[] = {
384 {kEnableServerDrivenBackgroundRefreshSchedule, "true"},
385 {kEnableRecurringBackgroundRefreshSchedule, "false"},
386 {kMaxCacheAgeInSeconds, /*6*60*60*/ "21600"},
387 {kBackgroundRefreshIntervalInSeconds, "0"}};
388const FeatureEntry::FeatureParam kServerDrivenSixHourMaxAgeRecurring[] = {
389 {kEnableServerDrivenBackgroundRefreshSchedule, "true"},
390 {kEnableRecurringBackgroundRefreshSchedule, "true"},
391 {kMaxCacheAgeInSeconds, /*6*60*60*/ "21600"},
392 {kBackgroundRefreshIntervalInSeconds, "0"}};
Ed Chin59f617b2022-07-19 22:12:04393
Ed Chin178ec2a2023-02-10 22:21:26394// Feed Background Refresh Feature Variations.
Ed Chin59f617b2022-07-19 22:12:04395const FeatureEntry::FeatureVariation kFeedBackgroundRefreshVariations[] = {
Ed Chin321b8fe2022-08-16 07:02:01396 {"1hr Interval 1hr Max Age Once", kOneHourIntervalOneHourMaxAgeOnce,
397 std::size(kOneHourIntervalOneHourMaxAgeOnce), nullptr},
398 {"4hr Interval 6hr Max Age Once", kFourHourIntervalSixHourMaxAgeOnce,
399 std::size(kFourHourIntervalSixHourMaxAgeOnce), nullptr},
400 {"1hr Interval 1hr Max Age Recurring",
401 kOneHourIntervalOneHourMaxAgeRecurring,
402 std::size(kOneHourIntervalOneHourMaxAgeRecurring), nullptr},
403 {"4hr Interval 6hr Max Age Recurring",
404 kFourHourIntervalSixHourMaxAgeRecurring,
405 std::size(kFourHourIntervalSixHourMaxAgeRecurring), nullptr},
406 {"Server Driven 1hr Max Age Once", kServerDrivenOneHourMaxAgeOnce,
407 std::size(kServerDrivenOneHourMaxAgeOnce), nullptr},
408 {"Server Driven 1hr Max Age Recurring", kServerDrivenOneHourMaxAgeRecurring,
409 std::size(kServerDrivenOneHourMaxAgeRecurring), nullptr},
410 {"Server Driven 6hr Max Age Once", kServerDrivenSixHourMaxAgeOnce,
411 std::size(kServerDrivenSixHourMaxAgeOnce), nullptr},
412 {"Server Driven 6hr Max Age Recurring", kServerDrivenSixHourMaxAgeRecurring,
413 std::size(kServerDrivenSixHourMaxAgeRecurring), nullptr},
Ed Chin59f617b2022-07-19 22:12:04414};
Ed Chin91e44992022-07-27 13:42:34415#endif // BUILDFLAG(IOS_BACKGROUND_MODE_ENABLED)
Ed Chin59f617b2022-07-19 22:12:04416
David Jeanf361ae9d2024-04-09 08:19:47417const FeatureEntry::FeatureParam kEnableExpKitTextClassifierAddressOneTap[] = {
418 {kTextClassifierAddressParameterName, "true"}};
419const FeatureEntry::FeatureVariation
420 kEnableExpKitTextClassifierAddressVariations[] = {
421 {"Long-Press and One-Tap", kEnableExpKitTextClassifierAddressOneTap,
422 std::size(kEnableExpKitTextClassifierAddressOneTap), nullptr}};
423
424const FeatureEntry::FeatureParam
425 kEnableExpKitTextClassifierPhoneNumberOneTap[] = {
426 {kTextClassifierPhoneNumberParameterName, "true"}};
427const FeatureEntry::FeatureVariation
428 kEnableExpKitTextClassifierPhoneNumberVariations[] = {
429 {"Long-Press and One-Tap", kEnableExpKitTextClassifierPhoneNumberOneTap,
430 std::size(kEnableExpKitTextClassifierPhoneNumberOneTap), nullptr}};
431
432const FeatureEntry::FeatureParam kEnableExpKitTextClassifierEmailOneTap[] = {
433 {kTextClassifierEmailParameterName, "true"}};
434const FeatureEntry::FeatureVariation
435 kEnableExpKitTextClassifierEmailVariations[] = {
436 {"Long-Press and One-Tap", kEnableExpKitTextClassifierEmailOneTap,
437 std::size(kEnableExpKitTextClassifierEmailOneTap), nullptr}};
Raj T18a2c8c2023-03-15 17:20:15438
Christian Xu07d600192023-07-24 12:29:52439const FeatureEntry::FeatureParam kBottomOmniboxDefaultSettingTop[] = {
440 {kBottomOmniboxDefaultSettingParam, kBottomOmniboxDefaultSettingParamTop}};
441const FeatureEntry::FeatureParam kBottomOmniboxDefaultSettingBottom[] = {
442 {kBottomOmniboxDefaultSettingParam,
443 kBottomOmniboxDefaultSettingParamBottom}};
444const FeatureEntry::FeatureParam kBottomOmniboxDefaultSettingSafariSwitcher[] =
445 {{kBottomOmniboxDefaultSettingParam,
446 kBottomOmniboxDefaultSettingParamSafariSwitcher}};
447const FeatureEntry::FeatureVariation kBottomOmniboxDefaultSettingVariations[] =
448 {
449 {"Top", kBottomOmniboxDefaultSettingTop,
450 std::size(kBottomOmniboxDefaultSettingTop), nullptr},
451 {"Bottom", kBottomOmniboxDefaultSettingBottom,
452 std::size(kBottomOmniboxDefaultSettingBottom), nullptr},
453 {"Bottom for Safari Switcher",
454 kBottomOmniboxDefaultSettingSafariSwitcher,
455 std::size(kBottomOmniboxDefaultSettingSafariSwitcher), nullptr},
456};
457
Cheick Cisse85457f22024-05-23 22:37:59458constexpr flags_ui::FeatureEntry::FeatureParam kPriceInsightsPriceIsLowParam[] =
459 {{kLowPriceParam, kLowPriceParamPriceIsLow}};
460constexpr flags_ui::FeatureEntry::FeatureParam
461 kPriceInsightsGoodDealNowParam[] = {
462 {kLowPriceParam, kLowPriceParamGoodDealNow}};
463constexpr flags_ui::FeatureEntry::FeatureParam
464 kPriceInsightsSeePriceHistoryParam[] = {
465 {kLowPriceParam, kLowPriceParamSeePriceHistory}};
466constexpr flags_ui::FeatureEntry::FeatureVariation kPriceInsightsVariations[] =
467 {{"Price is low", kPriceInsightsPriceIsLowParam,
468 std::size(kPriceInsightsPriceIsLowParam), nullptr},
469 {"Good deal now", kPriceInsightsGoodDealNowParam,
470 std::size(kPriceInsightsGoodDealNowParam), nullptr},
471 {"See price history", kPriceInsightsSeePriceHistoryParam,
472 std::size(kPriceInsightsSeePriceHistoryParam), nullptr}};
473
Olivier ROBIN82b67002023-07-31 14:34:46474const FeatureEntry::FeatureParam kOneTapForMapsConsentModeDefault[] = {
475 {web::features::kOneTapForMapsConsentModeParamTitle,
476 web::features::kOneTapForMapsConsentModeDefaultParam}};
477const FeatureEntry::FeatureParam kOneTapForMapsConsentModeForced[] = {
478 {web::features::kOneTapForMapsConsentModeParamTitle,
479 web::features::kOneTapForMapsConsentModeForcedParam}};
480const FeatureEntry::FeatureParam kOneTapForMapsConsentModeDisabled[] = {
481 {web::features::kOneTapForMapsConsentModeParamTitle,
482 web::features::kOneTapForMapsConsentModeDisabledParam}};
Olivier ROBIN333f0b542023-09-01 14:53:31483const FeatureEntry::FeatureParam kOneTapForMapsConsentModeIPH[] = {
484 {web::features::kOneTapForMapsConsentModeParamTitle,
485 web::features::kOneTapForMapsConsentModeIPHParam}};
486const FeatureEntry::FeatureParam kOneTapForMapsConsentModeIPHForced[] = {
487 {web::features::kOneTapForMapsConsentModeParamTitle,
488 web::features::kOneTapForMapsConsentModeIPHForcedParam}};
Olivier ROBIN82b67002023-07-31 14:34:46489const FeatureEntry::FeatureVariation kOneTapForMapsWithVariations[] = {
490 {"Consent Default", kOneTapForMapsConsentModeDefault,
491 std::size(kOneTapForMapsConsentModeDefault), nullptr},
492 {"Consent Forced", kOneTapForMapsConsentModeForced,
493 std::size(kOneTapForMapsConsentModeForced), nullptr},
Olivier ROBIN333f0b542023-09-01 14:53:31494 {"Consent IPH", kOneTapForMapsConsentModeIPH,
495 std::size(kOneTapForMapsConsentModeIPH), nullptr},
496 {"Consent IPH forced", kOneTapForMapsConsentModeIPHForced,
497 std::size(kOneTapForMapsConsentModeIPHForced), nullptr},
Olivier ROBIN82b67002023-07-31 14:34:46498 {"Consent Disabled", kOneTapForMapsConsentModeDisabled,
499 std::size(kOneTapForMapsConsentModeDisabled), nullptr},
500};
501
Benjamin Williams1dc8f2342024-01-04 21:25:55502const FeatureEntry::FeatureParam kIOSDockingPromoDisplayedAfterFRE[] = {
503 {kIOSDockingPromoExperimentType, "0"}};
504const FeatureEntry::FeatureParam kIOSDockingPromoDisplayedAtAppLaunch[] = {
505 {kIOSDockingPromoExperimentType, "1"}};
506const FeatureEntry::FeatureParam kIOSDockingPromoDisplayedDuringFRE[] = {
507 {kIOSDockingPromoExperimentType, "2"}};
508
509const FeatureEntry::FeatureVariation kIOSDockingPromoVariations[] = {
510 {"Display promo after FRE", kIOSDockingPromoDisplayedAfterFRE,
511 std::size(kIOSDockingPromoDisplayedAfterFRE), nullptr},
512 {"Display promo at app launch", kIOSDockingPromoDisplayedAtAppLaunch,
513 std::size(kIOSDockingPromoDisplayedAtAppLaunch), nullptr},
514 {"Display promo during FRE", kIOSDockingPromoDisplayedDuringFRE,
515 std::size(kIOSDockingPromoDisplayedDuringFRE), nullptr}};
516
Olivier ROBINcb76f4fe2024-06-05 16:11:42517const FeatureEntry::FeatureVariation
518 kImageServiceOptimizationGuideSalientImagesVariations[] = {
519 {"High Performance Canonicalization", nullptr, 0, "3362133"},
520};
521
Olivier ROBINb17c14b92024-10-09 13:49:13522const FeatureEntry::FeatureParam kTabResumptionImagesOnlyThumbnail[] = {
523 {kTabResumptionImagesTypes, kTabResumptionImagesTypesThumbnails}};
524const FeatureEntry::FeatureParam kTabResumptionImagesOnlySalient[] = {
525 {kTabResumptionImagesTypes, kTabResumptionImagesTypesSalient}};
526
527const FeatureEntry::FeatureVariation kTabResumptionImagesVariations[] = {
528 {"Only thumbnails", kTabResumptionImagesOnlyThumbnail,
529 std::size(kTabResumptionImagesOnlyThumbnail), nullptr},
530 {"Only salient", kTabResumptionImagesOnlySalient,
531 std::size(kTabResumptionImagesOnlySalient), nullptr},
532};
533
Charles Yangf8e7adf2024-06-11 00:17:00534// Uses int values from Lens filters ablation mode enum.
535const FeatureEntry::FeatureParam kLensFiltersAblationModeDisabled[] = {
536 {kLensFiltersAblationMode, "0"}};
537const FeatureEntry::FeatureParam kLensFiltersAblationModePostCapture[] = {
538 {kLensFiltersAblationMode, "1"}};
539const FeatureEntry::FeatureParam kLensFiltersAblationModeLVF[] = {
540 {kLensFiltersAblationMode, "2"}};
541const FeatureEntry::FeatureParam kLensFiltersAblationModeAlways[] = {
542 {kLensFiltersAblationMode, "3"}};
543
544const FeatureEntry::FeatureVariation kLensFiltersAblationModeVariations[] = {
545 {"(Disabled)", kLensFiltersAblationModeDisabled,
546 std::size(kLensFiltersAblationModeDisabled), nullptr},
547 {"(Post Capture)", kLensFiltersAblationModePostCapture,
548 std::size(kLensFiltersAblationModePostCapture), nullptr},
549 {"(LVF)", kLensFiltersAblationModeLVF,
550 std::size(kLensFiltersAblationModeLVF), nullptr},
551 {"(Always)", kLensFiltersAblationModeAlways,
552 std::size(kLensFiltersAblationModeAlways), nullptr}};
553
554// Uses int values from Lens translate toggle mode enum.
555const FeatureEntry::FeatureParam kLensTranslateToggleModeDisabled[] = {
556 {kLensTranslateToggleMode, "0"}};
557const FeatureEntry::FeatureParam kLensTranslateToggleModePostCapture[] = {
558 {kLensTranslateToggleMode, "1"}};
559const FeatureEntry::FeatureParam kLensTranslateToggleModeLVF[] = {
560 {kLensTranslateToggleMode, "2"}};
561const FeatureEntry::FeatureParam kLensTranslateToggleModeAlways[] = {
562 {kLensTranslateToggleMode, "3"}};
563
564const FeatureEntry::FeatureVariation kLensTranslateToggleModeVariations[] = {
565 {"(Disabled)", kLensTranslateToggleModeDisabled,
566 std::size(kLensTranslateToggleModeDisabled), nullptr},
567 {"(Post Capture)", kLensTranslateToggleModePostCapture,
568 std::size(kLensTranslateToggleModePostCapture), nullptr},
569 {"(LVF)", kLensTranslateToggleModeLVF,
570 std::size(kLensTranslateToggleModeLVF), nullptr},
571 {"(Always)", kLensTranslateToggleModeAlways,
572 std::size(kLensTranslateToggleModeAlways), nullptr}};
Olivier Robinf8374f12024-06-05 19:00:04573
Ewann Pelle1f48f922025-01-13 11:43:34574const FeatureEntry::FeatureParam kTabGroupIndicatorAboveButtonsVisble[] = {
575 {kTabGroupIndicatorVisible, "true"},
576 {kTabGroupIndicatorBelowOmnibox, "false"},
577 {kTabGroupIndicatorButtonsUpdate, "true"}};
578const FeatureEntry::FeatureParam kTabGroupIndicatorBelowButtonsVisble[] = {
579 {kTabGroupIndicatorVisible, "true"},
580 {kTabGroupIndicatorBelowOmnibox, "true"},
581 {kTabGroupIndicatorButtonsUpdate, "true"}};
582const FeatureEntry::FeatureParam kTabGroupIndicatorAboveVisble[] = {
583 {kTabGroupIndicatorVisible, "true"},
584 {kTabGroupIndicatorBelowOmnibox, "false"},
585 {kTabGroupIndicatorButtonsUpdate, "false"}};
586const FeatureEntry::FeatureParam kTabGroupIndicatorBelowVisble[] = {
587 {kTabGroupIndicatorVisible, "true"},
588 {kTabGroupIndicatorBelowOmnibox, "true"},
589 {kTabGroupIndicatorButtonsUpdate, "false"}};
590const FeatureEntry::FeatureParam kTabGroupIndicatorButtons[] = {
591 {kTabGroupIndicatorVisible, "false"},
592 {kTabGroupIndicatorBelowOmnibox, "false"},
593 {kTabGroupIndicatorButtonsUpdate, "true"}};
594
595const FeatureEntry::FeatureVariation kTabGroupIndicatorVariations[] = {
596 {"Indicator above omnibox + buttons update",
597 kTabGroupIndicatorAboveButtonsVisble,
598 std::size(kTabGroupIndicatorAboveButtonsVisble), nullptr},
599 {"Indicator below omnibox + buttons update",
600 kTabGroupIndicatorBelowButtonsVisble,
601 std::size(kTabGroupIndicatorBelowButtonsVisble), nullptr},
602 {"Indicator above omnibox", kTabGroupIndicatorAboveVisble,
603 std::size(kTabGroupIndicatorAboveVisble), nullptr},
604 {"Indicator below omnibox", kTabGroupIndicatorBelowVisble,
605 std::size(kTabGroupIndicatorBelowVisble), nullptr},
606 {"buttons update only", kTabGroupIndicatorButtons,
607 std::size(kTabGroupIndicatorButtons), nullptr}};
608
Khalid Peer7cf75a22024-06-13 17:25:49609const FeatureEntry::FeatureParam
610 kMlUrlPiecewiseMappedSearchBlendingAdjustedBy0[] = {
611 {"MlUrlPiecewiseMappedSearchBlending", "true"},
612 {"MlUrlPiecewiseMappedSearchBlending_BreakPoints",
613 "0,550;0.018,1300;0.14,1398;1,1422"},
614 {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1400"},
615 {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}};
616const FeatureEntry::FeatureParam
Khalid Peer9c07798f2024-07-15 22:39:41617 kMlUrlPiecewiseMappedSearchBlendingDemotedBy50[] = {
Khalid Peer7cf75a22024-06-13 17:25:49618 {"MlUrlPiecewiseMappedSearchBlending", "true"},
619 {"MlUrlPiecewiseMappedSearchBlending_BreakPoints",
620 "0,550;0.018,1250;0.14,1348;1,1422"},
621 {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1350"},
622 {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}};
623const FeatureEntry::FeatureParam
Khalid Peer9c07798f2024-07-15 22:39:41624 kMlUrlPiecewiseMappedSearchBlendingPromotedBy50[] = {
Khalid Peer7cf75a22024-06-13 17:25:49625 {"MlUrlPiecewiseMappedSearchBlending", "true"},
626 {"MlUrlPiecewiseMappedSearchBlending_BreakPoints",
Khalid Peer9c07798f2024-07-15 22:39:41627 "0,550;0.018,1350;0.14,1448;1,1472"},
628 {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1450"},
Khalid Peer7cf75a22024-06-13 17:25:49629 {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}};
630const FeatureEntry::FeatureParam
Khalid Peer9c07798f2024-07-15 22:39:41631 kMlUrlPiecewiseMappedSearchBlendingPromotedBy100[] = {
Khalid Peer7cf75a22024-06-13 17:25:49632 {"MlUrlPiecewiseMappedSearchBlending", "true"},
633 {"MlUrlPiecewiseMappedSearchBlending_BreakPoints",
Khalid Peer9c07798f2024-07-15 22:39:41634 "0,550;0.018,1400;0.14,1498;1,1522"},
635 {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1500"},
Khalid Peer7cf75a22024-06-13 17:25:49636 {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}};
Khalid Peer4501c1f2024-06-27 16:12:04637const FeatureEntry::FeatureParam
638 kMlUrlPiecewiseMappedSearchBlendingMobileMapping[] = {
639 {"MlUrlPiecewiseMappedSearchBlending", "true"},
640 {"MlUrlPiecewiseMappedSearchBlending_BreakPoints",
Khalid Peer5c9bd9e2024-07-17 17:16:42641 "0,590;0.006,790;0.082,1290;0.443,1360;0.464,1400;0.987,1425;1,1530"},
Khalid Peer4501c1f2024-06-27 16:12:04642 {"MlUrlPiecewiseMappedSearchBlending_GroupingThreshold", "1340"},
643 {"MlUrlPiecewiseMappedSearchBlending_RelevanceBias", "0"}};
Khalid Peer7cf75a22024-06-13 17:25:49644
645const FeatureEntry::FeatureVariation
646 kMlUrlPiecewiseMappedSearchBlendingVariations[] = {
647 {"adjusted by 0", kMlUrlPiecewiseMappedSearchBlendingAdjustedBy0,
648 std::size(kMlUrlPiecewiseMappedSearchBlendingAdjustedBy0), nullptr},
Khalid Peer9c07798f2024-07-15 22:39:41649 {"demoted by 50", kMlUrlPiecewiseMappedSearchBlendingDemotedBy50,
650 std::size(kMlUrlPiecewiseMappedSearchBlendingDemotedBy50), nullptr},
651 {"promoted by 50", kMlUrlPiecewiseMappedSearchBlendingPromotedBy50,
652 std::size(kMlUrlPiecewiseMappedSearchBlendingPromotedBy50), nullptr},
653 {"promoted by 100", kMlUrlPiecewiseMappedSearchBlendingPromotedBy100,
654 std::size(kMlUrlPiecewiseMappedSearchBlendingPromotedBy100), nullptr},
Khalid Peer4501c1f2024-06-27 16:12:04655 {"mobile mapping", kMlUrlPiecewiseMappedSearchBlendingMobileMapping,
656 std::size(kMlUrlPiecewiseMappedSearchBlendingMobileMapping), nullptr},
Khalid Peer7cf75a22024-06-13 17:25:49657};
658
659const FeatureEntry::FeatureParam kOmniboxMlUrlScoringEnabledWithFixes[] = {
660 {"enable_scoring_signals_annotators_for_ml_scoring", "true"},
661 {"MlUrlScoringShortcutDocumentSignals", "true"},
662};
663const FeatureEntry::FeatureParam kOmniboxMlUrlScoringUnlimitedNumCandidates[] =
664 {
665 {"MlUrlScoringUnlimitedNumCandidates", "true"},
666 {"enable_scoring_signals_annotators_for_ml_scoring", "true"},
667 {"MlUrlScoringShortcutDocumentSignals", "true"},
668};
669// Sets Bookmark(1), History Quick(4), History URL(8), Shortcuts(64),
670// Document(512), and History Fuzzy(65536) providers max matches to 10.
671const FeatureEntry::FeatureParam kOmniboxMlUrlScoringMaxMatchesByProvider10[] =
672 {
673 {"MlUrlScoringMaxMatchesByProvider",
674 "1:10,4:10,8:10,64:10,512:10,65536:10"},
675 {"enable_scoring_signals_annotators_for_ml_scoring", "true"},
676 {"MlUrlScoringShortcutDocumentSignals", "true"},
677};
678
679const FeatureEntry::FeatureVariation kOmniboxMlUrlScoringVariations[] = {
680 {"Enabled with fixes", kOmniboxMlUrlScoringEnabledWithFixes,
681 std::size(kOmniboxMlUrlScoringEnabledWithFixes), nullptr},
682 {"unlimited suggestion candidates",
683 kOmniboxMlUrlScoringUnlimitedNumCandidates,
684 std::size(kOmniboxMlUrlScoringUnlimitedNumCandidates), nullptr},
685 {"Increase provider max limit to 10",
686 kOmniboxMlUrlScoringMaxMatchesByProvider10,
687 std::size(kOmniboxMlUrlScoringMaxMatchesByProvider10), nullptr},
688};
689
690const FeatureEntry::FeatureParam kMlUrlSearchBlendingStable[] = {
691 {"MlUrlSearchBlending_StableSearchBlending", "true"},
692 {"MlUrlSearchBlending_MappedSearchBlending", "false"},
693};
694const FeatureEntry::FeatureParam kMlUrlSearchBlendingMappedConservativeUrls[] =
695 {
696 {"MlUrlSearchBlending_StableSearchBlending", "false"},
697 {"MlUrlSearchBlending_MappedSearchBlending", "true"},
698 {"MlUrlSearchBlending_MappedSearchBlendingMin", "0"},
699 {"MlUrlSearchBlending_MappedSearchBlendingMax", "2000"},
700 {"MlUrlSearchBlending_MappedSearchBlendingGroupingThreshold", "1000"},
701};
702const FeatureEntry::FeatureParam kMlUrlSearchBlendingMappedModerateUrls[] = {
703 {"MlUrlSearchBlending_StableSearchBlending", "false"},
704 {"MlUrlSearchBlending_MappedSearchBlending", "true"},
705};
706const FeatureEntry::FeatureParam kMlUrlSearchBlendingMappedAggressiveUrls[] = {
707 {"MlUrlSearchBlending_StableSearchBlending", "false"},
708 {"MlUrlSearchBlending_MappedSearchBlending", "true"},
709 {"MlUrlSearchBlending_MappedSearchBlendingMin", "1000"},
710 {"MlUrlSearchBlending_MappedSearchBlendingMax", "4000"},
711 {"MlUrlSearchBlending_MappedSearchBlendingGroupingThreshold", "1500"},
712};
713
714const FeatureEntry::FeatureVariation kMlUrlSearchBlendingVariations[] = {
715 {"Stable", kMlUrlSearchBlendingStable,
716 std::size(kMlUrlSearchBlendingStable), nullptr},
717 {"Mapped conservative urls", kMlUrlSearchBlendingMappedConservativeUrls,
718 std::size(kMlUrlSearchBlendingMappedConservativeUrls), nullptr},
719 {"Mapped moderate urls", kMlUrlSearchBlendingMappedModerateUrls,
720 std::size(kMlUrlSearchBlendingMappedModerateUrls), nullptr},
721 {"Mapped aggressive urls", kMlUrlSearchBlendingMappedAggressiveUrls,
722 std::size(kMlUrlSearchBlendingMappedAggressiveUrls), nullptr},
723};
724
Khalid Peer4501c1f2024-06-27 16:12:04725const FeatureEntry::FeatureVariation kUrlScoringModelVariations[] = {
726 {"Small model", nullptr, 0, "3379590"},
727 {"Full model", nullptr, 0, "3380197"},
728};
729
Benjamin Williams0594caf2024-07-09 17:51:38730const FeatureEntry::FeatureParam kSafetyCheckNotificationsVerbose[] = {
731 {kSafetyCheckNotificationsExperimentType, "0"}};
732const FeatureEntry::FeatureParam kSafetyCheckNotificationsSuccinct[] = {
733 {kSafetyCheckNotificationsExperimentType, "1"}};
734
735const FeatureEntry::FeatureVariation kSafetyCheckNotificationsVariations[] = {
736 {"Display multiple notifications at once", kSafetyCheckNotificationsVerbose,
737 std::size(kSafetyCheckNotificationsVerbose), nullptr},
738 {"Display one notification at a time", kSafetyCheckNotificationsSuccinct,
739 std::size(kSafetyCheckNotificationsSuccinct), nullptr}};
740
Elmehdi Rahmaouif5b76462024-06-24 10:44:46741const FeatureEntry::FeatureParam kSaveToPhotosContextMenuImprovement[] = {
742 {kSaveToPhotosContextMenuImprovementParam, "true"},
743 {kSaveToPhotosTitleImprovementParam, "false"},
744 {kSaveToPhotosAccountDefaultChoiceImprovementParam, "false"},
745};
746const FeatureEntry::FeatureParam kSaveToPhotosTitleImprovement[] = {
747 {kSaveToPhotosContextMenuImprovementParam, "false"},
748 {kSaveToPhotosTitleImprovementParam, "true"},
749 {kSaveToPhotosAccountDefaultChoiceImprovementParam, "false"},
750};
751const FeatureEntry::FeatureParam
752 kSaveToPhotosAccountDefaultChoiceImprovement[] = {
753 {kSaveToPhotosContextMenuImprovementParam, "false"},
754 {kSaveToPhotosTitleImprovementParam, "false"},
755 {kSaveToPhotosAccountDefaultChoiceImprovementParam, "true"},
756};
757
758const FeatureEntry::FeatureVariation kSaveToPhotosImprovementsVariations[] = {
759 {"With Context Menu improvement Only", kSaveToPhotosContextMenuImprovement,
760 std::size(kSaveToPhotosContextMenuImprovement), nullptr},
761 {"With Title improvement Only", kSaveToPhotosTitleImprovement,
762 std::size(kSaveToPhotosTitleImprovement), nullptr},
763 {"With Account Default choice improvement Only",
764 kSaveToPhotosAccountDefaultChoiceImprovement,
765 std::size(kSaveToPhotosAccountDefaultChoiceImprovement), nullptr},
766};
767
Stephen McGruer8fe98b62024-07-16 13:10:13768// LINT.IfChange(AutofillUploadCardRequestTimeouts)
769const FeatureEntry::FeatureParam
770 kAutofillUploadCardRequestTimeout_6Point5Seconds[] = {
771 {"autofill_upload_card_request_timeout_milliseconds", "6500"}};
772const FeatureEntry::FeatureParam kAutofillUploadCardRequestTimeout_7Seconds[] =
773 {{"autofill_upload_card_request_timeout_milliseconds", "7000"}};
774const FeatureEntry::FeatureParam kAutofillUploadCardRequestTimeout_9Seconds[] =
775 {{"autofill_upload_card_request_timeout_milliseconds", "9000"}};
776const FeatureEntry::FeatureVariation
777 kAutofillUploadCardRequestTimeoutOptions[] = {
778 {"6.5 seconds", kAutofillUploadCardRequestTimeout_6Point5Seconds,
779 std::size(kAutofillUploadCardRequestTimeout_6Point5Seconds), nullptr},
780 {"7 seconds", kAutofillUploadCardRequestTimeout_7Seconds,
781 std::size(kAutofillUploadCardRequestTimeout_7Seconds), nullptr},
782 {"9 seconds", kAutofillUploadCardRequestTimeout_9Seconds,
783 std::size(kAutofillUploadCardRequestTimeout_9Seconds), nullptr}};
Benjamin Williamse589c382024-07-30 12:11:03784// LINT.ThenChange(/chrome/browser/about_flags.cc:AutofillUploadCardRequestTimeouts)
Stephen McGruer8fe98b62024-07-16 13:10:13785
Stephen McGruer0904cae2024-07-17 19:54:46786// LINT.IfChange(AutofillVcnEnrollRequestTimeouts)
787const FeatureEntry::FeatureParam kAutofillVcnEnrollRequestTimeout_5Seconds[] = {
788 {"autofill_vcn_enroll_request_timeout_milliseconds", "5000"}};
789const FeatureEntry::FeatureParam
790 kAutofillVcnEnrollRequestTimeout_7Point5Seconds[] = {
791 {"autofill_vcn_enroll_request_timeout_milliseconds", "7500"}};
792const FeatureEntry::FeatureParam kAutofillVcnEnrollRequestTimeout_10Seconds[] =
793 {{"autofill_vcn_enroll_request_timeout_milliseconds", "10000"}};
794const FeatureEntry::FeatureVariation kAutofillVcnEnrollRequestTimeoutOptions[] =
795 {{"5 seconds", kAutofillVcnEnrollRequestTimeout_5Seconds,
796 std::size(kAutofillVcnEnrollRequestTimeout_5Seconds), nullptr},
797 {"7.5 seconds", kAutofillVcnEnrollRequestTimeout_7Point5Seconds,
798 std::size(kAutofillVcnEnrollRequestTimeout_7Point5Seconds), nullptr},
799 {"10 seconds", kAutofillVcnEnrollRequestTimeout_10Seconds,
800 std::size(kAutofillVcnEnrollRequestTimeout_10Seconds), nullptr}};
Benjamin Williamse589c382024-07-30 12:11:03801// LINT.ThenChange(/chrome/browser/about_flags.cc:AutofillVcnEnrollRequestTimeouts)
Stephen McGruer0904cae2024-07-17 19:54:46802
Nicolas MacBethc738c4e2024-07-19 21:14:19803// Contextual Panel flag variations.
804const FeatureEntry::FeatureParam kContextualPanelRichIPHArms[] = {
805 {"entrypoint-highlight-iph", "true"},
806 {"entrypoint-rich-iph", "true"},
807};
808const FeatureEntry::FeatureParam kContextualPanelSmallIPHArm[] = {
809 {"entrypoint-highlight-iph", "false"},
810 {"entrypoint-rich-iph", "false"},
811};
812const FeatureEntry::FeatureParam
813 kContextualPanelSmallIPHWithBlueHighlightArm[] = {
814 {"entrypoint-highlight-iph", "true"},
815 {"entrypoint-rich-iph", "false"},
816};
817
818const FeatureEntry::FeatureVariation kContextualPanelEntrypointArmVariations[] =
819 {
820 {"- Rich IPH", kContextualPanelRichIPHArms,
821 std::size(kContextualPanelRichIPHArms), nullptr},
822 {"- Small IPH, no blue highlight", kContextualPanelSmallIPHArm,
823 std::size(kContextualPanelSmallIPHArm), nullptr},
824 {"- Small IPH with blue highlight",
825 kContextualPanelSmallIPHWithBlueHighlightArm,
826 std::size(kContextualPanelSmallIPHWithBlueHighlightArm), nullptr},
827};
828
Joodcbce3fe2025-03-12 15:34:57829const FeatureEntry::FeatureParam kIdentityDiscAccountMenuWithSettings[] = {
830 {kShowSettingsInAccountMenuParam, "true"},
831};
Jood943cbb12025-02-20 17:02:27832const FeatureEntry::FeatureVariation kIdentityDiscAccountMenuVariations[] = {
Joodcbce3fe2025-03-12 15:34:57833 {" - with settings button", kIdentityDiscAccountMenuWithSettings,
834 std::size(kIdentityDiscAccountMenuWithSettings), nullptr},
Jood943cbb12025-02-20 17:02:27835};
836
Jood Hajeer3867886d2024-07-29 16:15:35837const FeatureEntry::FeatureParam kIdentityConfirmationSnackbarTestingConfig[] =
Jood562c885f2024-09-05 17:06:55838 {{"IdentityConfirmationMinDisplayInterval1", "0"},
839 {"IdentityConfirmationMinDisplayInterval2", "0"},
840 {"IdentityConfirmationMinDisplayInterval3", "0"}};
Jood Hajeer3867886d2024-07-29 16:15:35841const FeatureEntry::FeatureVariation
842 kIdentityConfirmationSnackbarTestingVariations[] = {
843 {" - for testing", kIdentityConfirmationSnackbarTestingConfig,
844 std::size(kIdentityConfirmationSnackbarTestingConfig), nullptr}};
845
Chris Lu4c688e02024-09-07 00:48:08846const FeatureEntry::FeatureParam kPriceTrackingPromoForceShowArm[] = {
847 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamseecd4552024-10-28 19:04:05848 segmentation_platform::kPriceTrackingNotificationPromo},
Chris Lu4c688e02024-09-07 00:48:08849};
850const FeatureEntry::FeatureParam kPriceTrackingPromoForceHideArm[] = {
851 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamseecd4552024-10-28 19:04:05852 segmentation_platform::kPriceTrackingNotificationPromo},
Chris Lu4c688e02024-09-07 00:48:08853};
854
Gloria Fang02964a442025-02-06 19:21:18855// ShopCard variants
856const FeatureEntry::FeatureParam kPriceDropForTrackedProductsArm[] = {
857 {"ShopCardVariant", "arm_1"},
858};
859const FeatureEntry::FeatureParam kReviewsArm[] = {
860 {"ShopCardVariant", "arm_2"},
861};
862const FeatureEntry::FeatureParam kPriceDropOnTabArm[] = {
863 {"ShopCardVariant", "arm_3"},
864};
865const FeatureEntry::FeatureParam kPriceTrackableProductOnTabArm[] = {
866 {"ShopCardVariant", "arm_4"},
867};
David Maunder13d03fd12025-04-14 15:39:19868const FeatureEntry::FeatureParam kTabResumptionWithImpressionLimitsArm[] = {
869 {"ShopCardVariant", "arm_5"},
870};
David Maunder5588a222025-04-08 15:33:20871const FeatureEntry::FeatureParam kPriceDropForTrackedProductsFront[] = {
872 {"ShopCardVariant", "arm_1"},
873 {"ShopCardPosition", "shop_card_front"},
874};
David Maunder110189f2025-04-09 15:25:02875const FeatureEntry::FeatureParam kReviewsFrontt[] = {
876 {"ShopCardVariant", "arm_2"},
877 {"ShopCardPosition", "shop_card_front"},
878};
879const FeatureEntry::FeatureParam kPriceDropOnTabFront[] = {
880 {"ShopCardVariant", "arm_3"},
881 {"ShopCardPosition", "shop_card_front"},
882};
883const FeatureEntry::FeatureParam kPriceTrackableProductOnTabFront[] = {
884 {"ShopCardVariant", "arm_4"},
885 {"ShopCardPosition", "shop_card_front"},
886};
David Maunder13d03fd12025-04-14 15:39:19887const FeatureEntry::FeatureParam kTabResumptionWithImpressionLimitsFront[] = {
888 {"ShopCardVariant", "arm_5"},
889 {"ShopCardPosition", "shop_card_front"},
890};
Gloria Fang02964a442025-02-06 19:21:18891
Benjamin Williamsd7f854b2024-10-09 17:12:27892// Address Bar Position
893const FeatureEntry::FeatureParam kTipsAddressBarPositionForceShowArm[] = {
894 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31895 segmentation_platform::kAddressBarPositionEphemeralModule},
Benjamin Williamsd7f854b2024-10-09 17:12:27896};
897const FeatureEntry::FeatureParam kTipsAddressBarPositionForceHideArm[] = {
898 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31899 segmentation_platform::kAddressBarPositionEphemeralModule},
Benjamin Williamsd7f854b2024-10-09 17:12:27900};
901
902// Autofill Passwords
903const FeatureEntry::FeatureParam kTipsAutofillPasswordsForceShowArm[] = {
904 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31905 segmentation_platform::kAutofillPasswordsEphemeralModule},
Benjamin Williamsd7f854b2024-10-09 17:12:27906};
907const FeatureEntry::FeatureParam kTipsAutofillPasswordsForceHideArm[] = {
908 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31909 segmentation_platform::kAutofillPasswordsEphemeralModule},
Benjamin Williamsd7f854b2024-10-09 17:12:27910};
911
912// Enhanced Safe Browsing
913const FeatureEntry::FeatureParam kTipsEnhancedSafeBrowsingForceShowArm[] = {
914 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31915 segmentation_platform::kEnhancedSafeBrowsingEphemeralModule},
Benjamin Williamsd7f854b2024-10-09 17:12:27916};
917const FeatureEntry::FeatureParam kTipsEnhancedSafeBrowsingForceHideArm[] = {
918 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31919 segmentation_platform::kEnhancedSafeBrowsingEphemeralModule},
Benjamin Williamsd7f854b2024-10-09 17:12:27920};
921
922// Lens Search
923const FeatureEntry::FeatureParam kTipsLensSearchForceShowArm[] = {
924 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31925 segmentation_platform::kLensEphemeralModuleSearchVariation},
Benjamin Williamsd7f854b2024-10-09 17:12:27926};
927const FeatureEntry::FeatureParam kTipsLensSearchForceHideArm[] = {
928 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31929 segmentation_platform::kLensEphemeralModuleSearchVariation},
Benjamin Williamsd7f854b2024-10-09 17:12:27930};
931
932// Lens Shop
933const FeatureEntry::FeatureParam kTipsLensShopForceShowArm[] = {
934 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31935 segmentation_platform::kLensEphemeralModuleShopVariation},
Benjamin Williamsd7f854b2024-10-09 17:12:27936};
937const FeatureEntry::FeatureParam kTipsLensShopForceHideArm[] = {
938 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31939 segmentation_platform::kLensEphemeralModuleShopVariation},
Benjamin Williamsd7f854b2024-10-09 17:12:27940};
941
942// Lens Translate
943const FeatureEntry::FeatureParam kTipsLensTranslateForceShowArm[] = {
944 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31945 segmentation_platform::kLensEphemeralModuleTranslateVariation},
Benjamin Williamsd7f854b2024-10-09 17:12:27946};
947const FeatureEntry::FeatureParam kTipsLensTranslateForceHideArm[] = {
948 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31949 segmentation_platform::kLensEphemeralModuleTranslateVariation},
Benjamin Williamsd7f854b2024-10-09 17:12:27950};
951
952// Save Passwords
953const FeatureEntry::FeatureParam kTipsSavePasswordsForceShowArm[] = {
954 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31955 segmentation_platform::kSavePasswordsEphemeralModule},
Benjamin Williamsd7f854b2024-10-09 17:12:27956};
957const FeatureEntry::FeatureParam kTipsSavePasswordsForceHideArm[] = {
958 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamsbd411e892024-10-25 15:59:31959 segmentation_platform::kSavePasswordsEphemeralModule},
Benjamin Williamsd7f854b2024-10-09 17:12:27960};
961
Hira Mahmood2ff5b5cb2024-10-25 19:24:31962const FeatureEntry::FeatureParam kSendTabPromoForceShowArm[] = {
963 {segmentation_platform::features::kEphemeralCardRankerForceShowCardParam,
Benjamin Williamseecd4552024-10-28 19:04:05964 segmentation_platform::kSendTabNotificationPromo},
Hira Mahmood2ff5b5cb2024-10-25 19:24:31965};
966const FeatureEntry::FeatureParam kSendTabPromoForceHideArm[] = {
967 {segmentation_platform::features::kEphemeralCardRankerForceHideCardParam,
Benjamin Williamseecd4552024-10-28 19:04:05968 segmentation_platform::kSendTabNotificationPromo},
Hira Mahmood2ff5b5cb2024-10-25 19:24:31969};
970
Gloria Fang02964a442025-02-06 19:21:18971// ShopCard experiment arms
972const FeatureEntry::FeatureVariation kShopCardOverrideOptions[] = {
973 {"Card 1 Price Drop", kPriceDropForTrackedProductsArm,
974 std::size(kPriceDropForTrackedProductsArm), nullptr},
975 {"Card 2 Reviews", kReviewsArm, std::size(kReviewsArm), nullptr},
976 {"Card 3 Price Drop on Tab Resumption", kPriceDropOnTabArm,
977 std::size(kPriceDropOnTabArm), nullptr},
978 {"Card 4 Price Trackable on Tab Resumption", kPriceTrackableProductOnTabArm,
979 std::size(kPriceTrackableProductOnTabArm), nullptr},
David Maunder13d03fd12025-04-14 15:39:19980 {"Card 5 Tab Resumption with Impression Limits",
981 kTabResumptionWithImpressionLimitsArm,
982 std::size(kTabResumptionWithImpressionLimitsArm), nullptr},
David Maunder5588a222025-04-08 15:33:20983 {"Card 1 Price Drop at front of magic stack",
984 kPriceDropForTrackedProductsFront,
985 std::size(kPriceDropForTrackedProductsFront), nullptr},
David Maunder110189f2025-04-09 15:25:02986 {"Card 2 Reviews at front of magic stack", kReviewsFrontt,
987 std::size(kReviewsFrontt), nullptr},
988 {"Card 3 Price Drop on Tab Resumption at front of magic stack",
989 kPriceDropOnTabFront, std::size(kPriceDropOnTabFront), nullptr},
990 {"Card 4 Price Trackable on Tab Resumption at front of magic stack",
991 kPriceTrackableProductOnTabFront,
992 std::size(kPriceTrackableProductOnTabFront), nullptr},
David Maunder13d03fd12025-04-14 15:39:19993 {"Card 5 Tab Resumption with Impression Limits at front of magic stack",
994 kTabResumptionWithImpressionLimitsFront,
995 std::size(kTabResumptionWithImpressionLimitsFront), nullptr},
Gloria Fang02964a442025-02-06 19:21:18996};
997
Chris Lu4c688e02024-09-07 00:48:08998const FeatureEntry::FeatureVariation kEphemeralCardRankerCardOverrideOptions[] =
999 {
1000 {"- Force Show Price Tracking Notification",
1001 kPriceTrackingPromoForceShowArm,
1002 std::size(kPriceTrackingPromoForceShowArm), nullptr},
1003 {"- Force Hide Price Tracking Notification",
1004 kPriceTrackingPromoForceHideArm,
1005 std::size(kPriceTrackingPromoForceHideArm), nullptr},
Benjamin Williamsd7f854b2024-10-09 17:12:271006
1007 // Address Bar Position
1008 {"- Force Show Address Bar Position Tip",
1009 kTipsAddressBarPositionForceShowArm,
1010 std::size(kTipsAddressBarPositionForceShowArm), nullptr},
1011 {"- Force Hide Address Bar Position Tip",
1012 kTipsAddressBarPositionForceHideArm,
1013 std::size(kTipsAddressBarPositionForceHideArm), nullptr},
1014
1015 // Autofill Passwords
1016 {"- Force Show Autofill Passwords Tip",
1017 kTipsAutofillPasswordsForceShowArm,
1018 std::size(kTipsAutofillPasswordsForceShowArm), nullptr},
1019 {"- Force Hide Autofill Passwords Tip",
1020 kTipsAutofillPasswordsForceHideArm,
1021 std::size(kTipsAutofillPasswordsForceHideArm), nullptr},
1022
1023 // Enhanced Safe Browsing
1024 {"- Force Show Enhanced Safe Browsing Tip",
1025 kTipsEnhancedSafeBrowsingForceShowArm,
1026 std::size(kTipsEnhancedSafeBrowsingForceShowArm), nullptr},
1027 {"- Force Hide Enhanced Safe Browsing Tip",
1028 kTipsEnhancedSafeBrowsingForceHideArm,
1029 std::size(kTipsEnhancedSafeBrowsingForceHideArm), nullptr},
1030
1031 // Lens Search
1032 {"- Force Show Lens Search Tip", kTipsLensSearchForceShowArm,
1033 std::size(kTipsLensSearchForceShowArm), nullptr},
1034 {"- Force Hide Lens Search Tip", kTipsLensSearchForceHideArm,
1035 std::size(kTipsLensSearchForceHideArm), nullptr},
1036
1037 // Lens Shop
1038 {"- Force Show Lens Shop Tip", kTipsLensShopForceShowArm,
1039 std::size(kTipsLensShopForceShowArm), nullptr},
1040 {"- Force Hide Lens Shop Tip", kTipsLensShopForceHideArm,
1041 std::size(kTipsLensShopForceHideArm), nullptr},
1042
1043 // Lens Translate
1044 {"- Force Show Lens Translate Tip", kTipsLensTranslateForceShowArm,
1045 std::size(kTipsLensTranslateForceShowArm), nullptr},
1046 {"- Force Hide Lens Translate Tip", kTipsLensTranslateForceHideArm,
1047 std::size(kTipsLensTranslateForceHideArm), nullptr},
1048
1049 // Save Passwords
1050 {"- Force Show Save Passwords Tip", kTipsSavePasswordsForceShowArm,
1051 std::size(kTipsSavePasswordsForceShowArm), nullptr},
1052 {"- Force Hide Save Passwords Tip", kTipsSavePasswordsForceHideArm,
1053 std::size(kTipsSavePasswordsForceHideArm), nullptr},
Hira Mahmood2ff5b5cb2024-10-25 19:24:311054
1055 // Send Tab Promo.
1056 {"- Force Show Send Tab Promo", kSendTabPromoForceShowArm,
1057 std::size(kSendTabPromoForceShowArm), nullptr},
1058 {"- Force Hide Send Tab Promo", kSendTabPromoForceHideArm,
1059 std::size(kSendTabPromoForceHideArm), nullptr},
Chris Lu4c688e02024-09-07 00:48:081060};
1061
Hira Mahmood00c17e52024-10-09 14:30:481062const FeatureEntry::FeatureParam
1063 kSendTabIOSPushNotificationsWithMagicStackCard[] = {
1064 {send_tab_to_self::kSendTabIOSPushNotificationsWithMagicStackCardParam,
1065 "true"}};
Hira Mahmood3db58ac2024-11-06 18:39:031066const FeatureEntry::FeatureParam kSendTabIOSPushNotificationsWithURLImage[] = {
1067 {send_tab_to_self::kSendTabIOSPushNotificationsURLImageParam, "true"}};
Benjamin Williams3dcd13102025-01-15 18:01:141068const FeatureEntry::FeatureParam
1069 kSendTabIOSPushNotificationsWithTabReminders[] = {
1070 {send_tab_to_self::kSendTabIOSPushNotificationsWithTabRemindersParam,
1071 "true"}};
1072
Hira Mahmood00c17e52024-10-09 14:30:481073const FeatureEntry::FeatureVariation kSendTabIOSPushNotificationsVariations[] =
1074 {
1075 {"With Magic Stack Card",
1076 kSendTabIOSPushNotificationsWithMagicStackCard,
1077 std::size(kSendTabIOSPushNotificationsWithMagicStackCard), nullptr},
Hira Mahmood3db58ac2024-11-06 18:39:031078 {"With URL Image", kSendTabIOSPushNotificationsWithURLImage,
1079 std::size(kSendTabIOSPushNotificationsWithURLImage), nullptr},
Benjamin Williams3dcd13102025-01-15 18:01:141080 {"With Tab Reminders", kSendTabIOSPushNotificationsWithTabReminders,
1081 std::size(kSendTabIOSPushNotificationsWithTabReminders), nullptr},
Hira Mahmood00c17e52024-10-09 14:30:481082};
1083
Briana McClurec2b62f92024-10-29 15:35:061084const FeatureEntry::FeatureParam kSegmentedDefaultBrowserStatic[] = {
1085 {kSegmentedDefaultBrowserExperimentType, "0"}};
1086const FeatureEntry::FeatureParam kSegmentedDefaultBrowserAnimated[] = {
1087 {kSegmentedDefaultBrowserExperimentType, "1"}};
1088
1089const FeatureEntry::FeatureVariation kSegmentedDefaultBrowserPromoVariations[] =
1090 {{" - Static Default Browser Promo", kSegmentedDefaultBrowserStatic,
1091 std::size(kSegmentedDefaultBrowserStatic), nullptr},
1092 {" - Animated Default Browser Promo", kSegmentedDefaultBrowserAnimated,
1093 std::size(kSegmentedDefaultBrowserAnimated), nullptr}};
1094
Rubin Deliallisi1d0b3ba2024-11-04 14:33:041095// Soft Lock
1096const FeatureEntry::FeatureParam kIOSSoftLockNoDelay[] = {
1097 {kIOSSoftLockBackgroundThresholdParam, "0m"},
1098};
1099
1100const FeatureEntry::FeatureVariation kIOSSoftLockVariations[] = {
1101 {" - No delay", kIOSSoftLockNoDelay, std::size(kIOSSoftLockNoDelay),
1102 nullptr}};
1103
Ameur Hosni3dc0ce1c2024-11-05 10:34:551104// Ipad ZPS limit.
1105const FeatureEntry::FeatureParam kIpadZPSOmniboxWith20Total0Trends[] = {
1106 {OmniboxFieldTrial::kIpadAdditionalTrendingQueries.name, "0"},
1107 {OmniboxFieldTrial::kIpadZPSLimit.name, "20"},
1108};
1109
1110const FeatureEntry::FeatureParam kIpadZPSOmniboxWith20Total5Trends[] = {
1111 {OmniboxFieldTrial::kIpadAdditionalTrendingQueries.name, "5"},
1112 {OmniboxFieldTrial::kIpadZPSLimit.name, "20"},
1113};
1114
1115constexpr FeatureEntry::FeatureVariation kIpadZpsLimitVariants[] = {
1116 {"20 total zps, 0 Trends on NTP", kIpadZPSOmniboxWith20Total0Trends,
1117 std::size(kIpadZPSOmniboxWith20Total0Trends), nullptr},
1118 {"20 total zps, 5 Trends on NTP", kIpadZPSOmniboxWith20Total5Trends,
1119 std::size(kIpadZPSOmniboxWith20Total0Trends), nullptr},
1120};
1121
Hira Mahmood431c8ab2024-11-05 17:16:291122const FeatureEntry::FeatureParam
1123 kIOSStartTimeStartupRemediationsSaveNTPWebStateArm[] = {
1124 {kIOSStartTimeStartupRemediationsSaveNTPWebState, "true"},
1125};
1126const FeatureEntry::FeatureVariation
1127 kIOSStartTimeStartupRemediationsVariations[] = {
1128 {" - Save NTP Web State",
1129 kIOSStartTimeStartupRemediationsSaveNTPWebStateArm,
1130 std::size(kIOSStartTimeStartupRemediationsSaveNTPWebStateArm),
1131 nullptr}};
1132
vincb7867dc042024-11-06 14:25:051133constexpr flags_ui::FeatureEntry::FeatureParam
1134 kAutofillThrottleDocFormScanShortPeriodParam[] = {{"period-ms", "250"}};
1135constexpr flags_ui::FeatureEntry::FeatureParam
1136 kAutofillThrottleDocFormScanMediumPeriodParam[] = {{"period-ms", "500"}};
1137constexpr flags_ui::FeatureEntry::FeatureParam
1138 kAutofillThrottleDocFormScanLongPeriodParam[] = {{"period-ms", "1000"}};
1139constexpr flags_ui::FeatureEntry::FeatureVariation
1140 kAutofillThrottleDocFormScanVariations[] = {
1141 {"Short period", kAutofillThrottleDocFormScanShortPeriodParam,
1142 std::size(kAutofillThrottleDocFormScanShortPeriodParam), nullptr},
1143 {"Medium period", kAutofillThrottleDocFormScanMediumPeriodParam,
1144 std::size(kAutofillThrottleDocFormScanMediumPeriodParam), nullptr},
1145 {"Long period", kAutofillThrottleDocFormScanLongPeriodParam,
1146 std::size(kAutofillThrottleDocFormScanLongPeriodParam), nullptr}};
1147
vincb2bf7f5c2024-11-06 17:18:091148constexpr flags_ui::FeatureEntry::FeatureParam
1149 kAutofillThrottleFilteredDocFormScanShortPeriodParam[] = {
1150 {"period-ms", "100"}};
1151constexpr flags_ui::FeatureEntry::FeatureParam
1152 kAutofillThrottleFilteredDocFormScanMediumPeriodParam[] = {
1153 {"period-ms", "250"}};
1154constexpr flags_ui::FeatureEntry::FeatureParam
1155 kAutofillThrottleFilteredDocFormScanLongPeriodParam[] = {
1156 {"period-ms", "500"}};
1157constexpr flags_ui::FeatureEntry::FeatureVariation
1158 kAutofillThrottleFilteredDocFormScanVariations[] = {
1159 {"Short period", kAutofillThrottleFilteredDocFormScanShortPeriodParam,
1160 std::size(kAutofillThrottleFilteredDocFormScanShortPeriodParam),
1161 nullptr},
1162 {"Medium period", kAutofillThrottleFilteredDocFormScanMediumPeriodParam,
1163 std::size(kAutofillThrottleFilteredDocFormScanMediumPeriodParam),
1164 nullptr},
1165 {"Long period", kAutofillThrottleFilteredDocFormScanLongPeriodParam,
1166 std::size(kAutofillThrottleFilteredDocFormScanLongPeriodParam),
1167 nullptr}};
1168
ginnnnnnny963c7fc2024-11-06 22:44:501169const FeatureEntry::FeatureParam kNewFeedPositioningArm2[] = {
1170 {kNewFeedPositioningCombinedMVTForHighEngaged, "true"},
1171 {kNewFeedPositioningCombinedMVTForMidEngaged, "false"},
1172 {kNewFeedPositioningCombinedMVTForLowEngaged, "false"},
ginnnnnnny963c7fc2024-11-06 22:44:501173};
1174
1175const FeatureEntry::FeatureParam kNewFeedPositioningArm3[] = {
1176 {kNewFeedPositioningCombinedMVTForHighEngaged, "true"},
1177 {kNewFeedPositioningCombinedMVTForMidEngaged, "true"},
1178 {kNewFeedPositioningCombinedMVTForLowEngaged, "false"},
ginnnnnnny963c7fc2024-11-06 22:44:501179};
1180
1181const FeatureEntry::FeatureVariation kNewFeedPositioningVariations[] = {
ginnnnnnnyd8c7b652024-12-19 19:11:471182 {"- update for high feed engagement", kNewFeedPositioningArm2,
ginnnnnnny963c7fc2024-11-06 22:44:501183 std::size(kNewFeedPositioningArm2), nullptr},
ginnnnnnnyd8c7b652024-12-19 19:11:471184 {"- update for high and mid feed engagement", kNewFeedPositioningArm3,
ginnnnnnny963c7fc2024-11-06 22:44:501185 std::size(kNewFeedPositioningArm3), nullptr},
ginnnnnnny963c7fc2024-11-06 22:44:501186};
1187
Hira Mahmoodf8533dc2024-11-12 16:24:251188const FeatureEntry::FeatureParam
1189 kIOSStartTimeBackgroundRemediationsAvoidNTPCleanupArm[] = {
1190 {kIOSStartTimeBackgroundRemediationsAvoidNTPCleanup, "true"},
1191 {kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefresh, "false"}};
1192const FeatureEntry::FeatureParam
1193 kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefreshArm[] = {
1194 {kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefresh, "true"},
1195 {kIOSStartTimeBackgroundRemediationsAvoidNTPCleanup, "false"}};
1196const FeatureEntry::FeatureVariation
1197 kIOSStartTimeBrowserBackgroundRemediationsVariations[] = {
1198 {" - Avoid NTP Cleanup",
1199 kIOSStartTimeBackgroundRemediationsAvoidNTPCleanupArm,
1200 std::size(kIOSStartTimeBackgroundRemediationsAvoidNTPCleanupArm),
1201 nullptr},
1202 {" - Update Feed Refresh",
1203 kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefreshArm,
1204 std::size(
1205 kIOSStartTimeBrowserBackgroundRemediationsUpdateFeedRefreshArm),
1206 nullptr}};
1207
Hira Mahmood664449872024-11-18 23:55:221208const FeatureEntry::FeatureParam kSetUpListInFirstRunArm1[] = {
1209 {set_up_list::kSetUpListInFirstRunParam, "1"}};
1210const FeatureEntry::FeatureParam kSetUpListInFirstRunArm2[] = {
1211 {set_up_list::kSetUpListInFirstRunParam, "2"}};
1212const FeatureEntry::FeatureParam kSetUpListInFirstRunArm3[] = {
1213 {set_up_list::kSetUpListInFirstRunParam, "3"}};
1214
1215const FeatureEntry::FeatureVariation kSetUpListInFirstRunVariations[] = {
1216 {" - Variation 1", kSetUpListInFirstRunArm1,
1217 std::size(kSetUpListInFirstRunArm1), nullptr},
1218 {" - Variation 2", kSetUpListInFirstRunArm2,
1219 std::size(kSetUpListInFirstRunArm2), nullptr},
1220 {" - Variation 3", kSetUpListInFirstRunArm3,
1221 std::size(kSetUpListInFirstRunArm3), nullptr}};
1222
Hira Mahmood7577c9b672024-12-12 20:29:121223const FeatureEntry::FeatureParam kSetUpListDuration3Days[] = {
Hira Mahmoodea14d202024-12-17 20:30:531224 {set_up_list::kSetUpListDurationParam, "2"}};
Hira Mahmood7577c9b672024-12-12 20:29:121225const FeatureEntry::FeatureParam kSetUpListDuration5Days[] = {
Hira Mahmoodea14d202024-12-17 20:30:531226 {set_up_list::kSetUpListDurationParam, "4"}};
Hira Mahmood7577c9b672024-12-12 20:29:121227const FeatureEntry::FeatureParam kSetUpListDuration7Days[] = {
Hira Mahmoodea14d202024-12-17 20:30:531228 {set_up_list::kSetUpListDurationParam, "6"}};
Hira Mahmood7577c9b672024-12-12 20:29:121229
1230const FeatureEntry::FeatureVariation kSetUpListDurationVariations[] = {
1231 {" - 3 Days", kSetUpListDuration3Days, std::size(kSetUpListDuration3Days),
1232 nullptr},
1233 {" - 5 Days", kSetUpListDuration5Days, std::size(kSetUpListDuration5Days),
1234 nullptr},
1235 {" - 7 Days", kSetUpListDuration7Days, std::size(kSetUpListDuration7Days),
1236 nullptr}};
1237
Hira Mahmoodf6906a82025-01-02 17:55:091238const FeatureEntry::FeatureParam kUpdatedFirstRunSequenceArm1[] = {
1239 {first_run::kUpdatedFirstRunSequenceParam, "1"}};
1240const FeatureEntry::FeatureParam kUpdatedFirstRunSequenceArm2[] = {
1241 {first_run::kUpdatedFirstRunSequenceParam, "2"}};
1242const FeatureEntry::FeatureParam kUpdatedFirstRunSequenceArm3[] = {
1243 {first_run::kUpdatedFirstRunSequenceParam, "3"}};
1244
1245const FeatureEntry::FeatureVariation kUpdatedFirstRunSequenceVariations[] = {
1246 {" - Default browser promo first", kUpdatedFirstRunSequenceArm1,
1247 std::size(kUpdatedFirstRunSequenceArm1), nullptr},
1248 {" - Remove sign in & sync conditionally", kUpdatedFirstRunSequenceArm2,
1249 std::size(kUpdatedFirstRunSequenceArm2), nullptr},
1250 {" - DB promo first and remove sign in & sync",
1251 kUpdatedFirstRunSequenceArm3, std::size(kUpdatedFirstRunSequenceArm3),
1252 nullptr}};
Elmehdi Rahmaoui2fc19782025-01-28 15:36:481253
Elmehdi Rahmaoui543d35f2025-01-16 10:09:421254const FeatureEntry::FeatureParam
1255 kYoutubeIncognitoErrorHandlingWithoutIncognitoInterstitial[] = {
1256 {kYoutubeIncognitoErrorHandlingWithoutIncognitoInterstitialParam,
1257 "true"},
1258};
Elmehdi Rahmaoui2fc19782025-01-28 15:36:481259
1260const FeatureEntry::FeatureParam kYoutubeIncognitoTargetAllowListed[] = {
1261 {kYoutubeIncognitoTargetApps, kYoutubeIncognitoTargetAppsAllowlisted},
1262};
1263const FeatureEntry::FeatureParam kYoutubeIncognitoTargetFirstParty[] = {
1264 {kYoutubeIncognitoTargetApps, kYoutubeIncognitoTargetAppsFirstParty},
1265};
1266const FeatureEntry::FeatureParam kYoutubeIncognitoTargetAll[] = {
1267 {kYoutubeIncognitoTargetApps, kYoutubeIncognitoTargetAppsAll},
1268};
1269
Elmehdi Rahmaoui543d35f2025-01-16 10:09:421270const FeatureEntry::FeatureVariation kYoutubeIncognitoVariations[] = {
1271 {"Error handling without Incognito Interstitial",
1272 kYoutubeIncognitoErrorHandlingWithoutIncognitoInterstitial,
1273 std::size(kYoutubeIncognitoErrorHandlingWithoutIncognitoInterstitial),
1274 nullptr},
Elmehdi Rahmaoui2fc19782025-01-28 15:36:481275 {"Enable for listed apps", kYoutubeIncognitoTargetAllowListed,
1276 std::size(kYoutubeIncognitoTargetAllowListed), nullptr},
1277 {"Enable for first party apps", kYoutubeIncognitoTargetFirstParty,
1278 std::size(kYoutubeIncognitoTargetFirstParty), nullptr},
1279 {"Enable for all apps", kYoutubeIncognitoTargetAll,
1280 std::size(kYoutubeIncognitoTargetAll), nullptr},
Elmehdi Rahmaoui543d35f2025-01-16 10:09:421281};
1282
“Prasanaa”96e15992025-01-30 15:44:351283const FeatureEntry::FeatureParam kSlowFullscreenTransitionSpeed[] = {
1284 {kFullscreenTransitionSpeedParam, "0"}};
1285const FeatureEntry::FeatureParam kDefaultFullscreenTransitionSpeed[] = {
1286 {kFullscreenTransitionSpeedParam, "1"}};
1287const FeatureEntry::FeatureParam kFastFullscreenTransitionSpeed[] = {
1288 {kFullscreenTransitionSpeedParam, "2"}};
1289const FeatureEntry::FeatureParam kMediumFullscreenTransitionOffset[] = {
1290 {kMediumFullscreenTransitionOffsetParam, "true"}};
1291
1292const FeatureEntry::FeatureVariation kFullscreenTransitionVariations[] = {
1293 {"Slow speed", kSlowFullscreenTransitionSpeed,
1294 std::size(kSlowFullscreenTransitionSpeed), nullptr},
1295 {"Default speed", kDefaultFullscreenTransitionSpeed,
1296 std::size(kDefaultFullscreenTransitionSpeed), nullptr},
1297 {"Fast speed", kFastFullscreenTransitionSpeed,
1298 std::size(kFastFullscreenTransitionSpeed), nullptr},
1299 {"Medium offset", kMediumFullscreenTransitionOffset,
1300 std::size(kMediumFullscreenTransitionOffset), nullptr}};
1301
ginnnnnnnyccce0952025-02-03 22:44:361302const FeatureEntry::FeatureParam
ginnnnnnny0e892172025-02-04 21:45:171303 kDeprecateFeedHeaderVariationRemoveFeedLabel[] = {
1304 {kDeprecateFeedHeaderParameterRemoveLabel, "true"}};
1305const FeatureEntry::FeatureParam
ginnnnnnnya0c62d82025-03-07 04:22:111306 kDeprecateFeedHeaderVariationAbovePlusMoreSpacing[] = {
ginnnnnnny0e892172025-02-04 21:45:171307 {kDeprecateFeedHeaderParameterRemoveLabel, "true"},
ginnnnnnnyf398da822025-03-12 10:15:551308 {kDeprecateFeedHeaderParameterTopPadding, "28.5"},
1309 {kDeprecateFeedHeaderParameterSearchFieldTopMargin, "30"},
1310 {kDeprecateFeedHeaderParameterHeaderBottomPadding, "3"},
1311 {kDeprecateFeedHeaderParameterSpaceBetweenModules, "16"}};
ginnnnnnny0e892172025-02-04 21:45:171312const FeatureEntry::FeatureParam
1313 kDeprecateFeedHeaderVariationAbovePlusEnlargeElements[] = {
1314 {kDeprecateFeedHeaderParameterRemoveLabel, "true"},
ginnnnnnnyf398da822025-03-12 10:15:551315 {kDeprecateFeedHeaderParameterTopPadding, "21.5"},
1316 {kDeprecateFeedHeaderParameterSearchFieldTopMargin, "32"},
ginnnnnnnyccce0952025-02-03 22:44:361317 {kDeprecateFeedHeaderParameterEnlargeLogoAndFakebox, "true"}};
1318
1319const FeatureEntry::FeatureVariation kDeprecateFeedHeaderVariations[] = {
ginnnnnnny0e892172025-02-04 21:45:171320 {" (remove feed label)", kDeprecateFeedHeaderVariationRemoveFeedLabel,
1321 std::size(kDeprecateFeedHeaderVariationRemoveFeedLabel), nullptr},
ginnnnnnnyf398da822025-03-12 10:15:551322 {" (also add more spacing)",
ginnnnnnnya0c62d82025-03-07 04:22:111323 kDeprecateFeedHeaderVariationAbovePlusMoreSpacing,
1324 std::size(kDeprecateFeedHeaderVariationAbovePlusMoreSpacing), nullptr},
ginnnnnnny0e892172025-02-04 21:45:171325 {" (and enlarge doodle too)",
1326 kDeprecateFeedHeaderVariationAbovePlusEnlargeElements,
1327 std::size(kDeprecateFeedHeaderVariationAbovePlusEnlargeElements),
ginnnnnnnyccce0952025-02-03 22:44:361328 nullptr}};
1329
Briana McClure21685c42025-02-06 15:18:221330const FeatureEntry::FeatureParam kAnimatedDBPInFREWithActionButtons[] = {
1331 {first_run::kAnimatedDefaultBrowserPromoInFREExperimentType, "0"}};
1332const FeatureEntry::FeatureParam kAnimatedDBPInFREWithShowMeHow[] = {
1333 {first_run::kAnimatedDefaultBrowserPromoInFREExperimentType, "1"}};
1334const FeatureEntry::FeatureParam kAnimatedDBPInFREWithInstructions[] = {
1335 {first_run::kAnimatedDefaultBrowserPromoInFREExperimentType, "2"}};
1336
1337const FeatureEntry::FeatureVariation
1338 kAnimatedDefaultBrowserPromoInFREVariations[] = {
1339 {" - with Action Buttons", kAnimatedDBPInFREWithActionButtons,
1340 std::size(kAnimatedDBPInFREWithActionButtons), nullptr},
1341 {" - with Show Me How", kAnimatedDBPInFREWithShowMeHow,
1342 std::size(kAnimatedDBPInFREWithShowMeHow), nullptr},
1343 {" - with Instructions", kAnimatedDBPInFREWithInstructions,
1344 std::size(kAnimatedDBPInFREWithInstructions), nullptr}};
1345
Hira Mahmooddcc63d7f2025-02-19 17:28:571346const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm1[] = {
1347 {first_run::kBestFeaturesScreenInFirstRunParam, "1"}};
1348const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm2[] = {
1349 {first_run::kBestFeaturesScreenInFirstRunParam, "2"}};
1350const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm3[] = {
1351 {first_run::kBestFeaturesScreenInFirstRunParam, "3"}};
1352const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm4[] = {
1353 {first_run::kBestFeaturesScreenInFirstRunParam, "4"}};
1354const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm5[] = {
1355 {first_run::kBestFeaturesScreenInFirstRunParam, "5"}};
1356const FeatureEntry::FeatureParam kBestFeaturesScreenInFirstRunArm6[] = {
1357 {first_run::kBestFeaturesScreenInFirstRunParam, "6"}};
1358
1359const FeatureEntry::FeatureVariation kBestFeaturesScreenInFirstRunVariations[] =
1360 {{" - Variant A: General screen, after DB promo",
1361 kUpdatedFirstRunSequenceArm1,
1362 std::size(kBestFeaturesScreenInFirstRunArm1), nullptr},
1363 {" - Variant B: General screen, before DB promo",
1364 kBestFeaturesScreenInFirstRunArm2,
1365 std::size(kBestFeaturesScreenInFirstRunArm2), nullptr},
1366 {" - Variant C: General screen with passwords item",
1367 kBestFeaturesScreenInFirstRunArm3,
1368 std::size(kBestFeaturesScreenInFirstRunArm3), nullptr},
1369 {" - Variant D: Shopping users screen, variant C as fallback",
1370 kBestFeaturesScreenInFirstRunArm4,
1371 std::size(kBestFeaturesScreenInFirstRunArm4), nullptr},
1372 {" - Variant E: Show screen to signed-in users only",
1373 kBestFeaturesScreenInFirstRunArm5,
1374 std::size(kBestFeaturesScreenInFirstRunArm5), nullptr},
1375 {" - Variant F: Show address bar promo", kBestFeaturesScreenInFirstRunArm6,
1376 std::size(kBestFeaturesScreenInFirstRunArm6), nullptr}};
1377
Olivier ROBIN4d7cdb82025-03-11 09:33:471378const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionCrossValidate[] = {
1379 {kIOSOneTapMiniMapRestrictionCrossValidateParamName, "true"}};
1380const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionThreshold999[] = {
1381 {kIOSOneTapMiniMapRestrictionThreshholdParamName, "0.999"}};
1382const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionMinLength20[] = {
1383 {kIOSOneTapMiniMapRestrictionMinCharsParamName, "20"}};
1384const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionMaxSections6[] = {
1385 {kIOSOneTapMiniMapRestrictionMaxSectionsParamName, "6"}};
1386const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionLongWords4[] = {
1387 {kIOSOneTapMiniMapRestrictionLongestWordMinCharsParamName, "4"}};
1388const FeatureEntry::FeatureParam kIOSOneTapMiniMapRestrictionMinAlphaNum60[] = {
1389 {kIOSOneTapMiniMapRestrictionMinAlphanumProportionParamName, "0.6"}};
1390
1391const FeatureEntry::FeatureVariation kIOSOneTapMiniMapRestrictionsVariations[] =
1392 {{"Revalidate with NSDataDetector",
1393 kIOSOneTapMiniMapRestrictionCrossValidate,
1394 std::size(kIOSOneTapMiniMapRestrictionCrossValidate), nullptr},
1395 {"Confidence Level (0.999)", kIOSOneTapMiniMapRestrictionThreshold999,
1396 std::size(kIOSOneTapMiniMapRestrictionThreshold999), nullptr},
1397 {"Minimum address length (20 chars)",
1398 kIOSOneTapMiniMapRestrictionMinLength20,
1399 std::size(kIOSOneTapMiniMapRestrictionMinLength20), nullptr},
1400 {"Maximum sections (6)", kIOSOneTapMiniMapRestrictionMaxSections6,
1401 std::size(kIOSOneTapMiniMapRestrictionMaxSections6), nullptr},
1402 {"Longest word length (4)", kIOSOneTapMiniMapRestrictionLongWords4,
1403 std::size(kIOSOneTapMiniMapRestrictionLongWords4), nullptr},
1404 {"Proportion of alnum chars (60%)",
1405 kIOSOneTapMiniMapRestrictionMinAlphaNum60,
1406 std::size(kIOSOneTapMiniMapRestrictionMinAlphaNum60), nullptr}};
1407
Hira Mahmood4535b072025-03-14 16:45:591408const FeatureEntry::FeatureParam kFeedSwipeInProductHelpStaticInFirstRun[] = {
1409 {kFeedSwipeInProductHelpArmParam, "1"}};
1410const FeatureEntry::FeatureParam kFeedSwipeInProductHelpStaticInSecondRun[] = {
1411 {kFeedSwipeInProductHelpArmParam, "2"}};
1412const FeatureEntry::FeatureParam kFeedSwipeInProductHelpAnimated[] = {
1413 {kFeedSwipeInProductHelpArmParam, "3"}};
1414
1415const FeatureEntry::FeatureVariation kFeedSwipeInProductHelpVariations[] = {
1416 {" - Static IPH after the FRE", kFeedSwipeInProductHelpStaticInFirstRun,
1417 std::size(kFeedSwipeInProductHelpStaticInFirstRun), nullptr},
1418 {"- Static IPH after the second run",
1419 kFeedSwipeInProductHelpStaticInSecondRun,
1420 std::size(kFeedSwipeInProductHelpStaticInSecondRun), nullptr},
1421 {"- Animated IPH", kFeedSwipeInProductHelpAnimated,
1422 std::size(kFeedSwipeInProductHelpAnimated), nullptr}};
1423
Nohemi Fernandez11751ec2025-03-26 18:24:371424constexpr flags_ui::FeatureEntry::FeatureParam
1425 kReaderModeDistillerPageLoadHeuristicAlwaysEnabledParam[] = {
Nohemi Fernandez96ea08da2025-03-28 10:51:041426 {kReaderModeDistillerPageLoadProbabilityName, "1"},
Nohemi Fernandez11751ec2025-03-26 18:24:371427 {kReaderModeDistillerPageLoadDelayDurationStringName, "0"}};
Nohemi Fernandez96ea08da2025-03-28 10:51:041428const FeatureEntry::FeatureVariation kReaderModeDistillerHeuristicOptions[] = {
1429 {"no sampling with no delay",
1430 kReaderModeDistillerPageLoadHeuristicAlwaysEnabledParam,
1431 std::size(kReaderModeDistillerPageLoadHeuristicAlwaysEnabledParam),
1432 nullptr},
Nohemi Fernandez11751ec2025-03-26 18:24:371433};
1434
Harsh Shukla3f8a8ca32025-04-10 22:20:491435// LINT.IfChange(AutofillVcnEnrollStrikeExpiryTime)
1436const FeatureEntry::FeatureParam kAutofillVcnEnrollStrikeExpiryTime_120Days[] =
1437 {{"autofill_vcn_strike_expiry_time_days", "120"}};
1438
1439const FeatureEntry::FeatureParam kAutofillVcnEnrollStrikeExpiryTime_60Days[] = {
1440 {"autofill_vcn_strike_expiry_time_days", "60"}};
1441
1442const FeatureEntry::FeatureParam kAutofillVcnEnrollStrikeExpiryTime_30Days[] = {
1443 {"autofill_vcn_strike_expiry_time_days", "30"}};
1444
1445const FeatureEntry::FeatureVariation
1446 kAutofillVcnEnrollStrikeExpiryTimeOptions[] = {
1447 {"120 days", kAutofillVcnEnrollStrikeExpiryTime_120Days,
1448 std::size(kAutofillVcnEnrollStrikeExpiryTime_120Days), nullptr},
1449 {"60 days", kAutofillVcnEnrollStrikeExpiryTime_60Days,
1450 std::size(kAutofillVcnEnrollStrikeExpiryTime_60Days), nullptr},
1451 {"30 days", kAutofillVcnEnrollStrikeExpiryTime_30Days,
1452 std::size(kAutofillVcnEnrollStrikeExpiryTime_30Days), nullptr}};
1453// LINT.ThenChange(/chrome/browser/about_flags.cc:AutofillVcnEnrollStrikeExpiryTime)
1454
Briana McClureb8eab3a2025-04-15 00:05:331455const FeatureEntry::FeatureParam kWelcomeBackInFirstRunArm1[] = {
1456 {first_run::kWelcomeBackInFirstRunParam, "1"}};
1457const FeatureEntry::FeatureParam kWelcomeBackInFirstRunArm2[] = {
1458 {first_run::kWelcomeBackInFirstRunParam, "2"}};
1459const FeatureEntry::FeatureParam kWelcomeBackInFirstRunArm3[] = {
1460 {first_run::kWelcomeBackInFirstRunParam, "3"}};
1461const FeatureEntry::FeatureParam kWelcomeBackInFirstRunArm4[] = {
1462 {first_run::kWelcomeBackInFirstRunParam, "4"}};
1463
1464const FeatureEntry::FeatureVariation kWelcomeBackInFirstRunVariations[] = {
1465 {" - Variant A: Basics with Locked Incognito", kWelcomeBackInFirstRunArm1,
1466 std::size(kWelcomeBackInFirstRunArm1), nullptr},
1467 {" - Variant B: Basics with Save & Autofill Passwords",
1468 kWelcomeBackInFirstRunArm2, std::size(kWelcomeBackInFirstRunArm2),
1469 nullptr},
1470 {" - Variant C: Productivity & Shopping", kWelcomeBackInFirstRunArm3,
1471 std::size(kWelcomeBackInFirstRunArm3), nullptr},
1472 {" - Variant D: Sign-in Benefits", kWelcomeBackInFirstRunArm4,
1473 std::size(kWelcomeBackInFirstRunArm4), nullptr},
1474};
1475
Chris Lub16786a2025-04-22 17:44:331476const FeatureEntry::FeatureParam kBestOfAppFREArm4[] = {{"variant", "4"}};
1477
1478const FeatureEntry::FeatureVariation kBestOfAppFREVariations[] = {
1479 {" - Variant D: Guided Tour", kBestOfAppFREArm4,
1480 std::size(kWelcomeBackInFirstRunArm4), nullptr},
1481};
1482
Nicolas Dossou-Gbetef302ddaf2025-04-24 11:18:211483const FeatureEntry::FeatureParam
1484 kInvalidateChoiceOnRestoreIsRetroactiveOption[] = {
1485 {"is_retroactive", "true"}};
1486const FeatureEntry::FeatureVariation
1487 kInvalidateSearchEngineChoiceOnRestoreVariations[] = {
1488 {"(retroactive)", kInvalidateChoiceOnRestoreIsRetroactiveOption,
1489 std::size(kInvalidateChoiceOnRestoreIsRetroactiveOption), nullptr}};
1490
Cooper Knaak1e026562017-07-26 05:22:281491// To add a new entry, add to the end of kFeatureEntries. There are four
sdefresne14900ee2015-11-27 14:43:211492// distinct types of entries:
Cooper Knaak1e026562017-07-26 05:22:281493// . ENABLE_DISABLE_VALUE: entry is either enabled, disabled, or uses the
1494// default value for this feature. Use the ENABLE_DISABLE_VALUE_TYPE
sdefresne14900ee2015-11-27 14:43:211495// macro for this type supplying the command line to the macro.
1496// . MULTI_VALUE: a list of choices, the first of which should correspond to a
1497// deactivated state for this lab (i.e. no command line option). To specify
1498// this type of entry use the macro MULTI_VALUE_TYPE supplying it the
1499// array of choices.
Cooper Knaak1e026562017-07-26 05:22:281500// . FEATURE_VALUE: entry is associated with a base::Feature instance. Entry is
1501// either enabled, disabled, or uses the default value of the associated
1502// base::Feature instance. To specify this type of entry use the macro
1503// FEATURE_VALUE_TYPE supplying it the base::Feature instance.
1504// . FEATURE_WITH_PARAM_VALUES: a list of choices associated with a
1505// base::Feature instance. Choices corresponding to the default state, a
1506// universally enabled state, and a universally disabled state are
1507// automatically included. To specify this type of entry use the macro
1508// FEATURE_WITH_PARAMS_VALUE_TYPE supplying it the base::Feature instance and
1509// the array of choices.
1510//
sdefresne14900ee2015-11-27 14:43:211511// See the documentation of FeatureEntry for details on the fields.
1512//
1513// When adding a new choice, add it to the end of the list.
1514const flags_ui::FeatureEntry kFeatureEntries[] = {
Cooper Knaak1e026562017-07-26 05:22:281515 {"in-product-help-demo-mode-choice",
1516 flag_descriptions::kInProductHelpDemoModeName,
1517 flag_descriptions::kInProductHelpDemoModeDescription, flags_ui::kOsIos,
1518 FEATURE_WITH_PARAMS_VALUE_TYPE(
Tommy Nyquistc1d6dea12017-07-26 20:37:231519 feature_engagement::kIPHDemoMode,
1520 feature_engagement::kIPHDemoModeChoiceVariations,
Marc Treib2752e8b2017-08-04 14:12:091521 "IPH_DemoMode")},
Moe Ahmadic3fd7cd2018-05-11 21:40:221522 {"enable-autofill-credit-card-upload",
1523 flag_descriptions::kAutofillCreditCardUploadName,
1524 flag_descriptions::kAutofillCreditCardUploadDescription, flags_ui::kOsIos,
Anne Lim579b5732018-08-30 18:24:241525 FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)},
Moe Ahmadid6d5d172018-06-20 17:20:231526 {"use-sync-sandbox", flag_descriptions::kSyncSandboxName,
1527 flag_descriptions::kSyncSandboxDescription, flags_ui::kOsIos,
1528 SINGLE_VALUE_TYPE_AND_VALUE(
Victor Hugo Vianna Silva3cd7ae92022-02-09 20:49:511529 syncer::kSyncServiceURL,
Moe Ahmadid6d5d172018-06-20 17:20:231530 "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")},
1531 {"wallet-service-use-sandbox",
1532 flag_descriptions::kWalletServiceUseSandboxName,
1533 flag_descriptions::kWalletServiceUseSandboxDescription, flags_ui::kOsIos,
1534 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
1535 autofill::switches::kWalletServiceUseSandbox,
1536 "1",
1537 autofill::switches::kWalletServiceUseSandbox,
1538 "0")},
Mohamad Ahmadic4df81f2017-12-20 04:41:591539 {"show-autofill-type-predictions",
1540 flag_descriptions::kShowAutofillTypePredictionsName,
1541 flag_descriptions::kShowAutofillTypePredictionsDescription,
1542 flags_ui::kOsIos,
Florian Leimgruberf53ca392023-02-21 15:56:501543 FEATURE_VALUE_TYPE(
1544 autofill::features::test::kAutofillShowTypePredictions)},
Pier-Alexandre Bouchard4b20c08f2025-03-21 17:04:441545 {"sign-in-button-no-avatar", flag_descriptions::kSignInButtonNoAvatarName,
1546 flag_descriptions::kSignInButtonNoAvatarDescription, flags_ui::kOsIos,
1547 FEATURE_VALUE_TYPE(kSignInButtonNoAvatar)},
Pier-Alexandre Bouchard3b017bd62025-03-27 17:38:281548 {"ntp-background-customization",
1549 flag_descriptions::kNTPBackgroundCustomizationName,
1550 flag_descriptions::kNTPBackgroundCustomizationDescription,
1551 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kNTPBackgroundCustomization)},
Benjamin Williamsdf18e7e2022-10-03 18:46:051552 {"fullscreen-promos-manager-skip-internal-limits",
1553 flag_descriptions::kFullscreenPromosManagerSkipInternalLimitsName,
1554 flag_descriptions::kFullscreenPromosManagerSkipInternalLimitsDescription,
1555 flags_ui::kOsIos,
1556 FEATURE_VALUE_TYPE(kFullscreenPromosManagerSkipInternalLimits)},
Kurt Horimotodc33af32018-05-01 01:39:141557 {"fullscreen-viewport-adjustment-experiment",
Chris Lu481a9322019-09-25 22:16:531558 flag_descriptions::kFullscreenSmoothScrollingName,
1559 flag_descriptions::kFullscreenSmoothScrollingDescription, flags_ui::kOsIos,
Aliona DANGLA4e3b4732023-03-22 09:35:191560 FEATURE_VALUE_TYPE(web::features::kSmoothScrollingDefault)},
Robbie Gibson1f37a5e2020-08-06 17:03:061561 {"webpage-default-zoom-from-dynamic-type",
1562 flag_descriptions::kWebPageDefaultZoomFromDynamicTypeName,
1563 flag_descriptions::kWebPageDefaultZoomFromDynamicTypeDescription,
1564 flags_ui::kOsIos,
1565 FEATURE_VALUE_TYPE(web::kWebPageDefaultZoomFromDynamicType)},
Robbie Gibson88f23962020-09-28 14:35:561566 {"webpage-alternative-text-zoom",
1567 flag_descriptions::kWebPageAlternativeTextZoomName,
1568 flag_descriptions::kWebPageAlternativeTextZoomDescription,
1569 flags_ui::kOsIos, FEATURE_VALUE_TYPE(web::kWebPageAlternativeTextZoom)},
Robbie Gibson1095b72c2022-06-06 17:03:341570 {"webpage-text-zoom-ipad", flag_descriptions::kWebPageTextZoomIPadName,
1571 flag_descriptions::kWebPageTextZoomIPadDescription, flags_ui::kOsIos,
1572 FEATURE_VALUE_TYPE(web::kWebPageTextZoomIPad)},
Ameur Hosni3dc0ce1c2024-11-05 10:34:551573 {"omnibox-ipad-zps-limit",
1574 flag_descriptions::kIpadZpsSuggestionMatchesLimitName,
1575 flag_descriptions::kIpadZpsSuggestionMatchesLimitDescription,
1576 flags_ui::kOsIos,
1577 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kIpadZeroSuggestMatches,
1578 kIpadZpsLimitVariants,
1579 "OmniboxBundledExperimentV1")},
Stepan Khapugincc4e9842019-01-23 13:38:131580 {"omnibox-ui-max-autocomplete-matches",
1581 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName,
1582 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription,
1583 flags_ui::kOsIos,
1584 FEATURE_WITH_PARAMS_VALUE_TYPE(
1585 omnibox::kUIExperimentMaxAutocompleteMatches,
1586 kOmniboxUIMaxAutocompleteMatchesVariations,
1587 "OmniboxUIMaxAutocompleteVariations")},
Moe Ahmadi01028f22022-08-06 17:57:351588 {"omnibox-local-history-zero-suggest-beyond-ntp",
1589 flag_descriptions::kOmniboxLocalHistoryZeroSuggestBeyondNTPName,
1590 flag_descriptions::kOmniboxLocalHistoryZeroSuggestBeyondNTPDescription,
1591 flags_ui::kOsIos,
1592 FEATURE_VALUE_TYPE(omnibox::kLocalHistoryZeroSuggestBeyondNTP)},
Stepan Khapuginbac467e2022-05-06 21:11:541593 {"omnibox-max-zps-matches", flag_descriptions::kOmniboxMaxZPSMatchesName,
1594 flag_descriptions::kOmniboxMaxZPSMatchesDescription, flags_ui::kOsIos,
1595 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMaxZeroSuggestMatches,
1596 kOmniboxMaxZPSMatchesVariations,
1597 "OmniboxMaxZPSVariations")},
Jérôme Lebelc374fdd2019-09-27 10:36:481598 {"force-startup-signin-promo",
1599 flag_descriptions::kForceStartupSigninPromoName,
1600 flag_descriptions::kForceStartupSigninPromoDescription, flags_ui::kOsIos,
Alice Wang345e09442021-07-05 09:03:291601 FEATURE_VALUE_TYPE(switches::kForceStartupSigninPromo)},
Tommy Martino6b4eb7e2020-06-25 18:25:411602 {"shared-highlighting-ios", flag_descriptions::kSharedHighlightingIOSName,
1603 flag_descriptions::kSharedHighlightingIOSDescription, flags_ui::kOsIos,
1604 FEATURE_VALUE_TYPE(kSharedHighlightingIOS)},
Sylvain Defresne9c107082020-10-27 16:39:131605#if BUILDFLAG(IOS_SCREEN_TIME_ENABLED)
edchin81467b82020-09-03 19:31:451606 {"screen-time-integration-ios",
1607 flag_descriptions::kScreenTimeIntegrationName,
1608 flag_descriptions::kScreenTimeIntegrationDescription, flags_ui::kOsIos,
1609 FEATURE_VALUE_TYPE(kScreenTimeIntegration)},
Sylvain Defresne9c107082020-10-27 16:39:131610#endif
Xu Li9854c992024-12-19 20:53:081611 {"ios-enable-delete-all-saved-credentials",
1612 flag_descriptions::kIOSEnableDeleteAllSavedCredentialsName,
1613 flag_descriptions::kIOSEnableDeleteAllSavedCredentialsDescription,
1614 flags_ui::kOsIos,
1615 FEATURE_VALUE_TYPE(
1616 password_manager::features::kIOSEnableDeleteAllSavedCredentials)},
Cheick Cisse76ade3d2020-12-16 00:15:111617 {"ios-shared-highlighting-color-change",
1618 flag_descriptions::kIOSSharedHighlightingColorChangeName,
1619 flag_descriptions::kIOSSharedHighlightingColorChangeDescription,
Cheick Cissed0b5bfe2021-02-11 14:23:071620 flags_ui::kOsIos,
1621 FEATURE_VALUE_TYPE(web::features::kIOSSharedHighlightingColorChange)},
Scott Yoderc0cd99d2024-01-10 19:54:511622 {"ios-tips-notifications", flag_descriptions::kIOSTipsNotificationsName,
1623 flag_descriptions::kIOSTipsNotificationsDescription, flags_ui::kOsIos,
Scott Yoderaf2bdf32024-01-30 20:26:151624 FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSTipsNotifications,
1625 kIOSTipsNotificationsVariations,
1626 "IOSTipsNotifications")},
Scott Yoderf8a821482024-10-28 19:32:551627 {"ios-reactivation-notifications",
1628 flag_descriptions::kIOSReactivationNotificationsName,
1629 flag_descriptions::kIOSReactivationNotificationsDescription,
Scott Yoderef1a0542024-11-04 17:23:071630 flags_ui::kOsIos,
1631 FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSReactivationNotifications,
1632 kIOSReactivationNotificationsVariations,
1633 "IOSReactivationNotifications")},
Nicolas Dossou-Gbete0669b6f22025-04-23 12:06:591634 {"invalidate-search-engine-choice-on-device-restore-detection",
Jérôme Lebele5718112025-03-28 14:51:001635 flag_descriptions::
Nicolas Dossou-Gbete0669b6f22025-04-23 12:06:591636 kInvalidateSearchEngineChoiceOnDeviceRestoreDetectionName,
1637 flag_descriptions::
1638 kInvalidateSearchEngineChoiceOnDeviceRestoreDetectionDescription,
Jérôme Lebele5718112025-03-28 14:51:001639 flags_ui::kOsIos,
Nicolas Dossou-Gbetef302ddaf2025-04-24 11:18:211640 FEATURE_WITH_PARAMS_VALUE_TYPE(
1641 switches::kInvalidateSearchEngineChoiceOnDeviceRestoreDetection,
1642 kInvalidateSearchEngineChoiceOnRestoreVariations,
1643 "InvalidateSearchEngineChoiceOnDeviceRestoreDetection")},
Scott Yoder88976342025-03-20 17:49:231644 {"ios-provides-app-notification-settings",
1645 flag_descriptions::kIOSProvidesAppNotificationSettingsName,
1646 flag_descriptions::kIOSProvidesAppNotificationSettingsDescription,
1647 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kIOSProvidesAppNotificationSettings)},
gogerald0ff29e52021-02-03 18:56:191648 {"start-surface", flag_descriptions::kStartSurfaceName,
1649 flag_descriptions::kStartSurfaceDescription, flags_ui::kOsIos,
gogerald0e39e3aa2021-02-10 18:41:231650 FEATURE_WITH_PARAMS_VALUE_TYPE(kStartSurface,
1651 kStartSurfaceVariations,
1652 "StartSurface")},
Nohemi Fernandezc00842a2021-07-26 11:47:341653 {"wait-threshold-seconds-for-capabilities-api",
1654 flag_descriptions::kWaitThresholdMillisecondsForCapabilitiesApiName,
1655 flag_descriptions::kWaitThresholdMillisecondsForCapabilitiesApiDescription,
1656 flags_ui::kOsIos,
1657 MULTI_VALUE_TYPE(kWaitThresholdMillisecondsForCapabilitiesApiChoices)},
Tina Wang686fa002024-05-18 10:10:061658 {"content-notification-experiment",
1659 flag_descriptions::kContentNotificationExperimentName,
1660 flag_descriptions::kContentNotificationExperimentDescription,
1661 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kContentNotificationExperiment)},
Tina Wang1cc9f472024-05-30 20:51:251662 {"content-notification-provisional-ignore-conditions",
1663 flag_descriptions::kContentNotificationProvisionalIgnoreConditionsName,
1664 flag_descriptions::
1665 kContentNotificationProvisionalIgnoreConditionsDescription,
1666 flags_ui::kOsIos,
1667 FEATURE_VALUE_TYPE(kContentNotificationProvisionalIgnoreConditions)},
Guillem Perez49e1df42023-08-23 22:15:241668 {"content-push-notifications",
1669 flag_descriptions::kContentPushNotificationsName,
1670 flag_descriptions::kContentPushNotificationsDescription, flags_ui::kOsIos,
Guillem Perez40086ef2023-11-20 20:03:521671 FEATURE_WITH_PARAMS_VALUE_TYPE(kContentPushNotifications,
1672 kContentPushNotificationsVariations,
1673 "ContentPushNotifications")},
Radu Nitescuee09a1a2024-12-10 17:11:391674 {"enable-lens-context-menu-unified-experience",
1675 flag_descriptions::kEnableLensContextMenuUnifiedExperienceName,
1676 flag_descriptions::kEnableLensContextMenuUnifiedExperienceDescription,
1677 flags_ui::kOsIos,
1678 FEATURE_VALUE_TYPE(kEnableLensContextMenuUnifiedExperience)},
Jason Hu67cfb0f2022-11-14 20:21:441679 {"enable-lens-in-omnibox-copied-image",
1680 flag_descriptions::kEnableLensInOmniboxCopiedImageName,
1681 flag_descriptions::kEnableLensInOmniboxCopiedImageDescription,
1682 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kEnableLensInOmniboxCopiedImage)},
Radu Nitescuab5bf732024-09-18 14:07:401683 {"enable-lens-overlay", flag_descriptions::kEnableLensOverlayName,
1684 flag_descriptions::kEnableLensOverlayDescription, flags_ui::kOsIos,
1685 FEATURE_VALUE_TYPE(kEnableLensOverlay)},
Radu Nitescuf95b7d42024-12-04 10:18:011686 {"enable-lens-view-finder-unified-experience",
1687 flag_descriptions::kEnableLensViewFinderUnifiedExperienceName,
1688 flag_descriptions::kEnableLensViewFinderUnifiedExperienceDescription,
1689 flags_ui::kOsIos,
1690 FEATURE_VALUE_TYPE(kEnableLensViewFinderUnifiedExperience)},
Sergio Collazos9fcc6ed2021-10-06 00:58:031691 {"enable-disco-feed-endpoint",
1692 flag_descriptions::kEnableDiscoverFeedDiscoFeedEndpointName,
1693 flag_descriptions::kEnableDiscoverFeedDiscoFeedEndpointDescription,
1694 flags_ui::kOsIos,
Aliona DANGLA8fae66f02021-10-06 15:47:111695 FEATURE_VALUE_TYPE(kEnableDiscoverFeedDiscoFeedEndpoint)},
Tommy Martino7393d762021-10-12 17:59:281696 {"shared-highlighting-amp",
1697 flag_descriptions::kIOSSharedHighlightingAmpName,
1698 flag_descriptions::kIOSSharedHighlightingAmpDescription, flags_ui::kOsIos,
1699 FEATURE_VALUE_TYPE(shared_highlighting::kSharedHighlightingAmp)},
Matt Jones2e47b9692024-02-23 21:56:431700 {"track-by-default-mobile",
1701 commerce::flag_descriptions::kTrackByDefaultOnMobileName,
1702 commerce::flag_descriptions::kTrackByDefaultOnMobileDescription,
1703 flags_ui::kOsIos, FEATURE_VALUE_TYPE(commerce::kTrackByDefaultOnMobile)},
adamta250f4ad2023-08-02 15:26:061704 {"web-feed-ios", flag_descriptions::kEnableWebChannelsName,
1705 flag_descriptions::kEnableWebChannelsDescription, flags_ui::kOsIos,
1706 FEATURE_VALUE_TYPE(kEnableWebChannels)},
adamta39331592021-11-01 20:18:541707 {"ntp-view-hierarchy-repair",
1708 flag_descriptions::kNTPViewHierarchyRepairName,
1709 flag_descriptions::kNTPViewHierarchyRepairDescription, flags_ui::kOsIos,
adamta8da8dce2022-11-17 18:03:201710 FEATURE_VALUE_TYPE(kEnableNTPViewHierarchyRepair)},
Cheick Cisse39b6a182024-05-29 15:13:441711 {"price-insights", commerce::flag_descriptions::kPriceInsightsName,
1712 commerce::flag_descriptions::kPriceInsightsDescription, flags_ui::kOsIos,
1713 FEATURE_VALUE_TYPE(commerce::kPriceInsights)},
Cheick Cisse7c03928d2024-03-11 23:27:381714 {"price-insights-ios", commerce::flag_descriptions::kPriceInsightsIosName,
1715 commerce::flag_descriptions::kPriceInsightsIosDescription,
Cheick Cisse85457f22024-05-23 22:37:591716 flags_ui::kOsIos,
1717 FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kPriceInsightsIos,
1718 kPriceInsightsVariations,
1719 "PriceInsightsIos")},
1720 {"price-insights-high-price-ios",
1721 commerce::flag_descriptions::kPriceInsightsHighPriceIosName,
1722 commerce::flag_descriptions::kPriceInsightsHighPriceIosDescription,
1723 flags_ui::kOsIos,
1724 FEATURE_VALUE_TYPE(commerce::kPriceInsightsHighPriceIos)},
Raj Tb95d813542022-11-16 21:27:521725 {"enable-download-service-foreground-session",
1726 flag_descriptions::kDownloadServiceForegroundSessionName,
1727 flag_descriptions::kDownloadServiceForegroundSessionDescription,
1728 flags_ui::kOsIos,
1729 FEATURE_VALUE_TYPE(download::kDownloadServiceForegroundSessionIOSFeature)},
Olivier Robinffe767c2022-04-21 13:13:231730 {"enable-tflite-language-detection",
1731 flag_descriptions::kTFLiteLanguageDetectionName,
1732 flag_descriptions::kTFLiteLanguageDetectionDescription, flags_ui::kOsIos,
1733 FEATURE_VALUE_TYPE(translate::kTFLiteLanguageDetectionEnabled)},
Raj Ta921ffc2022-08-25 19:00:201734 {"optimization-guide-debug-logs",
1735 flag_descriptions::kOptimizationGuideDebugLogsName,
1736 flag_descriptions::kOptimizationGuideDebugLogsDescription,
1737 flags_ui::kOsIos,
1738 SINGLE_VALUE_TYPE(optimization_guide::switches::kDebugLoggingEnabled)},
Daniel Whited02b6962023-02-14 14:19:551739 {"optimization-guide-push-notifications",
1740 flag_descriptions::kOptimizationGuidePushNotificationClientName,
1741 flag_descriptions::kOptimizationGuidePushNotificationClientDescription,
1742 flags_ui::kOsIos,
1743 FEATURE_VALUE_TYPE(optimization_guide::features::kPushNotifications)},
David Jeanad303a92023-07-31 16:58:111744 {"intents-on-measurements", flag_descriptions::kMeasurementsName,
1745 flag_descriptions::kMeasurementsDescription, flags_ui::kOsIos,
1746 FEATURE_VALUE_TYPE(web::features::kEnableMeasurements)},
David Jeanf361ae9d2024-04-09 08:19:471747 {"enable-expkit-text-classifier-date",
1748 flag_descriptions::kEnableExpKitTextClassifierDateName,
1749 flag_descriptions::kEnableExpKitTextClassifierDateDescription,
1750 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kEnableExpKitTextClassifierDate)},
1751 {"enable-expkit-text-classifier-address",
1752 flag_descriptions::kEnableExpKitTextClassifierAddressName,
1753 flag_descriptions::kEnableExpKitTextClassifierAddressDescription,
Raj T18a2c8c2023-03-15 17:20:151754 flags_ui::kOsIos,
David Jeanf361ae9d2024-04-09 08:19:471755 FEATURE_WITH_PARAMS_VALUE_TYPE(
1756 kEnableExpKitTextClassifierAddress,
1757 kEnableExpKitTextClassifierAddressVariations,
1758 "ExpKitTextClassifierAddress")},
1759 {"enable-expkit-text-classifier-phonenumber",
1760 flag_descriptions::kEnableExpKitTextClassifierPhoneNumberName,
1761 flag_descriptions::kEnableExpKitTextClassifierPhoneNumberDescription,
1762 flags_ui::kOsIos,
1763 FEATURE_WITH_PARAMS_VALUE_TYPE(
1764 kEnableExpKitTextClassifierPhoneNumber,
1765 kEnableExpKitTextClassifierPhoneNumberVariations,
1766 "ExpKitTextClassifierPhoneNumber")},
1767 {"enable-expkit-text-classifier-email",
1768 flag_descriptions::kEnableExpKitTextClassifierEmailName,
1769 flag_descriptions::kEnableExpKitTextClassifierEmailDescription,
1770 flags_ui::kOsIos,
1771 FEATURE_WITH_PARAMS_VALUE_TYPE(kEnableExpKitTextClassifierEmail,
1772 kEnableExpKitTextClassifierEmailVariations,
1773 "ExpKitTextClassifierEmail")},
Elmehdi Rahmaoui458f4a22023-02-14 15:13:331774 {"one-tap-experience-maps", flag_descriptions::kOneTapForMapsName,
1775 flag_descriptions::kOneTapForMapsDescription, flags_ui::kOsIos,
Olivier ROBIN82b67002023-07-31 14:34:461776 FEATURE_WITH_PARAMS_VALUE_TYPE(web::features::kOneTapForMaps,
1777 kOneTapForMapsWithVariations,
1778 "OneTapForMaps")},
Mustafa Emre Acerb8bb01f2022-07-20 19:43:251779 {"omnibox-https-upgrades", flag_descriptions::kOmniboxHttpsUpgradesName,
1780 flag_descriptions::kOmniboxHttpsUpgradesDescription, flags_ui::kOsIos,
1781 FEATURE_VALUE_TYPE(omnibox::kDefaultTypedNavigationsToHttps)},
Alexander Tekleb4643812023-01-06 23:12:301782 {"autofill-enable-ranking-formula-address-profiles",
1783 flag_descriptions::kAutofillEnableRankingFormulaAddressProfilesName,
1784 flag_descriptions::kAutofillEnableRankingFormulaAddressProfilesDescription,
1785 flags_ui::kOsIos,
1786 FEATURE_VALUE_TYPE(
1787 autofill::features::kAutofillEnableRankingFormulaAddressProfiles)},
Alexander Tekle35dfbbd2023-01-31 08:32:391788 {"autofill-enable-ranking-formula-credit-cards",
1789 flag_descriptions::kAutofillEnableRankingFormulaCreditCardsName,
1790 flag_descriptions::kAutofillEnableRankingFormulaCreditCardsDescription,
1791 flags_ui::kOsIos,
1792 FEATURE_VALUE_TYPE(
1793 autofill::features::kAutofillEnableRankingFormulaCreditCards)},
Sergio Collazos58558712022-05-18 17:24:021794 {"enable-feed-ablation", flag_descriptions::kEnableFeedAblationName,
1795 flag_descriptions::kEnableFeedAblationDescription, flags_ui::kOsIos,
1796 FEATURE_VALUE_TYPE(kEnableFeedAblation)},
Xu Lica2b56e2025-04-07 20:57:311797 {"enterprise-realtime-event-reporting-on-ios",
1798 flag_descriptions::kEnterpriseRealtimeEventReportingOnIOSName,
1799 flag_descriptions::kEnterpriseRealtimeEventReportingOnIOSDescription,
1800 flags_ui::kOsIos,
1801 FEATURE_VALUE_TYPE(
1802 enterprise_connectors::kEnterpriseRealtimeEventReportingOnIOS)},
Chris Luc36e3962023-04-11 21:50:521803 {"content-suggestions-magic-stack", flag_descriptions::kMagicStackName,
1804 flag_descriptions::kMagicStackDescription, flags_ui::kOsIos,
Chris Luce928eb2023-05-12 21:36:261805 FEATURE_WITH_PARAMS_VALUE_TYPE(kMagicStack,
1806 kMagicStackVariations,
1807 flag_descriptions::kMagicStackName)},
Alexis Hetue0b0dc12025-02-06 18:14:471808 {"ios-keyboard-accessory-upgrade-for-ipad",
1809 flag_descriptions::kIOSKeyboardAccessoryUpgradeForIPadName,
1810 flag_descriptions::kIOSKeyboardAccessoryUpgradeForIPadDescription,
1811 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kIOSKeyboardAccessoryUpgradeForIPad)},
Noémie St-Onge9da904ef2024-10-01 14:16:051812 {"ios-keyboard-accessory-upgrade-short-manual-fill-menu",
1813 flag_descriptions::kIOSKeyboardAccessoryUpgradeShortManualFillMenuName,
1814 flag_descriptions::
1815 kIOSKeyboardAccessoryUpgradeShortManualFillMenuDescription,
1816 flags_ui::kOsIos,
1817 FEATURE_VALUE_TYPE(kIOSKeyboardAccessoryUpgradeShortManualFillMenu)},
Chris Lub0bad572023-08-07 18:13:291818 {"ios-magic-stack-segmentation-ranking",
1819 flag_descriptions::kSegmentationPlatformIosModuleRankerName,
1820 flag_descriptions::kSegmentationPlatformIosModuleRankerDescription,
1821 flags_ui::kOsIos,
Chris Lu6fd4eaf2023-08-08 18:29:301822 FEATURE_WITH_PARAMS_VALUE_TYPE(
1823 segmentation_platform::features::kSegmentationPlatformIosModuleRanker,
1824 kSegmentationPlatformIosModuleRankerVariations,
1825 flag_descriptions::kSegmentationPlatformIosModuleRankerName)},
Chris Lu63aa3942024-05-10 22:15:321826 {"ios-magic-stack-segmentation-ranking-caching",
1827 flag_descriptions::kSegmentationPlatformIosModuleRankerCachingName,
1828 flag_descriptions::kSegmentationPlatformIosModuleRankerCachingDescription,
1829 flags_ui::kOsIos,
1830 FEATURE_VALUE_TYPE(kSegmentationPlatformIosModuleRankerCaching)},
Chris Lu9e4f17b2024-05-09 00:54:111831 {"ios-magic-stack-segmentation-ranking-split-by-surface",
1832 flag_descriptions::kSegmentationPlatformIosModuleRankerSplitBySurfaceName,
1833 flag_descriptions::
1834 kSegmentationPlatformIosModuleRankerSplitBySurfaceDescription,
1835 flags_ui::kOsIos,
1836 FEATURE_VALUE_TYPE(
1837 segmentation_platform::features::
1838 kSegmentationPlatformIosModuleRankerSplitBySurface)},
Alexis Hetu5e726602023-12-15 15:18:281839 {"ios-password-bottom-sheet-autofocus",
1840 flag_descriptions::kIOSPasswordBottomSheetAutofocusName,
1841 flag_descriptions::kIOSPasswordBottomSheetAutofocusDescription,
1842 flags_ui::kOsIos,
1843 FEATURE_VALUE_TYPE(
1844 password_manager::features::kIOSPasswordBottomSheetAutofocus)},
Charlotte Cloutier18f0a5362024-07-16 13:23:041845 {"ios-proactive-password-generation-bottom-sheet",
1846 flag_descriptions::kIOSProactivePasswordGenerationBottomSheetName,
1847 flag_descriptions::kIOSProactivePasswordGenerationBottomSheetDescription,
1848 flags_ui::kOsIos,
1849 FEATURE_VALUE_TYPE(password_manager::features::
1850 kIOSProactivePasswordGenerationBottomSheet)},
Moe Ahmadi098519d82022-07-27 18:34:241851 {"omnibox-zero-suggest-prefetching",
1852 flag_descriptions::kOmniboxZeroSuggestPrefetchingName,
1853 flag_descriptions::kOmniboxZeroSuggestPrefetchingDescription,
1854 flags_ui::kOsIos, FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetching)},
Khalid Peer79df5652022-10-26 21:59:451855 {"omnibox-zero-suggest-prefetching-on-srp",
1856 flag_descriptions::kOmniboxZeroSuggestPrefetchingOnSRPName,
1857 flag_descriptions::kOmniboxZeroSuggestPrefetchingOnSRPDescription,
1858 flags_ui::kOsIos,
1859 FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetchingOnSRP)},
1860 {"omnibox-zero-suggest-prefetching-on-web",
1861 flag_descriptions::kOmniboxZeroSuggestPrefetchingOnWebName,
1862 flag_descriptions::kOmniboxZeroSuggestPrefetchingOnWebDescription,
1863 flags_ui::kOsIos,
1864 FEATURE_VALUE_TYPE(omnibox::kZeroSuggestPrefetchingOnWeb)},
Khalid Peer11b4b2c2022-10-12 20:53:471865 {"omnibox-zero-suggest-in-memory-caching",
1866 flag_descriptions::kOmniboxZeroSuggestInMemoryCachingName,
1867 flag_descriptions::kOmniboxZeroSuggestInMemoryCachingDescription,
1868 flags_ui::kOsIos,
1869 FEATURE_VALUE_TYPE(omnibox::kZeroSuggestInMemoryCaching)},
Ce Chenbdfaed22022-10-20 16:08:351870 {"omnibox-on-device-tail-suggestions",
1871 flag_descriptions::kOmniboxOnDeviceTailSuggestionsName,
1872 flag_descriptions::kOmniboxOnDeviceTailSuggestionsDescription,
1873 flags_ui::kOsIos, FEATURE_VALUE_TYPE(omnibox::kOnDeviceTailModel)},
Christian Xucf26d562022-07-06 09:28:361874 {"omnibox-max-url-matches", flag_descriptions::kOmniboxMaxURLMatchesName,
1875 flag_descriptions::kOmniboxMaxURLMatchesDescription, flags_ui::kOsIos,
1876 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxMaxURLMatches,
1877 kOmniboxMaxURLMatchesVariations,
1878 "OmniboxMaxURLMatches")},
Stepan Khapugin1f83c5ae2024-01-31 15:55:201879 {"omnibox-most-visited-tiles-horizontal-render-group",
1880 flag_descriptions::kMostVisitedTilesHorizontalRenderGroupName,
1881 flag_descriptions::kMostVisitedTilesHorizontalRenderGroupDescription,
1882 flags_ui::kOsIos,
1883 FEATURE_VALUE_TYPE(omnibox::kMostVisitedTilesHorizontalRenderGroup)},
Olivier Robin60d3a062022-07-06 17:34:061884 {"metrickit-non-crash-reports",
1885 flag_descriptions::kMetrickitNonCrashReportName,
1886 flag_descriptions::kMetrickitNonCrashReportDescription, flags_ui::kOsIos,
1887 FEATURE_VALUE_TYPE(kMetrickitNonCrashReport)},
Robbie Gibson1f5a57192024-11-07 23:04:111888 {"default-browser-banner-promo",
1889 flag_descriptions::kDefaultBrowserBannerPromoName,
1890 flag_descriptions::kDefaultBrowserBannerPromoDescription, flags_ui::kOsIos,
Robbie Gibsonae87bc02024-11-13 14:45:101891 FEATURE_VALUE_TYPE(kDefaultBrowserBannerPromo)},
Gayane Petrosyan5960a172023-06-19 15:40:171892 {"default-browser-promo-trigger-criteria-experiment",
1893 flag_descriptions::kDefaultBrowserTriggerCriteriaExperimentName,
1894 flag_descriptions::kDefaultBrowserTriggerCriteriaExperimentDescription,
1895 flags_ui::kOsIos,
Gayane Petrosyan01f711782024-02-21 23:00:211896 FEATURE_VALUE_TYPE(
1897 feature_engagement::kDefaultBrowserTriggerCriteriaExperiment)},
Gayane Petrosyancffeda12024-09-17 17:10:371898 {"blue-dot-on-tools-menu-button",
1899 flag_descriptions::kBlueDotOnToolsMenuButtonName,
1900 flag_descriptions::kBlueDotOnToolsMenuButtonDescription, flags_ui::kOsIos,
1901 FEATURE_VALUE_TYPE(kBlueDotOnToolsMenuButton)},
Ed Chin91e44992022-07-27 13:42:341902#if BUILDFLAG(IOS_BACKGROUND_MODE_ENABLED)
1903 {"feed-background-refresh-ios",
1904 flag_descriptions::kFeedBackgroundRefreshName,
1905 flag_descriptions::kFeedBackgroundRefreshDescription, flags_ui::kOsIos,
1906 FEATURE_WITH_PARAMS_VALUE_TYPE(kEnableFeedBackgroundRefresh,
1907 kFeedBackgroundRefreshVariations,
1908 "FeedBackgroundRefresh")},
Ed Chin178ec2a2023-02-10 22:21:261909#endif // BUILDFLAG(IOS_BACKGROUND_MODE_ENABLED)
Petro Akzhygitov2e2322e2023-04-25 16:26:571910 {"tab-grid-new-transitions", flag_descriptions::kTabGridNewTransitionsName,
1911 flag_descriptions::kTabGridNewTransitionsDescription, flags_ui::kOsIos,
1912 FEATURE_VALUE_TYPE(kTabGridNewTransitions)},
Daniel Whiteae1cb672022-12-14 18:25:251913 {"iph-price-notifications-while-browsing",
1914 flag_descriptions::kIPHPriceNotificationsWhileBrowsingName,
1915 flag_descriptions::kIPHPriceNotificationsWhileBrowsingDescription,
1916 flags_ui::kOsIos,
1917 FEATURE_VALUE_TYPE(
1918 feature_engagement::kIPHPriceNotificationsWhileBrowsingFeature)},
Ewann Pelledec2d042023-01-25 15:28:391919 {"shopping-list", commerce::flag_descriptions::kShoppingListName,
1920 commerce::flag_descriptions::kShoppingListDescription, flags_ui::kOsIos,
1921 FEATURE_VALUE_TYPE(commerce::kShoppingList)},
Matt Jones1795eda2023-05-09 20:24:481922 {"local-pdp-detection",
1923 commerce::flag_descriptions::kCommerceLocalPDPDetectionName,
1924 commerce::flag_descriptions::kCommerceLocalPDPDetectionDescription,
1925 flags_ui::kOsIos,
1926 FEATURE_VALUE_TYPE(commerce::kCommerceLocalPDPDetection)},
Ali Juma57849c42023-02-21 22:53:431927 {"notification-settings-menu-item",
1928 flag_descriptions::kNotificationSettingsMenuItemName,
1929 flag_descriptions::kNotificationSettingsMenuItemDescription,
1930 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kNotificationSettingsMenuItem)},
kalettucefb09e402023-02-27 18:35:531931 {"web-feed-feedback-reroute",
1932 flag_descriptions::kWebFeedFeedbackRerouteName,
1933 flag_descriptions::kWebFeedFeedbackRerouteDescription, flags_ui::kOsIos,
1934 FEATURE_VALUE_TYPE(kWebFeedFeedbackReroute)},
Tina Wangd3f6f192023-04-05 05:22:431935 {"enable-follow-IPH-exp-params",
1936 flag_descriptions::kEnableFollowIPHExpParamsName,
1937 flag_descriptions::kEnableFollowIPHExpParamsDescription, flags_ui::kOsIos,
1938 FEATURE_VALUE_TYPE(kEnableFollowIPHExpParams)},
Guillem Perez3c139a822023-05-24 19:34:251939 {"enable-follow-ui-update", flag_descriptions::kEnableFollowUIUpdateName,
1940 flag_descriptions::kEnableFollowUIUpdateDescription, flags_ui::kOsIos,
1941 FEATURE_VALUE_TYPE(kEnableFollowUIUpdate)},
Olivier ROBINa229d2132023-03-21 12:44:201942 {"ios-browser-edit-menu-metrics",
1943 flag_descriptions::kIOSBrowserEditMenuMetricsName,
1944 flag_descriptions::kIOSBrowserEditMenuMetricsDescription, flags_ui::kOsIos,
1945 FEATURE_VALUE_TYPE(kIOSBrowserEditMenuMetrics)},
Benjamin Williams1dc8f2342024-01-04 21:25:551946 {"ios-docking-promo", flag_descriptions::kIOSDockingPromoName,
1947 flag_descriptions::kIOSDockingPromoDescription, flags_ui::kOsIos,
1948 FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSDockingPromo,
1949 kIOSDockingPromoVariations,
1950 "IOSDockingPromo")},
Stepan Khapuginb2f49522023-04-03 18:25:241951 {"omnibox-grouping-framework-non-zps",
1952 flag_descriptions::kOmniboxGroupingFrameworkForTypedSuggestionsName,
1953 flag_descriptions::kOmniboxGroupingFrameworkForTypedSuggestionsDescription,
1954 flags_ui::kOsIos,
1955 FEATURE_VALUE_TYPE(omnibox::kGroupingFrameworkForNonZPS)},
Robbie Gibson0ea280602023-04-12 01:02:391956 {"only-access-clipboard-async",
1957 flag_descriptions::kOnlyAccessClipboardAsyncName,
1958 flag_descriptions::kOnlyAccessClipboardAsyncDescription, flags_ui::kOsIos,
1959 FEATURE_VALUE_TYPE(kOnlyAccessClipboardAsync)},
Tina Wangcda2c902023-05-25 17:39:451960 {"enable-signed-out-view-demotion",
1961 flag_descriptions::kEnableSignedOutViewDemotionName,
1962 flag_descriptions::kEnableSignedOutViewDemotionDescription,
1963 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kEnableSignedOutViewDemotion)},
Stepan Khapugin72c74292024-06-19 16:48:331964 {"spotlight-never-retain-index",
1965 flag_descriptions::kSpotlightNeverRetainIndexName,
1966 flag_descriptions::kSpotlightNeverRetainIndexDescription, flags_ui::kOsIos,
1967 FEATURE_VALUE_TYPE(kSpotlightNeverRetainIndex)},
Benjamin Williams9773edd42023-06-26 20:22:071968 {"safety-check-magic-stack", flag_descriptions::kSafetyCheckMagicStackName,
1969 flag_descriptions::kSafetyCheckMagicStackDescription, flags_ui::kOsIos,
1970 FEATURE_VALUE_TYPE(kSafetyCheckMagicStack)},
Ewann Pelle9cd85b22023-07-12 14:42:011971 {"tab-resumption", flag_descriptions::kTabResumptionName,
1972 flag_descriptions::kTabResumptionDescription, flags_ui::kOsIos,
Olivier ROBIN953cc9a2025-03-17 11:40:461973 FEATURE_VALUE_TYPE(kTabResumption)},
Christian Xu07d600192023-07-24 12:29:521974 {"bottom-omnibox-default-setting",
1975 flag_descriptions::kBottomOmniboxDefaultSettingName,
1976 flag_descriptions::kBottomOmniboxDefaultSettingDescription,
1977 flags_ui::kOsIos,
1978 FEATURE_WITH_PARAMS_VALUE_TYPE(kBottomOmniboxDefaultSetting,
1979 kBottomOmniboxDefaultSettingVariations,
1980 "BottomOmniboxDefaultSetting")},
Elmehdi Rahmaouif5b76462024-06-24 10:44:461981 {"enable-save-to-photos-improvements",
1982 flag_descriptions::kIOSSaveToPhotosImprovementsName,
1983 flag_descriptions::kIOSSaveToPhotosImprovementsDescription,
1984 flags_ui::kOsIos,
1985 FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSSaveToPhotosImprovements,
1986 kSaveToPhotosImprovementsVariations,
1987 "IOSSaveToPhotosImprovements")},
Jérôme Lebelcc9523e2024-10-08 13:34:011988 {"enable-identity-in-auth-error",
1989 flag_descriptions::kEnableIdentityInAuthErrorName,
1990 flag_descriptions::kEnableIdentityInAuthErrorDescription, flags_ui::kOsIos,
1991 FEATURE_VALUE_TYPE(switches::kEnableIdentityInAuthError)},
Mihai Sardarescucca83442024-10-16 12:19:131992 {"enable-asweb-authentication-session",
1993 flag_descriptions::kEnableASWebAuthenticationSessionName,
1994 flag_descriptions::kEnableASWebAuthenticationSessionDescription,
1995 flags_ui::kOsIos,
1996 FEATURE_VALUE_TYPE(switches::kEnableASWebAuthenticationSession)},
Christian Xu90e952f2023-09-13 09:05:281997 {"top-toolbar-theme-color", flag_descriptions::kThemeColorInTopToolbarName,
1998 flag_descriptions::kThemeColorInTopToolbarDescription, flags_ui::kOsIos,
1999 FEATURE_VALUE_TYPE(kThemeColorInTopToolbar)},
Rubin Deliallisi072bc842023-10-19 12:00:412000 {"privacy-guide-ios", flag_descriptions::kPrivacyGuideIosName,
2001 flag_descriptions::kPrivacyGuideIosDescription, flags_ui::kOsIos,
2002 FEATURE_VALUE_TYPE(kPrivacyGuideIos)},
Aliona DANGLA5971a8b2023-11-10 11:55:352003 {"fullscreen-improvement", flag_descriptions::kFullscreenImprovementName,
2004 flag_descriptions::kFullscreenImprovementDescription, flags_ui::kOsIos,
2005 FEATURE_VALUE_TYPE(kFullscreenImprovement)},
Gauthier Ambard8cca29a2024-04-10 08:27:362006 {"tab-groups-on-ipad", flag_descriptions::kTabGroupsIPadName,
2007 flag_descriptions::kTabGroupsIPadDescription, flags_ui::kOsIos,
2008 FEATURE_VALUE_TYPE(kTabGroupsIPad)},
Vidhan Jain1199e202024-03-15 14:42:592009 {"autofill-enable-dynamically-loading-fields-on-input",
2010 flag_descriptions::
2011 kAutofillEnableDynamicallyLoadingFieldsForAddressInputName,
2012 flag_descriptions::
2013 kAutofillEnableDynamicallyLoadingFieldsForAddressInputDescription,
2014 flags_ui::kOsIos,
2015 FEATURE_VALUE_TYPE(kAutofillDynamicallyLoadsFieldsForAddressInput)},
aliaaborhamy00f89df2023-12-21 14:55:032016 {"share-in-web-context-menu-ios",
2017 flag_descriptions::kShareInWebContextMenuIOSName,
2018 flag_descriptions::kShareInWebContextMenuIOSDescription, flags_ui::kOsIos,
2019 FEATURE_VALUE_TYPE(kShareInWebContextMenuIOS)},
Mustafa Emre Acer05412ee2024-01-11 01:03:552020 {"https-upgrades-ios", flag_descriptions::kHttpsUpgradesName,
2021 flag_descriptions::kHttpsUpgradesDescription, flags_ui::kOsIos,
2022 FEATURE_VALUE_TYPE(security_interstitials::features::kHttpsUpgrades)},
Robbie Gibsona04957be2024-01-15 19:52:462023 {"contextual-panel", flag_descriptions::kContextualPanelName,
2024 flag_descriptions::kContextualPanelDescription, flags_ui::kOsIos,
Nicolas MacBethc738c4e2024-07-19 21:14:192025 FEATURE_WITH_PARAMS_VALUE_TYPE(kContextualPanel,
2026 kContextualPanelEntrypointArmVariations,
2027 "ContextualPanel")},
adamtad0e8cfc2024-01-16 18:43:472028 {"enable-ipad-feed-ghost-cards",
2029 flag_descriptions::kEnableiPadFeedGhostCardsName,
2030 flag_descriptions::kEnableiPadFeedGhostCardsDescription, flags_ui::kOsIos,
2031 FEATURE_VALUE_TYPE(kEnableiPadFeedGhostCards)},
Jason Hud445445f2024-02-02 18:28:122032 {"disable-lens-camera", flag_descriptions::kDisableLensCameraName,
2033 flag_descriptions::kDisableLensCameraDescription, flags_ui::kOsIos,
2034 FEATURE_VALUE_TYPE(kDisableLensCamera)},
Alexander Tekleeebe42b92024-02-23 21:27:152035 {"autofill-enable-card-benefits-for-american-express",
2036 flag_descriptions::kAutofillEnableCardBenefitsForAmericanExpressName,
2037 flag_descriptions::
2038 kAutofillEnableCardBenefitsForAmericanExpressDescription,
2039 flags_ui::kOsIos,
2040 FEATURE_VALUE_TYPE(
2041 autofill::features::kAutofillEnableCardBenefitsForAmericanExpress)},
Yishui Liub88a38c2024-02-28 08:46:552042 {"autofill-enable-card-benefits-sync",
2043 flag_descriptions::kAutofillEnableCardBenefitsSyncName,
2044 flag_descriptions::kAutofillEnableCardBenefitsSyncDescription,
2045 flags_ui::kOsIos,
2046 FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardBenefitsSync)},
Rubin Deliallisi4170b1c2024-02-28 16:15:422047 {"linked-services-setting-ios",
2048 flag_descriptions::kLinkedServicesSettingIosName,
2049 flag_descriptions::kLinkedServicesSettingIosDescription, flags_ui::kOsIos,
2050 FEATURE_VALUE_TYPE(kLinkedServicesSettingIos)},
hvs7c6cb402024-03-27 02:39:002051 {"autofill-enable-prefetching-risk-data-for-retrieval",
2052 flag_descriptions::kAutofillEnablePrefetchingRiskDataForRetrievalName,
Vincent Boisselle2e95b882024-03-29 21:03:562053 flag_descriptions::
2054 kAutofillEnablePrefetchingRiskDataForRetrievalDescription,
hvs7c6cb402024-03-27 02:39:002055 flags_ui::kOsIos,
Vincent Boisselle2e95b882024-03-29 21:03:562056 FEATURE_VALUE_TYPE(
2057 autofill::features::kAutofillEnablePrefetchingRiskDataForRetrieval)},
2058 {"autofill-sticky-infobar", flag_descriptions::kAutofillStickyInfobarName,
2059 flag_descriptions::kAutofillStickyInfobarDescription, flags_ui::kOsIos,
2060 FEATURE_VALUE_TYPE(kAutofillStickyInfobarIos)},
Raj Tc66dd122024-04-01 18:48:392061 {"page-content-annotations", flag_descriptions::kPageContentAnnotationsName,
2062 flag_descriptions::kPageContentAnnotationsDescription, flags_ui::kOsIos,
2063 FEATURE_VALUE_TYPE(
2064 page_content_annotations::features::kPageContentAnnotations)},
2065 {"page-content-annotations-persist-salient-image-metadata",
2066 flag_descriptions::kPageContentAnnotationsPersistSalientImageMetadataName,
2067 flag_descriptions::
2068 kPageContentAnnotationsPersistSalientImageMetadataDescription,
2069 flags_ui::kOsIos,
2070 FEATURE_VALUE_TYPE(
2071 page_content_annotations::features::
2072 kPageContentAnnotationsPersistSalientImageMetadata)},
2073 {"page-content-annotations-remote-page-metadata",
2074 flag_descriptions::kPageContentAnnotationsRemotePageMetadataName,
2075 flag_descriptions::kPageContentAnnotationsRemotePageMetadataDescription,
2076 flags_ui::kOsIos,
2077 FEATURE_VALUE_TYPE(
2078 page_content_annotations::features::kRemotePageMetadata)},
2079 {"page-visibility-page-content-annotations",
2080 flag_descriptions::kPageVisibilityPageContentAnnotationsName,
2081 flag_descriptions::kPageVisibilityPageContentAnnotationsDescription,
2082 flags_ui::kOsIos,
2083 FEATURE_VALUE_TYPE(page_content_annotations::features::
2084 kPageVisibilityPageContentAnnotations)},
Daniel White7867261f2024-04-02 19:08:122085 {"enhanced-safe-browsing-promo",
2086 flag_descriptions::kEnhancedSafeBrowsingPromoName,
2087 flag_descriptions::kEnhancedSafeBrowsingPromoDescription, flags_ui::kOsIos,
Daniel Whiteb6285082024-05-03 18:00:022088 FEATURE_VALUE_TYPE(safe_browsing::kEnhancedSafeBrowsingPromo)},
Alexis Hetu37823762025-01-24 15:41:592089 {"cpe-automatic-passkey-upgrade",
2090 flag_descriptions::kCredentialProviderAutomaticPasskeyUpgradeName,
2091 flag_descriptions::kCredentialProviderAutomaticPasskeyUpgradeDescription,
2092 flags_ui::kOsIos,
2093 FEATURE_VALUE_TYPE(kCredentialProviderAutomaticPasskeyUpgrade)},
Alexis Hetu028acd32025-01-17 15:53:222094 {"cpe-passkey-prf-support",
2095 flag_descriptions::kCredentialProviderPasskeyPRFName,
2096 flag_descriptions::kCredentialProviderPasskeyPRFDescription,
2097 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kCredentialProviderPasskeyPRF)},
Sebsgfcd5b0b2024-04-09 08:18:322098 {"cpe-performance-improvements",
2099 flag_descriptions::kCredentialProviderPerformanceImprovementsName,
2100 flag_descriptions::kCredentialProviderPerformanceImprovementsDescription,
2101 flags_ui::kOsIos,
2102 FEATURE_VALUE_TYPE(kCredentialProviderPerformanceImprovements)},
Maria Kazinova0ee4fdd2025-01-22 20:06:592103 {"password-form-clientside-classifier",
2104 flag_descriptions::kPasswordFormClientsideClassifierName,
2105 flag_descriptions::kPasswordFormClientsideClassifierDescription,
2106 flags_ui::kOsIos,
2107 FEATURE_VALUE_TYPE(
2108 password_manager::features::kPasswordFormClientsideClassifier)},
Jérôme Lebel993c7e3d2024-07-08 14:05:352109 {"identity-disc-account-menu",
2110 flag_descriptions::kIdentityDiscAccountMenuName,
2111 flag_descriptions::kIdentityDiscAccountMenuDescription, flags_ui::kOsIos,
Jood943cbb12025-02-20 17:02:272112 FEATURE_WITH_PARAMS_VALUE_TYPE(kIdentityDiscAccountMenu,
2113 kIdentityDiscAccountMenuVariations,
2114 "IdentityDiscAccountMenu")},
Jood Hajeer3867886d2024-07-29 16:15:352115 {"identity-confirmation-snackbar",
2116 flag_descriptions::kIdentityConfirmationSnackbarName,
2117 flag_descriptions::kIdentityConfirmationSnackbarDescription,
2118 flags_ui::kOsIos,
2119 FEATURE_WITH_PARAMS_VALUE_TYPE(
2120 kIdentityConfirmationSnackbar,
2121 kIdentityConfirmationSnackbarTestingVariations,
2122 "IdentityConfirmationSnackbar")},
Filipa Senrabe00cbe2024-04-19 14:21:332123 {"ios-quick-delete", flag_descriptions::kIOSQuickDeleteName,
2124 flag_descriptions::kIOSQuickDeleteDescription, flags_ui::kOsIos,
2125 FEATURE_VALUE_TYPE(kIOSQuickDelete)},
Ewann Pelle34939b62024-08-22 10:45:492126 {"tab-group-sync", flag_descriptions::kTabGroupSyncName,
2127 flag_descriptions::kTabGroupSyncDescription, flags_ui::kOsIos,
Louis Romero5a84afc2024-04-25 10:29:202128 FEATURE_VALUE_TYPE(kTabGroupSync)},
Ameur Hosni3d764c92024-05-28 14:11:122129 {"omnibox-suggestion-answer-migration",
2130 flag_descriptions::kOmniboxSuggestionAnswerMigrationName,
2131 flag_descriptions::kOmniboxSuggestionAnswerMigrationDescription,
2132 flags_ui::kOsIos,
2133 FEATURE_VALUE_TYPE(omnibox_feature_configs::SuggestionAnswerMigration::
Olivier Robin51ffd172024-05-29 08:56:302134 kOmniboxSuggestionAnswerMigration)},
Hira Mahmood6e2a894e2024-05-31 15:18:192135 {"send-tab-ios-push-notifications",
2136 flag_descriptions::kSendTabToSelfIOSPushNotificationsName,
2137 flag_descriptions::kSendTabToSelfIOSPushNotificationsDescription,
2138 flags_ui::kOsIos,
Hira Mahmood00c17e52024-10-09 14:30:482139 FEATURE_WITH_PARAMS_VALUE_TYPE(
2140 send_tab_to_self::kSendTabToSelfIOSPushNotifications,
2141 kSendTabIOSPushNotificationsVariations,
2142 "SendTabToSelfIOSPushNotifications")},
Olivier ROBINcb76f4fe2024-06-05 16:11:422143 {"page-image-service-optimization-guide-salient-images",
2144 flag_descriptions::kPageImageServiceSalientImageName,
2145 flag_descriptions::kPageImageServiceSalientImageDescription,
2146 flags_ui::kOsIos,
2147 FEATURE_WITH_PARAMS_VALUE_TYPE(
2148 page_image_service::kImageServiceOptimizationGuideSalientImages,
2149 kImageServiceOptimizationGuideSalientImagesVariations,
2150 "PageImageService")},
Elmehdi Rahmaouifafd5b72024-06-06 08:34:222151 {"downloaded-pdf-opening-ios", flag_descriptions::kDownloadedPDFOpeningName,
2152 flag_descriptions::kDownloadedPDFOpeningDescription, flags_ui::kOsIos,
2153 FEATURE_VALUE_TYPE(kDownloadedPDFOpening)},
Charles Yangf8e7adf2024-06-11 00:17:002154 {"lens-filters-ablation-mode-enabled",
2155 flag_descriptions::kLensFiltersAblationModeEnabledName,
2156 flag_descriptions::kLensFiltersAblationModeEnabledDescription,
2157 flags_ui::kOsIos,
2158 FEATURE_WITH_PARAMS_VALUE_TYPE(kLensFiltersAblationModeEnabled,
2159 kLensFiltersAblationModeVariations,
2160 "LensFiltersAblationMode")},
2161 {"lens-translate-toogle-mode-enabled",
2162 flag_descriptions::kLensTranslateToggleModeEnabledName,
2163 flag_descriptions::kLensTranslateToggleModeEnabledDescription,
2164 flags_ui::kOsIos,
2165 FEATURE_WITH_PARAMS_VALUE_TYPE(kLensTranslateToggleModeEnabled,
2166 kLensTranslateToggleModeVariations,
2167 "LensTranslateToggleMode")},
Quentin Pubertb0984c72024-06-12 15:41:592168 {"ios-choose-from-drive", flag_descriptions::kIOSChooseFromDriveName,
2169 flag_descriptions::kIOSChooseFromDriveDescription, flags_ui::kOsIos,
2170 FEATURE_VALUE_TYPE(kIOSChooseFromDrive)},
Khalid Peer7cf75a22024-06-13 17:25:492171 {"omnibox-ml-log-url-scoring-signals",
2172 flag_descriptions::kOmniboxMlLogUrlScoringSignalsName,
2173 flag_descriptions::kOmniboxMlLogUrlScoringSignalsDescription,
2174 flags_ui::kOsIos, FEATURE_VALUE_TYPE(omnibox::kLogUrlScoringSignals)},
2175 {"omnibox-ml-url-piecewise-mapped-search-blending",
2176 flag_descriptions::kOmniboxMlUrlPiecewiseMappedSearchBlendingName,
2177 flag_descriptions::kOmniboxMlUrlPiecewiseMappedSearchBlendingDescription,
2178 flags_ui::kOsIos,
2179 FEATURE_WITH_PARAMS_VALUE_TYPE(
2180 omnibox::kMlUrlPiecewiseMappedSearchBlending,
2181 kMlUrlPiecewiseMappedSearchBlendingVariations,
2182 "MlUrlPiecewiseMappedSearchBlending")},
2183 {"omnibox-ml-url-score-caching",
2184 flag_descriptions::kOmniboxMlUrlScoreCachingName,
2185 flag_descriptions::kOmniboxMlUrlScoreCachingDescription, flags_ui::kOsIos,
2186 FEATURE_VALUE_TYPE(omnibox::kMlUrlScoreCaching)},
2187 {"omnibox-ml-url-scoring", flag_descriptions::kOmniboxMlUrlScoringName,
2188 flag_descriptions::kOmniboxMlUrlScoringDescription, flags_ui::kOsIos,
2189 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMlUrlScoring,
2190 kOmniboxMlUrlScoringVariations,
2191 "MlUrlScoring")},
2192 {"omnibox-ml-url-search-blending",
2193 flag_descriptions::kOmniboxMlUrlSearchBlendingName,
2194 flag_descriptions::kOmniboxMlUrlSearchBlendingDescription,
2195 flags_ui::kOsIos,
2196 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kMlUrlSearchBlending,
2197 kMlUrlSearchBlendingVariations,
2198 "MlUrlScoring")},
2199 {"omnibox-ml-url-scoring-model",
2200 flag_descriptions::kOmniboxMlUrlScoringModelName,
2201 flag_descriptions::kOmniboxMlUrlScoringModelDescription, flags_ui::kOsIos,
Khalid Peer4501c1f2024-06-27 16:12:042202 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUrlScoringModel,
2203 kUrlScoringModelVariations,
2204 "MlUrlScoring")},
Siyu An4a486f02024-06-18 19:41:282205 {"autofill-show-manual-fill-for-virtual-cards",
2206 flag_descriptions::kAutofillShowManualFillForVirtualCardsName,
2207 flag_descriptions::kAutofillShowManualFillForVirtualCardsDescription,
2208 flags_ui::kOsIos,
2209 FEATURE_VALUE_TYPE(
2210 autofill::features::kAutofillShowManualFillForVirtualCards)},
Benjamin Williams0594caf2024-07-09 17:51:382211 {"safety-check-notifications",
2212 flag_descriptions::kSafetyCheckNotificationsName,
2213 flag_descriptions::kSafetyCheckNotificationsDescription, flags_ui::kOsIos,
2214 FEATURE_WITH_PARAMS_VALUE_TYPE(kSafetyCheckNotifications,
2215 kSafetyCheckNotificationsVariations,
2216 "SafetyCheckNotifications")},
Federica Germinarioa1fe0902024-07-12 08:28:462217 {"app-background-refresh-ios", flag_descriptions::kAppBackgroundRefreshName,
2218 flag_descriptions::kAppBackgroundRefreshDescription, flags_ui::kOsIos,
2219 FEATURE_VALUE_TYPE(kEnableAppBackgroundRefresh)},
Chris Lu3eba26312024-07-12 20:21:382220 {"home-memory-improvements", flag_descriptions::kHomeMemoryImprovementsName,
2221 flag_descriptions::kHomeMemoryImprovementsDescription, flags_ui::kOsIos,
2222 FEATURE_VALUE_TYPE(kHomeMemoryImprovements)},
Stephen McGruer8fe98b62024-07-16 13:10:132223 {"autofill-upload-card-request-timeout",
2224 flag_descriptions::kAutofillUploadCardRequestTimeoutName,
2225 flag_descriptions::kAutofillUploadCardRequestTimeoutDescription,
2226 flags_ui::kOsIos,
2227 FEATURE_WITH_PARAMS_VALUE_TYPE(
2228 autofill::features::kAutofillUploadCardRequestTimeout,
2229 kAutofillUploadCardRequestTimeoutOptions,
2230 "AutofillUploadCardRequestTimeout")},
Stephen McGruer0904cae2024-07-17 19:54:462231 {"autofill-vcn-enroll-request-timeout",
2232 flag_descriptions::kAutofillVcnEnrollRequestTimeoutName,
2233 flag_descriptions::kAutofillVcnEnrollRequestTimeoutDescription,
2234 flags_ui::kOsIos,
2235 FEATURE_WITH_PARAMS_VALUE_TYPE(
2236 autofill::features::kAutofillVcnEnrollRequestTimeout,
2237 kAutofillVcnEnrollRequestTimeoutOptions,
2238 "AutofillVcnEnrollRequestTimeout")},
Charles Yang98bef0c2024-07-19 12:24:142239 {"lens-web-page-load-optimization-enabled",
2240 flag_descriptions::kLensWebPageLoadOptimizationEnabledName,
2241 flag_descriptions::kLensWebPageLoadOptimizationEnabledDescription,
2242 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensWebPageLoadOptimizationEnabled)},
Eric Ekey4a930592024-07-19 18:58:142243 {"segmented-default-browser-promo",
2244 flag_descriptions::kSegmentedDefaultBrowserPromoName,
2245 flag_descriptions::kSegmentedDefaultBrowserPromoDescription,
Briana McClurec2b62f92024-10-29 15:35:062246 flags_ui::kOsIos,
2247 FEATURE_WITH_PARAMS_VALUE_TYPE(kSegmentedDefaultBrowserPromo,
2248 kSegmentedDefaultBrowserPromoVariations,
2249 "SegmentedDBP-Animation")},
Junhui He52294652024-07-23 23:50:152250 {"autofill-unmask-card-request-timeout",
2251 flag_descriptions::kAutofillUnmaskCardRequestTimeoutName,
2252 flag_descriptions::kAutofillUnmaskCardRequestTimeoutDescription,
2253 flags_ui::kOsIos,
2254 FEATURE_VALUE_TYPE(autofill::features::kAutofillUnmaskCardRequestTimeout)},
vincbe1379832024-08-06 19:08:122255 {"autofill-across-iframes", flag_descriptions::kAutofillAcrossIframesName,
2256 flag_descriptions::kAutofillAcrossIframesDescription, flags_ui::kOsIos,
2257 FEATURE_VALUE_TYPE(autofill::features::kAutofillAcrossIframesIos)},
Cristian Ciacu62fe1912024-08-07 10:14:502258 {"ios-page-info-last-visited",
2259 flag_descriptions::kPageInfoLastVisitedIOSName,
2260 flag_descriptions::kPageInfoLastVisitedIOSDescription, flags_ui::kOsIos,
2261 FEATURE_VALUE_TYPE(kPageInfoLastVisitedIOS)},
Daniel White1ced9e62024-08-15 19:27:382262 {"enable-trait-collection-registration",
2263 flag_descriptions::kEnableTraitCollectionRegistrationName,
2264 flag_descriptions::kEnableTraitCollectionRegistrationDescription,
2265 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kEnableTraitCollectionRegistration)},
Ernesto Izquierdo Cluaebe0a0252024-08-19 22:05:542266 {"autofill-isolated-world-ios",
2267 flag_descriptions::kAutofillIsolatedWorldForJavascriptIOSName,
2268 flag_descriptions::kAutofillIsolatedWorldForJavascriptIOSDescription,
2269 flags_ui::kOsIos,
2270 FEATURE_VALUE_TYPE(kAutofillIsolatedWorldForJavascriptIos)},
Ewann Pelle34939b62024-08-22 10:45:492271 {"tab-group-indicator", flag_descriptions::kTabGroupIndicatorName,
2272 flag_descriptions::kTabGroupIndicatorDescription, flags_ui::kOsIos,
Ewann Pelle1f48f922025-01-13 11:43:342273 FEATURE_WITH_PARAMS_VALUE_TYPE(kTabGroupIndicator,
2274 kTabGroupIndicatorVariations,
2275 "TabGroupIndicator")},
thefrog8ed47452024-08-30 13:32:482276 {"safe-browsing-local-lists-use-sbv5",
2277 flag_descriptions::kSafeBrowsingLocalListsUseSBv5Name,
2278 flag_descriptions::kSafeBrowsingLocalListsUseSBv5Description,
2279 flags_ui::kOsIos, FEATURE_VALUE_TYPE(safe_browsing::kLocalListsUseSBv5)},
Chris Lu4c688e02024-09-07 00:48:082280 {"ios-price-tracking-notification-promo-card",
2281 flag_descriptions::kPriceTrackingPromoName,
2282 flag_descriptions::kPriceTrackingPromoDescription, flags_ui::kOsIos,
2283 FEATURE_VALUE_TYPE(commerce::kPriceTrackingPromo)},
Gloria Fang02964a442025-02-06 19:21:182284 {"ios-shop-card", flag_descriptions::kShopCardName,
2285 flag_descriptions::kShopCardDescription, flags_ui::kOsIos,
2286 FEATURE_WITH_PARAMS_VALUE_TYPE(commerce::kShopCard,
2287 kShopCardOverrideOptions,
2288 "ShopCard")},
David Maunder9b9dd1a2025-04-04 20:08:242289 {"ios-shop-card-impression-limits",
2290 flag_descriptions::kShopCardImpressionLimitsName,
2291 flag_descriptions::kShopCardImpressionLimitsDescription, flags_ui::kOsIos,
2292 FEATURE_VALUE_TYPE(commerce::kShopCardImpressionLimits)},
Chris Lu4c688e02024-09-07 00:48:082293 {"ios-segmentation-ephemeral-card-ranker",
2294 flag_descriptions::kSegmentationPlatformEphemeralCardRankerName,
2295 flag_descriptions::kSegmentationPlatformEphemeralCardRankerDescription,
2296 flags_ui::kOsIos,
2297 FEATURE_WITH_PARAMS_VALUE_TYPE(
2298 segmentation_platform::features::
2299 kSegmentationPlatformEphemeralCardRanker,
2300 kEphemeralCardRankerCardOverrideOptions,
2301 "SegmentationPlatformEphemeralCardRanker")},
Alexander Tekle8cf3c8e2024-09-13 21:38:072302 {"autofill-enable-log-form-events-to-all-parsed-form-types",
2303 flag_descriptions::kAutofillEnableLogFormEventsToAllParsedFormTypesName,
2304 flag_descriptions::
2305 kAutofillEnableLogFormEventsToAllParsedFormTypesDescription,
2306 flags_ui::kOsIos,
2307 FEATURE_VALUE_TYPE(
2308 autofill::features::kAutofillEnableLogFormEventsToAllParsedFormTypes)},
Radu Nitescu06133382024-10-21 18:33:292309 {"lens-overlay-enable-ipad-compatibility",
2310 flag_descriptions::kLensOverlayEnableIPadCompatibilityName,
2311 flag_descriptions::kLensOverlayEnableIPadCompatibilityDescription,
2312 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayEnableIPadCompatibility)},
Radu Nitescub3e06f92025-02-06 17:32:252313 {"lens-overlay-enable-landscape-compatibility",
2314 flag_descriptions::kLensOverlayEnableLandscapeCompatibilityName,
2315 flag_descriptions::kLensOverlayEnableLandscapeCompatibilityDescription,
2316 flags_ui::kOsIos,
2317 FEATURE_VALUE_TYPE(kLensOverlayEnableLandscapeCompatibility)},
Ameur Hosni22b62d92024-09-25 10:51:022318 {"lens-overlay-force-show-onboarding-screen",
2319 flag_descriptions::kLensOverlayForceShowOnboardingScreenName,
2320 flag_descriptions::kLensOverlayForceShowOnboardingScreenDescription,
2321 flags_ui::kOsIos,
2322 FEATURE_VALUE_TYPE(kLensOverlayForceShowOnboardingScreen)},
Stepan Khapuginc5820242025-01-10 22:21:112323 {"lens-overlay-alternative-onboarding",
2324 flag_descriptions::kLensOverlayAlternativeOnboardingName,
2325 flag_descriptions::kLensOverlayAlternativeOnboardingDescription,
2326 flags_ui::kOsIos,
Radu Nitescu6e6dd7f52025-01-17 11:33:352327 FEATURE_WITH_PARAMS_VALUE_TYPE(kLensOverlayAlternativeOnboarding,
2328 kLensOverlayOnboardingVariations,
2329 "kLensOverlayOnboarding")},
Gauthier Ambard766f4cf2024-09-26 16:56:252330 {"data-sharing", flag_descriptions::kDataSharingName,
2331 flag_descriptions::kDataSharingDescription, flags_ui::kOsIos,
2332 FEATURE_VALUE_TYPE(data_sharing::features::kDataSharingFeature)},
2333 {"data-sharing-join-only", flag_descriptions::kDataSharingJoinOnlyName,
2334 flag_descriptions::kDataSharingJoinOnlyDescription, flags_ui::kOsIos,
2335 FEATURE_VALUE_TYPE(data_sharing::features::kDataSharingJoinOnly)},
Rubin Deliallisib66a77a2024-10-02 18:09:482336 {"ios-soft-lock", flag_descriptions::kIOSSoftLockName,
2337 flag_descriptions::kIOSSoftLockDescription, flags_ui::kOsIos,
Rubin Deliallisi1d0b3ba2024-11-04 14:33:042338 FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSSoftLock,
2339 kIOSSoftLockVariations,
2340 "IOSSoftLock")},
Marc Treib31e4f9f2024-10-07 09:55:542341 {"separate-profiles-for-managed-accounts",
2342 flag_descriptions::kSeparateProfilesForManagedAccountsName,
2343 flag_descriptions::kSeparateProfilesForManagedAccountsDescription,
Olivier ROBINb17c14b92024-10-09 13:49:132344 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kSeparateProfilesForManagedAccounts)},
Olivier ROBINb17c14b92024-10-09 13:49:132345 {"tab-resumption-images", flag_descriptions::kTabResumptionImagesName,
2346 flag_descriptions::kTabResumptionImagesDescription, flags_ui::kOsIos,
2347 FEATURE_WITH_PARAMS_VALUE_TYPE(kTabResumptionImages,
2348 kTabResumptionImagesVariations,
2349 "TabResumption1_5")},
Benjamin Williamsd7f854b2024-10-09 17:12:272350 {"segmentation-platform-tips-ephemeral-card",
2351 flag_descriptions::kSegmentationPlatformTipsEphemeralCardName,
2352 flag_descriptions::kSegmentationPlatformTipsEphemeralCardDescription,
2353 flags_ui::kOsIos,
2354 FEATURE_VALUE_TYPE(segmentation_platform::features::
vincbf23f7332024-10-11 19:32:122355 kSegmentationPlatformTipsEphemeralCard)},
2356 {"ios-password-suggestion-bottom-sheet-v2",
2357 flag_descriptions::kPasswordSuggestionBottomSheetV2Name,
2358 flag_descriptions::kPasswordSuggestionBottomSheetV2Description,
2359 flags_ui::kOsIos,
Federica Germinariof58b5a7e2024-10-22 10:35:422360 FEATURE_VALUE_TYPE(password_manager::features::kIOSPasswordBottomSheetV2)},
Charles Yang11dd8ab2024-10-24 19:15:532361 {"lens-unary-apis-with-http-transport-enabled",
2362 flag_descriptions::kLensUnaryApisWithHttpTransportEnabledName,
2363 flag_descriptions::kLensUnaryApisWithHttpTransportEnabledDescription,
2364 flags_ui::kOsIos,
2365 FEATURE_VALUE_TYPE(kLensUnaryApisWithHttpTransportEnabled)},
Christian Xu6db322d2024-10-25 14:12:492366 {"lens-overlay-enable-same-tab-navigation",
2367 flag_descriptions::kLensOverlayEnableSameTabNavigationName,
2368 flag_descriptions::kLensOverlayEnableSameTabNavigationDescription,
2369 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayEnableSameTabNavigation)},
Elmehdi Rahmaoui3c6e8012024-10-28 10:17:532370 {"ios-chrome-startup-parameters-async",
2371 flag_descriptions::kChromeStartupParametersAsyncName,
2372 flag_descriptions::kChromeStartupParametersAsyncDescription,
2373 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kChromeStartupParametersAsync)},
Elmehdi Rahmaoui63a0d8212025-01-07 11:42:482374 {"ios-youtube-incognito", flag_descriptions::kYoutubeIncognitoName,
2375 flag_descriptions::kYoutubeIncognitoDescription, flags_ui::kOsIos,
Elmehdi Rahmaoui543d35f2025-01-16 10:09:422376 FEATURE_WITH_PARAMS_VALUE_TYPE(kYoutubeIncognito,
2377 kYoutubeIncognitoVariations,
2378 "IOSYoutubeIncognito")},
Christian Xua8459472024-10-31 13:39:082379 {"lens-overlay-enable-location-bar-entrypoint",
2380 flag_descriptions::kLensOverlayEnableLocationBarEntrypointName,
2381 flag_descriptions::kLensOverlayEnableLocationBarEntrypointDescription,
2382 flags_ui::kOsIos,
2383 FEATURE_VALUE_TYPE(kLensOverlayEnableLocationBarEntrypoint)},
Radu Nitescuc42107b92025-02-13 17:32:272384 {"lens-overlay-enable-location-bar-entrypoint-on-srp",
2385 flag_descriptions::kLensOverlayEnableLocationBarEntrypointOnSRPName,
2386 flag_descriptions::kLensOverlayEnableLocationBarEntrypointOnSRPDescription,
2387 flags_ui::kOsIos,
2388 FEATURE_VALUE_TYPE(kLensOverlayEnableLocationBarEntrypointOnSRP)},
2389 {"lens-overlay-enable-lvf-escape-hatch",
2390 flag_descriptions::kLensOverlayEnableLVFEscapeHatchName,
2391 flag_descriptions::kLensOverlayEnableLVFEscapeHatchDescription,
Radu Nitescu0c21e3c2025-02-13 21:27:192392 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayEnableLVFEscapeHatch)},
Stepan Khapugin277221892025-04-07 13:01:092393 {"lens-overlay-disable-iph-pan-gesture",
2394 flag_descriptions::kLensOverlayDisableIPHPanGestureName,
2395 flag_descriptions::kLensOverlayDisableIPHPanGestureDescription,
2396 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayDisableIPHPanGesture)},
Christian Xudddf1e012024-10-31 18:34:012397 {"lens-overlay-disable-price-insights",
2398 flag_descriptions::kLensOverlayDisablePriceInsightsName,
2399 flag_descriptions::kLensOverlayDisablePriceInsightsDescription,
2400 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayDisablePriceInsights)},
Chris Lu9fd38c62024-11-04 22:22:592401 {"ios-provisional-notification-alert",
2402 flag_descriptions::kProvisionalNotificationAlertName,
2403 flag_descriptions::kProvisionalNotificationAlertDescription,
2404 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kProvisionalNotificationAlert)},
Hira Mahmood431c8ab2024-11-05 17:16:292405 {"ios-start-time-startup-remediations",
2406 flag_descriptions::kIOSStartTimeStartupRemediationsName,
2407 flag_descriptions::kIOSStartTimeStartupRemediationsDescription,
2408 flags_ui::kOsIos,
2409 FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSStartTimeStartupRemediations,
2410 kIOSStartTimeStartupRemediationsVariations,
2411 "IOSStartTimeStartupRemediations")},
vincb7867dc042024-11-06 14:25:052412 {"autofill-throttle-doc-form-scans",
2413 flag_descriptions::kAutofillThrottleDocumentFormScanName,
2414 flag_descriptions::kAutofillThrottleDocumentFormScanDescription,
2415 flags_ui::kOsIos,
2416 FEATURE_WITH_PARAMS_VALUE_TYPE(kAutofillThrottleDocumentFormScanIos,
2417 kAutofillThrottleDocFormScanVariations,
2418 "AutofillThrottleDocumentFormScan")},
vincb2bf7f5c2024-11-06 17:18:092419 {"autofill-throttle-filtered-doc-form-scan",
2420 flag_descriptions::kAutofillThrottleFilteredDocumentFormScanName,
2421 flag_descriptions::kAutofillThrottleFilteredDocumentFormScanDescription,
2422 flags_ui::kOsIos,
2423 FEATURE_WITH_PARAMS_VALUE_TYPE(
2424 kAutofillThrottleFilteredDocumentFormScanIos,
2425 kAutofillThrottleFilteredDocFormScanVariations,
2426 "AutofillThrottleFilteredDocumentFormScan")},
ginnnnnnny963c7fc2024-11-06 22:44:502427 {"ios-new-feed-positioning",
2428 flag_descriptions::kNewFeedPositioningExperimentName,
2429 flag_descriptions::kNewFeedPositioningExperimentDescription,
2430 flags_ui::kOsIos,
2431 FEATURE_WITH_PARAMS_VALUE_TYPE(kNewFeedPositioning,
2432 kNewFeedPositioningVariations,
2433 "IOSNewFeedPositioningStudy")},
vincb91781772024-11-08 17:13:122434 {"autofill-payments-sheet-v2",
2435 flag_descriptions::kAutofillPaymentsSheetV2Name,
2436 flag_descriptions::kAutofillPaymentsSheetV2Description, flags_ui::kOsIos,
2437 FEATURE_VALUE_TYPE(kAutofillPaymentsSheetV2Ios)},
Hira Mahmoodf8533dc2024-11-12 16:24:252438 {"ios-start-time-browser-background-remediations",
2439 flag_descriptions::kIOSStartTimeBrowserBackgroundRemediationsName,
2440 flag_descriptions::kIOSStartTimeBrowserBackgroundRemediationsDescription,
2441 flags_ui::kOsIos,
2442 FEATURE_WITH_PARAMS_VALUE_TYPE(
2443 kIOSStartTimeBrowserBackgroundRemediations,
2444 kIOSStartTimeBrowserBackgroundRemediationsVariations,
2445 "IOSStartTimeStartupRemediations")},
Hira Mahmood664449872024-11-18 23:55:222446 {"set-up-list-in-first-run", flag_descriptions::kSetUpListInFirstRunName,
2447 flag_descriptions::kSetUpListInFirstRunNameDescription, flags_ui::kOsIos,
2448 FEATURE_WITH_PARAMS_VALUE_TYPE(set_up_list::kSetUpListInFirstRun,
2449 kSetUpListInFirstRunVariations,
2450 "SetUpListInFirstRun")},
Charles Yangf57489f2024-11-27 13:58:282451 {"lens-unary-http-transport-enabled",
2452 flag_descriptions::kLensUnaryHttpTransportEnabledName,
2453 flag_descriptions::kLensUnaryHttpTransportEnabledDescription,
2454 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensUnaryHttpTransportEnabled)},
Charles Yang8b4687c2024-12-11 02:42:192455 {"lens-clearcut-background-upload-enabled",
2456 flag_descriptions::kLensClearcutBackgroundUploadEnabledName,
2457 flag_descriptions::kLensClearcutBackgroundUploadEnabledDescription,
2458 flags_ui::kOsIos,
2459 FEATURE_VALUE_TYPE(kLensClearcutBackgroundUploadEnabled)},
2460 {"lens-clearcut-logger-fast-qos-enabled",
2461 flag_descriptions::kLensClearcutLoggerFastQosEnabledName,
2462 flag_descriptions::kLensClearcutLoggerFastQosEnabledDescription,
2463 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensClearcutLoggerFastQosEnabled)},
Hira Mahmood7577c9b672024-12-12 20:29:122464 {"set-up-list-shortened-duration",
2465 flag_descriptions::kSetUpListShortenedDurationName,
2466 flag_descriptions::kSetUpListShortenedDurationDescription,
2467 flags_ui::kOsIos,
2468 FEATURE_WITH_PARAMS_VALUE_TYPE(set_up_list::kSetUpListShortenedDuration,
2469 kSetUpListDurationVariations,
2470 "SetUpListShortenedDuration")},
Christian Xu375dcf72024-12-17 15:44:592471 {"enable-lens-overlay-price-insights-counterfactual",
2472 flag_descriptions::kLensOverlayPriceInsightsCounterfactualName,
2473 flag_descriptions::kLensOverlayPriceInsightsCounterfactualDescription,
2474 flags_ui::kOsIos,
2475 FEATURE_VALUE_TYPE(kLensOverlayPriceInsightsCounterfactual)},
Tommy Nyquiste1447512024-12-17 17:46:242476 {"collaboration-messaging", flag_descriptions::kCollaborationMessagingName,
2477 flag_descriptions::kCollaborationMessagingDescription, flags_ui::kOsIos,
Hailey Wang1f2d890a2024-12-26 20:23:562478 FEATURE_VALUE_TYPE(collaboration::features::kCollaborationMessaging)},
Charles Yangfd397e82024-12-19 17:11:452479 {"lens-single-tap-text-selection-disabled",
2480 flag_descriptions::kLensSingleTapTextSelectionDisabledName,
2481 flag_descriptions::kLensSingleTapTextSelectionDisabledDescription,
2482 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensSingleTapTextSelectionDisabled)},
Hira Mahmoodf6906a82025-01-02 17:55:092483 {"updated-fre-screens-sequence", flag_descriptions::kUpdatedFRESequenceName,
2484 flag_descriptions::kUpdatedFRESequenceDescription, flags_ui::kOsIos,
2485 FEATURE_WITH_PARAMS_VALUE_TYPE(first_run::kUpdatedFirstRunSequence,
2486 kUpdatedFirstRunSequenceVariations,
2487 "UpdatedFirstRunSequence")},
Hira Mahmood9f1c19092025-01-06 17:47:432488 {"set-up-list-without-sign-in-item",
2489 flag_descriptions::kSetUpListWithoutSignInItemName,
2490 flag_descriptions::kSetUpListWithoutSignInItemDescription,
2491 flags_ui::kOsIos,
2492 FEATURE_VALUE_TYPE(set_up_list::kSetUpListWithoutSignInItem)},
Fernando Ramirez3c16f9742025-01-07 22:40:362493 {"autofill-enable-card-benefits-for-bmo",
2494 flag_descriptions::kAutofillEnableCardBenefitsForBmoName,
2495 flag_descriptions::kAutofillEnableCardBenefitsForBmoDescription,
2496 flags_ui::kOsIos,
2497 FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCardBenefitsForBmo)},
Olivier ROBIN1a0db2a2025-01-09 10:41:532498 {"ios-manage-account-storage",
2499 flag_descriptions::kIOSManageAccountStorageName,
2500 flag_descriptions::kIOSManageAccountStorageDescription, flags_ui::kOsIos,
2501 FEATURE_VALUE_TYPE(kIOSManageAccountStorage)},
Nohemi Fernandez4e66e7182025-01-16 10:57:322502 {"supervised-user-local-web-approvals",
2503 flag_descriptions::kSupervisedUserLocalWebApprovalsName,
2504 flag_descriptions::kSupervisedUserLocalWebApprovalsDescription,
2505 flags_ui::kOsIos, FEATURE_VALUE_TYPE(supervised_user::kLocalWebApprovals)},
Daniel Whitee4562ce2025-01-21 17:36:562506 {"download-auto-deletion", flag_descriptions::kDownloadAutoDeletionName,
2507 flag_descriptions::kDownloadAutoDeletionDescription, flags_ui::kOsIos,
2508 FEATURE_VALUE_TYPE(kDownloadAutoDeletionFeatureEnabled)},
Charles Yang8bd747632025-01-22 20:17:002509 {"lens-ink-multi-sample-mode-disabled",
2510 flag_descriptions::kLensInkMultiSampleModeDisabledName,
2511 flag_descriptions::kLensInkMultiSampleModeDisabledDescription,
2512 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensInkMultiSampleModeDisabled)},
Briana McClure09b0c3632025-01-23 21:57:182513 {"animated-default-browser-promo-in-fre",
2514 flag_descriptions::kAnimatedDefaultBrowserPromoInFREName,
2515 flag_descriptions::kAnimatedDefaultBrowserPromoInFREDescription,
2516 flags_ui::kOsIos,
Briana McClure21685c42025-02-06 15:18:222517 FEATURE_WITH_PARAMS_VALUE_TYPE(
2518 first_run::kAnimatedDefaultBrowserPromoInFRE,
2519 kAnimatedDefaultBrowserPromoInFREVariations,
2520 "AnimatedDBPInFRE-Layout")},
Fernando Ramirezfcdb52f2025-01-24 19:27:352521 {"autofill-enable-allowlist-for-bmo-card-category-benefits",
2522 flag_descriptions::kAutofillEnableAllowlistForBmoCardCategoryBenefitsName,
2523 flag_descriptions::
2524 kAutofillEnableAllowlistForBmoCardCategoryBenefitsDescription,
2525 flags_ui::kOsIos,
2526 FEATURE_VALUE_TYPE(
2527 autofill::features::
2528 kAutofillEnableAllowlistForBmoCardCategoryBenefits)},
“Prasanaa”96e15992025-01-30 15:44:352529 {"fullscreen-transition", flag_descriptions::kFullscreenTransitionName,
2530 flag_descriptions::kFullscreenTransitionDescription, flags_ui::kOsIos,
2531 FEATURE_WITH_PARAMS_VALUE_TYPE(kFullscreenTransition,
2532 kFullscreenTransitionVariations,
ginnnnnnny0e892172025-02-04 21:45:172533 "IOSFull`screenTransition")},
ginnnnnnnyccce0952025-02-03 22:44:362534 {"ios-deprecate-feed-header",
2535 flag_descriptions::kDeprecateFeedHeaderExperimentName,
2536 flag_descriptions::kDeprecateFeedHeaderExperimentDescription,
2537 flags_ui::kOsIos,
2538 FEATURE_WITH_PARAMS_VALUE_TYPE(kDeprecateFeedHeader,
2539 kDeprecateFeedHeaderVariations,
2540 "IOSDeprecateFeedHeader")},
“Prasanaa”6ad22342025-02-25 12:55:172541 {"refactor-toolbars-size", flag_descriptions::kRefactorToolbarsSizeName,
2542 flag_descriptions::kRefactorToolbarsSizeDescription, flags_ui::kOsIos,
2543 FEATURE_VALUE_TYPE(kRefactorToolbarsSize)},
Charles Yangfc3655b62025-02-05 21:49:262544 {"lens-gesture-text-selection-disabled",
2545 flag_descriptions::kLensGestureTextSelectionDisabledName,
2546 flag_descriptions::kLensGestureTextSelectionDisabledDescription,
2547 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensGestureTextSelectionDisabled)},
Sourav0691b752025-02-07 16:44:072548 {"add-address-manually", flag_descriptions::kAddAddressManuallyName,
2549 flag_descriptions::kAddAddressManuallyDescription, flags_ui::kOsIos,
2550 FEATURE_VALUE_TYPE(kAddAddressManually)},
Charles Yangca6175732025-02-11 18:21:392551 {"lens-vsint-param-enabled", flag_descriptions::kLensVsintParamEnabledName,
2552 flag_descriptions::kLensVsintParamEnabledDescription, flags_ui::kOsIos,
2553 FEATURE_VALUE_TYPE(kLensVsintParamEnabled)},
Charles Yang6b2639d2025-02-11 19:24:042554 {"lens-unary-client-data-header-enabled",
2555 flag_descriptions::kLensUnaryClientDataHeaderEnabledName,
2556 flag_descriptions::kLensUnaryClientDataHeaderEnabledDescription,
2557 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensUnaryClientDataHeaderEnabled)},
Elmehdi Rahmaoui8d7eb922025-02-13 11:40:542558 {"ios-new-share-extension", flag_descriptions::kNewShareExtensionName,
2559 flag_descriptions::kNewShareExtensionDescription, flags_ui::kOsIos,
2560 FEATURE_VALUE_TYPE(kNewShareExtension)},
Hira Mahmooddcc63d7f2025-02-19 17:28:572561 {"ios-best-features-screen",
2562 flag_descriptions::kBestFeaturesScreenInFirstRunName,
2563 flag_descriptions::kBestFeaturesScreenInFirstRunDescription,
2564 flags_ui::kOsIos,
2565 FEATURE_WITH_PARAMS_VALUE_TYPE(first_run::kBestFeaturesScreenInFirstRun,
2566 kBestFeaturesScreenInFirstRunVariations,
2567 "BestFeaturesScreenInFirstRun")},
Noémie St-Onge4a534a122025-02-25 19:14:092568 {"ios-passkeys-m2", flag_descriptions::kIOSPasskeysM2Name,
2569 flag_descriptions::kIOSPasskeysM2Description, flags_ui::kOsIos,
2570 FEATURE_VALUE_TYPE(kIOSPasskeysM2)},
Hira Mahmood51082d72025-02-26 21:04:402571 {"manual-log-uploads-in-the-fre",
2572 flag_descriptions::kManualLogUploadsInFREName,
2573 flag_descriptions::kManualLogUploadsInFREDescription, flags_ui::kOsIos,
2574 FEATURE_VALUE_TYPE(first_run::kManualLogUploadsInTheFRE)},
Kavita Soni42e1c422025-02-27 22:09:092575 {"autofill-disable-default-save-card-fix-flow-detection",
2576 flag_descriptions::kAutofillDisableDefaultSaveCardFixFlowDetectionName,
2577 flag_descriptions::
2578 kAutofillDisableDefaultSaveCardFixFlowDetectionDescription,
2579 flags_ui::kOsIos,
2580 FEATURE_VALUE_TYPE(
2581 autofill::features::kAutofillDisableDefaultSaveCardFixFlowDetection)},
Charles Yangbf00df62025-02-28 17:51:202582 {"lens-unary-api-salient-text-enabled",
2583 flag_descriptions::kLensUnaryApiSalientTextEnabledName,
2584 flag_descriptions::kLensUnaryApiSalientTextEnabledDescription,
2585 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensUnaryApiSalientTextEnabled)},
Ibrahim Kanouche16414ff82025-03-01 02:12:312586 {"non-modal-sign-in-promo", flag_descriptions::kNonModalSignInPromoName,
2587 flag_descriptions::kNonModalSignInPromoDescription, flags_ui::kOsIos,
2588 FEATURE_VALUE_TYPE(kNonModalSignInPromo)},
“Prasanaa”856d8272025-03-05 20:35:322589 {"suggest-strong-password-in-add-password",
2590 flag_descriptions::kSuggestStrongPasswordInAddPasswordName,
2591 flag_descriptions::kSuggestStrongPasswordInAddPasswordDescription,
2592 flags_ui::kOsIos,
2593 FEATURE_VALUE_TYPE(
2594 password_manager::features::kSuggestStrongPasswordInAddPassword)},
Kavita Soni754e40a2025-03-05 21:46:492595 {"autofill-save-card-bottomsheet",
2596 flag_descriptions::kAutofillSaveCardBottomSheetName,
2597 flag_descriptions::kAutofillSaveCardBottomSheetDescription,
2598 flags_ui::kOsIos,
2599 FEATURE_VALUE_TYPE(autofill::features::kAutofillSaveCardBottomSheet)},
Olivier ROBIN4d7cdb82025-03-11 09:33:472600 {"ios-one-tap-mini-map-restrictions",
2601 flag_descriptions::kIOSOneTapMiniMapRestrictionsName,
2602 flag_descriptions::kIOSOneTapMiniMapRestrictionsDescription,
2603 flags_ui::kOsIos,
2604 FEATURE_WITH_PARAMS_VALUE_TYPE(kIOSOneTapMiniMapRestrictions,
2605 kIOSOneTapMiniMapRestrictionsVariations,
2606 "IOSOneTapMiniMapRestrictions")},
Charles Yang3b1713c2025-03-11 17:14:152607 {"lens-block-fetch-objects-interaction-rpcs-on-separate-handshake",
2608 flag_descriptions::
2609 kLensBlockFetchObjectsInteractionRPCsOnSeparateHandshakeName,
2610 flag_descriptions::
2611 kLensBlockFetchObjectsInteractionRPCsOnSeparateHandshakeDescription,
2612 flags_ui::kOsIos,
2613 FEATURE_VALUE_TYPE(
2614 kLensBlockFetchObjectsInteractionRPCsOnSeparateHandshake)},
2615 {"lens-prewarm-hard-stickiness-in-input-selection",
2616 flag_descriptions::kLensPrewarmHardStickinessInInputSelectionName,
2617 flag_descriptions::kLensPrewarmHardStickinessInInputSelectionDescription,
2618 flags_ui::kOsIos,
2619 FEATURE_VALUE_TYPE(kLensPrewarmHardStickinessInInputSelection)},
2620 {"lens-prewarm-hard-stickiness-in-query-formulation",
2621 flag_descriptions::kLensPrewarmHardStickinessInQueryFormulationName,
2622 flag_descriptions::kLensPrewarmHardStickinessInQueryFormulationDescription,
2623 flags_ui::kOsIos,
2624 FEATURE_VALUE_TYPE(kLensPrewarmHardStickinessInQueryFormulation)},
Nicolas MacBeth12449f72025-03-11 21:19:482625 {"enhanced-calendar", flag_descriptions::kEnhancedCalendarName,
2626 flag_descriptions::kEnhancedCalendarDescription, flags_ui::kOsIos,
2627 FEATURE_VALUE_TYPE(kEnhancedCalendar)},
Gauthier Ambard5b124d302025-03-12 13:38:402628 {"data-sharing-debug-logs", flag_descriptions::kDataSharingDebugLogsName,
2629 flag_descriptions::kDataSharingDebugLogsDescription, flags_ui::kOsIos,
2630 SINGLE_VALUE_TYPE(data_sharing::kDataSharingDebugLoggingEnabled)},
Duong Dac9f84393332025-03-13 11:29:152631 {"supervised-user-block-interstitial-v3",
2632 flag_descriptions::kSupervisedUserBlockInterstitialV3Name,
2633 flag_descriptions::kSupervisedUserBlockInterstitialV3Description,
2634 flags_ui::kOsIos,
2635 FEATURE_VALUE_TYPE(supervised_user::kSupervisedUserBlockInterstitialV3)},
Charles Yang127155ae2025-03-13 21:00:382636 {"lens-fetch-srp-api-enabled",
2637 flag_descriptions::kLensFetchSrpApiEnabledName,
2638 flag_descriptions::kLensFetchSrpApiEnabledDescription, flags_ui::kOsIos,
2639 FEATURE_VALUE_TYPE(kLensFetchSrpApiEnabled)},
Joshua Tan07b01a62025-03-13 22:25:112640 {"autofill-enable-card-info-runtime-retrieval",
2641 flag_descriptions::kAutofillEnableCardInfoRuntimeRetrievalName,
2642 flag_descriptions::kAutofillEnableCardInfoRuntimeRetrievalDescription,
2643 flags_ui::kOsIos,
2644 FEATURE_VALUE_TYPE(
2645 autofill::features::kAutofillEnableCardInfoRuntimeRetrieval)},
Hira Mahmood4535b072025-03-14 16:45:592646 {"feed-swipe-iph", flag_descriptions::kFeedSwipeInProductHelpName,
2647 flag_descriptions::kFeedSwipeInProductHelpDescription, flags_ui::kOsIos,
2648 FEATURE_WITH_PARAMS_VALUE_TYPE(kFeedSwipeInProductHelp,
2649 kFeedSwipeInProductHelpVariations,
2650 "FeedSwipeInProductHelp")},
Charles Yang0b278cf2025-03-14 18:11:582651 {"lens-qr-code-parsing-fix", flag_descriptions::kLensQRCodeParsingFixName,
2652 flag_descriptions::kLensQRCodeParsingFixDescription, flags_ui::kOsIos,
2653 FEATURE_VALUE_TYPE(kLensQRCodeParsingFix)},
Chris Lu62796892025-03-18 15:02:152654 {"notification-collision-management",
2655 flag_descriptions::kNotificationCollisionManagementName,
2656 flag_descriptions::kNotificationCollisionManagementDescription,
2657 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kNotificationCollisionManagement)},
Olivier ROBIN2ee3dbad2025-03-19 11:48:332658 {"ios-one-tap-mini-map-remove-section-breaks",
2659 flag_descriptions::kIOSOneTapMiniMapRemoveSectionBreaksName,
2660 flag_descriptions::kIOSOneTapMiniMapRemoveSectionBreaksDescription,
2661 flags_ui::kOsIos,
2662 FEATURE_VALUE_TYPE(kIOSOneTapMiniMapRemoveSectionsBreaks)},
Julia Sobiech562e2c42025-03-25 14:06:552663 {"autofill-enable-support-for-home-and-work",
2664 flag_descriptions::kAutofillEnableSupportForHomeAndWorkName,
2665 flag_descriptions::kAutofillEnableSupportForHomeAndWorkDescription,
2666 flags_ui::kOsIos,
2667 FEATURE_VALUE_TYPE(
2668 autofill::features::kAutofillEnableSupportForHomeAndWork)},
Nohemi Fernandez11751ec2025-03-26 18:24:372669 {"reader-mode-distiller-heuristic-enabled",
2670 flag_descriptions::kReaderModeDistillerHeuristicName,
2671 flag_descriptions::kReaderModeDistillerHeuristicDescription,
Nohemi Fernandez11751ec2025-03-26 18:24:372672 flags_ui::kOsIos,
Quentin Pubertd06c4b72025-04-22 08:46:232673 FEATURE_WITH_PARAMS_VALUE_TYPE(
2674 kEnableReaderModeDistillerHeuristicForMetrics,
2675 kReaderModeDistillerHeuristicOptions,
2676 "ReaderModeHeuristicSampling")},
Nohemi Fernandez96ea08da2025-03-28 10:51:042677 {"reader-mode-distiller-enabled",
2678 flag_descriptions::kReaderModeDistillerName,
2679 flag_descriptions::kReaderModeDistillerDescription, flags_ui::kOsIos,
Quentin Pubertd06c4b72025-04-22 08:46:232680 FEATURE_VALUE_TYPE(kEnableReaderModeDistillerForMetrics)},
Christian Xuac188552025-03-26 13:24:132681 {"lens-overlay-navigation-history",
2682 flag_descriptions::kLensOverlayNavigationHistoryName,
2683 flag_descriptions::kLensOverlayNavigationHistoryDescription,
2684 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kLensOverlayNavigationHistory)},
adamtae89640512025-03-27 20:30:132685 {"page-action-menu", flag_descriptions::kPageActionMenuName,
2686 flag_descriptions::kPageActionMenuDescription, flags_ui::kOsIos,
2687 FEATURE_VALUE_TYPE(kPageActionMenu)},
Sven Zheng0631fc82025-03-28 01:22:552688 {"feedback-include-variations",
2689 flag_descriptions::kFeedbackIncludeVariationsName,
2690 flag_descriptions::kFeedbackIncludeVariationsDescription, flags_ui::kOsIos,
2691 FEATURE_VALUE_TYPE(variations::kFeedbackIncludeVariations)},
Daniel White89d57342025-04-01 14:16:182692 {"safe-browsing-trusted-url",
2693 flag_descriptions::kSafeBrowsingTrustedURLName,
2694 flag_descriptions::kSafeBrowsingTrustedURLDescription, flags_ui::kOsIos,
2695 FEATURE_VALUE_TYPE(kSafeBrowsingTrustedURL)},
Gauthier Ambard46298c162025-04-03 10:28:102696 {"contained-tab-group", flag_descriptions::kContainedTabGroupName,
2697 flag_descriptions::kContainedTabGroupDescription, flags_ui::kOsIos,
2698 FEATURE_VALUE_TYPE(kContainedTabGroup)},
Rafał Godlewskic64097e2025-04-09 13:07:372699 {"sync-trusted-vault-infobar-improvements",
2700 flag_descriptions::kSyncTrustedVaultInfobarImprovementsName,
2701 flag_descriptions::kSyncTrustedVaultInfobarImprovementsDescription,
2702 flags_ui::kOsIos,
2703 FEATURE_VALUE_TYPE(syncer::kSyncTrustedVaultInfobarImprovements)},
Quentin Pubert414ef292025-04-10 11:42:092704 {"ios-choose-from-drive-simulated-click",
2705 flag_descriptions::kIOSChooseFromDriveSimulatedClickName,
2706 flag_descriptions::kIOSChooseFromDriveSimulatedClickDescription,
2707 flags_ui::kOsIos, FEATURE_VALUE_TYPE(kIOSChooseFromDriveSimulatedClick)},
Harsh Shukla3f8a8ca32025-04-10 22:20:492708 {"autofill-vcn-enroll-strike-expiry-time",
2709 flag_descriptions::kAutofillVcnEnrollStrikeExpiryTimeName,
2710 flag_descriptions::kAutofillVcnEnrollStrikeExpiryTimeDescription,
2711 flags_ui::kOsIos,
2712 FEATURE_WITH_PARAMS_VALUE_TYPE(
2713 autofill::features::kAutofillVcnEnrollStrikeExpiryTime,
2714 kAutofillVcnEnrollStrikeExpiryTimeOptions,
2715 "AutofillVcnEnrollStrikeExpiryTime")},
Ernesto Izquierdo Clua4ff435d2025-04-11 15:46:042716 {"enable-enterprise-url-filtering",
2717 flag_descriptions::kIOSEnterpriseRealtimeUrlFilteringName,
2718 flag_descriptions::kIOSEnterpriseRealtimeUrlFilteringDescription,
2719 flags_ui::kOsIos,
2720 FEATURE_VALUE_TYPE(
2721 enterprise_connectors::kIOSEnterpriseRealtimeUrlFiltering)},
Briana McClureb8eab3a2025-04-15 00:05:332722 {"ios-welcome-back-screen", flag_descriptions::kWelcomeBackInFirstRunName,
2723 flag_descriptions::kWelcomeBackInFirstRunDescription, flags_ui::kOsIos,
2724 FEATURE_WITH_PARAMS_VALUE_TYPE(first_run::kWelcomeBackInFirstRun,
2725 kWelcomeBackInFirstRunVariations,
2726 "WelcomeBackInFirstRun")},
Fernando Ramirezbd658b12025-04-15 21:02:482727 {"autofill-enable-flat-rate-card-benefits-from-curinos",
2728 flag_descriptions::kAutofillEnableFlatRateCardBenefitsFromCurinosName,
2729 flag_descriptions::
2730 kAutofillEnableFlatRateCardBenefitsFromCurinosDescription,
2731 flags_ui::kOsIos,
2732 FEATURE_VALUE_TYPE(
2733 autofill::features::kAutofillEnableFlatRateCardBenefitsFromCurinos)},
Quentin Pubertd06c4b72025-04-22 08:46:232734 {"reader-mode-enabled", flag_descriptions::kReaderModeName,
2735 flag_descriptions::kReaderModeDescription, flags_ui::kOsIos,
2736 FEATURE_VALUE_TYPE(kEnableReaderMode)},
Chris Lub16786a2025-04-22 17:44:332737 {"best-of-app-fre", flag_descriptions::kBestOfAppFREName,
2738 flag_descriptions::kBestOfAppFREDescription, flags_ui::kOsIos,
2739 FEATURE_WITH_PARAMS_VALUE_TYPE(kBestOfAppFRE,
2740 kBestOfAppFREVariations,
2741 "BestOfAppFRE")},
ginnnnnnnya3bf0d42025-04-23 15:01:572742 {"use-new-feed-eligibility-service",
2743 flag_descriptions::kUseFeedEligibilityServiceName,
2744 flag_descriptions::kUseFeedEligibilityServiceDescription, flags_ui::kOsIos,
2745 FEATURE_VALUE_TYPE(kUseFeedEligibilityService)},
Sourav5b33e412025-04-28 13:55:552746 {"import-passwords-from-safari",
2747 flag_descriptions::kImportPasswordsFromSafariName,
2748 flag_descriptions::kImportPasswordsFromSafariDescription, flags_ui::kOsIos,
2749 FEATURE_VALUE_TYPE(kImportPasswordsFromSafari)},
Chris Lub16786a2025-04-22 17:44:332750
Federica Germinariof58b5a7e2024-10-22 10:35:422751};
sdefresne14900ee2015-11-27 14:43:212752
Rohit Raobed794c2020-04-27 15:27:452753bool SkipConditionalFeatureEntry(const flags_ui::FeatureEntry& entry) {
2754 return false;
2755}
2756
2757flags_ui::FlagsState& GetGlobalFlagsState() {
2758 static base::NoDestructor<flags_ui::FlagsState> flags_state(kFeatureEntries,
2759 nullptr);
2760 return *flags_state;
2761}
David Jean5ca263c2021-08-18 09:19:302762// Creates the experimental test policies map, used by AsyncPolicyLoader and
2763// PolicyLoaderIOS to locally enable policies.
Vincent Boisselleed0e6f1a2021-11-09 06:47:342764NSMutableDictionary* CreateExperimentalTestingPolicies() {
sdefresne14900ee2015-11-27 14:43:212765 NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
2766
Guillaume Jenkins25e9bd72020-08-27 17:39:062767 // Shared variables for all enterprise experimental flags.
Guillaume Jenkins57606d72020-08-13 17:32:552768 NSMutableDictionary* testing_policies = [[NSMutableDictionary alloc] init];
Guillaume Jenkins25e9bd72020-08-27 17:39:062769 NSMutableArray* allowed_experimental_policies = [[NSMutableArray alloc] init];
Guillaume Jenkins57606d72020-08-13 17:32:552770
Guillaume Jenkins25e9bd72020-08-27 17:39:062771 // Set some sample policy values for testing if EnableSamplePolicies is set to
2772 // true.
Guillaume Jenkinseeb7007c2020-06-25 22:55:402773 if ([defaults boolForKey:@"EnableSamplePolicies"]) {
Guillaume Jenkins57606d72020-08-13 17:32:552774 [testing_policies addEntriesFromDictionary:@{
Tina Wang59d0b7e2020-08-11 04:41:012775 base::SysUTF8ToNSString(policy::key::kAutofillAddressEnabled) : @NO,
2776
Guillaume Jenkinseeb7007c2020-06-25 22:55:402777 base::SysUTF8ToNSString(policy::key::kAutofillCreditCardEnabled) : @NO,
2778
2779 // 2 = Disable all variations
2780 base::SysUTF8ToNSString(policy::key::kChromeVariations) : @2,
2781
2782 // 2 = Do not allow any site to show popups
2783 base::SysUTF8ToNSString(policy::key::kDefaultPopupsSetting) : @2,
2784
Tina Wang5abee802020-07-29 23:09:522785 // Set default search engine.
2786 base::SysUTF8ToNSString(policy::key::kDefaultSearchProviderEnabled) :
2787 @YES,
2788 base::SysUTF8ToNSString(policy::key::kDefaultSearchProviderSearchURL) :
2789 @"http://www.google.com/search?q={searchTerms}",
2790 base::SysUTF8ToNSString(policy::key::kDefaultSearchProviderName) :
Tina Wang7cd0a062020-09-15 21:31:022791 @"TestEngine",
Tina Wang5abee802020-07-29 23:09:522792
Tina Wang89068c82020-10-29 15:51:502793 base::SysUTF8ToNSString(policy::key::kEditBookmarksEnabled) : @NO,
2794
Gauthier Ambard21b23702021-04-16 16:11:272795 base::SysUTF8ToNSString(policy::key::kNTPContentSuggestionsEnabled) : @NO,
2796
Tina Wang59d0b7e2020-08-11 04:41:012797 base::SysUTF8ToNSString(policy::key::kTranslateEnabled) : @NO,
Tina Wang54dddfc22020-08-20 22:34:532798
2799 // 2 = Enhanced safe browsing protection
2800 base::SysUTF8ToNSString(policy::key::kSafeBrowsingProtectionLevel) : @2,
2801
2802 base::SysUTF8ToNSString(policy::key::kSearchSuggestEnabled) : @YES,
Hira Mahmooda53b8d632023-01-03 10:03:292803
2804 base::SysUTF8ToNSString(policy::key::kAppStoreRatingEnabled) : @NO,
Guillaume Jenkins57606d72020-08-13 17:32:552805 }];
2806 }
2807
Ewann227a3c02021-04-19 12:04:542808 if ([defaults boolForKey:@"EnableSyncDisabledPolicy"]) {
Guillaume Jenkinsfe46d3a2021-04-26 19:51:042809 NSString* sync_policy_key =
2810 base::SysUTF8ToNSString(policy::key::kSyncDisabled);
David Jean5ca263c2021-08-18 09:19:302811 [testing_policies addEntriesFromDictionary:@{sync_policy_key : @YES}];
Ewann227a3c02021-04-19 12:04:542812 }
Ewann227a3c02021-04-19 12:04:542813
Ewann570a6302021-08-17 07:22:422814 // SyncTypesListDisabled policy.
2815 NSString* Sync_types_list_disabled_key =
2816 base::SysUTF8ToNSString(policy::key::kSyncTypesListDisabled);
2817 NSMutableArray* Sync_types_list_disabled_values =
2818 [[NSMutableArray alloc] init];
2819 if ([defaults boolForKey:@"SyncTypesListBookmarks"]) {
2820 [Sync_types_list_disabled_values addObject:@"bookmarks"];
2821 }
2822 if ([defaults boolForKey:@"SyncTypesListReadingList"]) {
2823 [Sync_types_list_disabled_values addObject:@"readingList"];
2824 }
2825 if ([defaults boolForKey:@"SyncTypesListPreferences"]) {
2826 [Sync_types_list_disabled_values addObject:@"preferences"];
2827 }
2828 if ([defaults boolForKey:@"SyncTypesListPasswords"]) {
2829 [Sync_types_list_disabled_values addObject:@"passwords"];
2830 }
2831 if ([defaults boolForKey:@"SyncTypesListAutofill"]) {
2832 [Sync_types_list_disabled_values addObject:@"autofill"];
2833 }
2834 if ([defaults boolForKey:@"SyncTypesListTypedUrls"]) {
2835 [Sync_types_list_disabled_values addObject:@"typedUrls"];
2836 }
2837 if ([defaults boolForKey:@"SyncTypesListTabs"]) {
2838 [Sync_types_list_disabled_values addObject:@"tabs"];
2839 }
2840 if ([Sync_types_list_disabled_values count]) {
2841 [testing_policies addEntriesFromDictionary:@{
2842 Sync_types_list_disabled_key : Sync_types_list_disabled_values
2843 }];
Ewann570a6302021-08-17 07:22:422844 }
2845
Gauthier Ambard073eaa92021-11-22 15:24:132846 // If an incognito mode availability is set, set the value.
Tina Wangc6bcf572021-01-27 18:15:522847 NSString* incognito_policy_key =
2848 base::SysUTF8ToNSString(policy::key::kIncognitoModeAvailability);
2849 NSInteger incognito_mode_availability =
2850 [defaults integerForKey:incognito_policy_key];
2851 if (incognito_mode_availability) {
Tina Wangc6bcf572021-01-27 18:15:522852 [testing_policies addEntriesFromDictionary:@{
2853 incognito_policy_key : @(incognito_mode_availability),
2854 }];
2855 }
2856
Ewann40a8f8a2021-07-29 10:01:202857 NSString* restriction_pattern =
2858 [defaults stringForKey:@"RestrictAccountsToPatterns"];
2859 if ([restriction_pattern length] > 0) {
Ewannb3bee382021-08-16 09:12:292860 NSString* restrict_key =
2861 base::SysUTF8ToNSString(policy::key::kRestrictAccountsToPatterns);
Ewann40a8f8a2021-07-29 10:01:202862 [testing_policies addEntriesFromDictionary:@{
Ewannb3bee382021-08-16 09:12:292863 restrict_key : @[ restriction_pattern ]
Ewann40a8f8a2021-07-29 10:01:202864 }];
2865 }
2866
Vincent Boisselle19200bc2021-09-01 17:58:252867 // If the sign-in policy is set (not "None"), add the policy key to the list
2868 // of enabled experimental policies, and set the value.
2869 NSString* const kSigninPolicyKey = @"BrowserSignin";
2870 NSInteger signin_policy_mode = [defaults integerForKey:kSigninPolicyKey];
2871 if (signin_policy_mode) {
2872 // Remove the mode offset that was used to represent the unset policy.
2873 --signin_policy_mode;
2874 DCHECK(signin_policy_mode >= 0);
2875
Vincent Boisselle19200bc2021-09-01 17:58:252876 [testing_policies addEntriesFromDictionary:@{
2877 kSigninPolicyKey : @(signin_policy_mode),
2878 }];
2879 }
2880
Veronique Nguyen9b1044f2022-01-11 14:41:132881 // If the New Tab Page URL is set (not empty) add the value to the list of
2882 // test policies.
2883 NSString* ntp_location = [defaults stringForKey:@"NTPLocation"];
2884 if ([ntp_location length] > 0) {
2885 NSString* ntp_location_key =
2886 base::SysUTF8ToNSString(policy::key::kNewTabPageLocation);
2887 [testing_policies
2888 addEntriesFromDictionary:@{ntp_location_key : ntp_location}];
Veronique Nguyen302d8702022-01-12 21:18:572889 [allowed_experimental_policies addObject:ntp_location_key];
Veronique Nguyen9b1044f2022-01-11 14:41:132890 }
2891
Ali Juma9ec36d2b2022-03-28 14:53:122892 if ([defaults boolForKey:@"DisallowChromeDataInBackups"]) {
2893 NSString* allow_backups_key =
2894 base::SysUTF8ToNSString(policy::key::kAllowChromeDataInBackups);
2895 [testing_policies addEntriesFromDictionary:@{allow_backups_key : @NO}];
2896 [allowed_experimental_policies addObject:allow_backups_key];
2897 }
2898
Victor Hugo Vianna Silva9e1a7302023-02-21 08:56:242899 if ([defaults boolForKey:@"DisablePasswordManagerPolicy"]) {
2900 NSString* password_manager_key =
2901 base::SysUTF8ToNSString(policy::key::kPasswordManagerEnabled);
2902 [testing_policies addEntriesFromDictionary:@{password_manager_key : @NO}];
2903 [allowed_experimental_policies addObject:password_manager_key];
2904 }
Vincent Boisselle003569a72023-09-11 16:03:122905
2906 if ([defaults boolForKey:@"EnableUserPolicyMerge"]) {
2907 NSString* user_policy_merge_key =
2908 base::SysUTF8ToNSString(policy::key::kCloudUserPolicyMerge);
2909 [testing_policies addEntriesFromDictionary:@{user_policy_merge_key : @YES}];
2910 [allowed_experimental_policies addObject:user_policy_merge_key];
2911 }
2912
Arthur Milchiorbb44f5c82023-03-14 16:14:462913 if ([defaults boolForKey:@"AddManagedBookmarks"]) {
2914 NSString* managed_bookmarks_key =
2915 base::SysUTF8ToNSString(policy::key::kManagedBookmarks);
2916 NSString* managed_bookmarks_value =
Avi Drissmanaa245812023-04-27 20:20:572917 @"["
2918 // The following gets filtered out from
2919 // the JSON string when parsed.
2920 " {"
2921 " \"toplevel_name\": \"Managed Bookmarks\""
2922 " },"
2923 " {"
2924 " \"name\": \"Google\","
2925 " \"url\": \"google.com\""
2926 " },"
2927 " {"
2928 " \"name\": \"Empty Folder\","
2929 " \"children\": []"
2930 " },"
2931 " {"
2932 " \"name\": \"Big Folder\","
2933 " \"children\": ["
2934 " {"
2935 " \"name\": \"Youtube\","
2936 " \"url\": \"youtube.com\""
2937 " },"
2938 " {"
2939 " \"name\": \"Chromium\","
2940 " \"url\": \"chromium.org\""
2941 " },"
2942 " {"
2943 " \"name\": \"More Stuff\","
2944 " \"children\": ["
2945 " {"
2946 " \"name\": \"Bugs\","
2947 " \"url\": \"crbug.com\""
2948 " }"
2949 " ]"
2950 " }"
2951 " ]"
2952 " }"
2953 "]";
Arthur Milchiorbb44f5c82023-03-14 16:14:462954 [testing_policies addEntriesFromDictionary:@{
2955 managed_bookmarks_key : managed_bookmarks_value
2956 }];
2957 [allowed_experimental_policies addObject:managed_bookmarks_key];
2958 }
Victor Hugo Vianna Silva9e1a7302023-02-21 08:56:242959
Guillaume Jenkins25e9bd72020-08-27 17:39:062960 // If any experimental policy was allowed, set the EnableExperimentalPolicies
2961 // policy.
2962 if ([allowed_experimental_policies count] > 0) {
2963 [testing_policies setValue:allowed_experimental_policies
2964 forKey:base::SysUTF8ToNSString(
2965 policy::key::kEnableExperimentalPolicies)];
2966 }
2967
jlebel2eb40222022-05-06 11:15:422968 NSString* metrics_reporting_key = @"MetricsReportingEnabled";
2969 switch ([defaults integerForKey:metrics_reporting_key]) {
2970 case 1:
2971 // Metrics reporting forced.
Louis Romeroec603fd5f62023-01-20 14:07:132972 [testing_policies setValue:@YES forKey:metrics_reporting_key];
jlebel2eb40222022-05-06 11:15:422973 break;
2974 case 2:
2975 // Metrics reporting disabled.
Louis Romeroec603fd5f62023-01-20 14:07:132976 [testing_policies setValue:@NO forKey:metrics_reporting_key];
jlebel2eb40222022-05-06 11:15:422977 break;
2978 default:
2979 // Metrics reporting not managed.
2980 break;
2981 }
2982
David Jean6f85d44f2021-08-19 08:08:452983 // Warning: Add new flags to TestingPoliciesHash() below.
2984
David Jean5ca263c2021-08-18 09:19:302985 return testing_policies;
2986}
David Jean6f85d44f2021-08-19 08:08:452987
David Jean5ca263c2021-08-18 09:19:302988} // namespace
2989
Gauthier Ambard02dbf022022-08-23 08:28:472990// Add all switches from experimental flags to `command_line`.
David Jean5ca263c2021-08-18 09:19:302991void AppendSwitchesFromExperimentalSettings(base::CommandLine* command_line) {
2992 NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
2993
2994 // Set the UA flag if UseMobileSafariUA is enabled.
2995 if ([defaults boolForKey:@"UseMobileSafariUA"]) {
2996 // Safari uses "Vesion/", followed by the OS version excluding bugfix, where
2997 // Chrome puts its product token.
2998 int32_t major = 0;
2999 int32_t minor = 0;
3000 int32_t bugfix = 0;
3001 base::SysInfo::OperatingSystemVersionNumbers(&major, &minor, &bugfix);
3002 std::string product = base::StringPrintf("Version/%d.%d", major, minor);
3003
3004 command_line->AppendSwitchASCII(switches::kUserAgent,
3005 web::BuildMobileUserAgent(product));
3006 }
3007
3008 // Shared variables for all enterprise experimental flags.
Vincent Boisselleed0e6f1a2021-11-09 06:47:343009 NSMutableDictionary* testing_policies = CreateExperimentalTestingPolicies();
David Jean5ca263c2021-08-18 09:19:303010
3011 // If a CBCM enrollment token is provided, force Chrome Browser Cloud
3012 // Management to enabled and add the token to the list of policies.
3013 NSString* token_key =
3014 base::SysUTF8ToNSString(policy::key::kCloudManagementEnrollmentToken);
3015 NSString* token = [defaults stringForKey:token_key];
3016
3017 if ([token length] > 0) {
3018 command_line->AppendSwitch(switches::kEnableChromeBrowserCloudManagement);
3019 [testing_policies setValue:token forKey:token_key];
3020 }
3021
Guillaume Jenkins57606d72020-08-13 17:32:553022 // If some policies were set, commit them to the app's registration defaults.
3023 if ([testing_policies count] > 0) {
Guillaume Jenkinseeb7007c2020-06-25 22:55:403024 NSDictionary* registration_defaults =
3025 @{kPolicyLoaderIOSConfigurationKey : testing_policies};
3026 [defaults registerDefaults:registration_defaults];
3027 }
3028
sdefresne14900ee2015-11-27 14:43:213029 // Freeform commandline flags. These are added last, so that any flags added
3030 // earlier in this function take precedence.
3031 if ([defaults boolForKey:@"EnableFreeformCommandLineFlags"]) {
3032 base::CommandLine::StringVector flags;
3033 // Append an empty "program" argument.
3034 flags.push_back("");
3035
3036 // The number of flags corresponds to the number of text fields in
3037 // Experimental.plist.
3038 const int kNumFreeformFlags = 5;
3039 for (int i = 1; i <= kNumFreeformFlags; ++i) {
3040 NSString* key =
3041 [NSString stringWithFormat:@"FreeformCommandLineFlag%d", i];
3042 NSString* flag = [defaults stringForKey:key];
3043 if ([flag length]) {
Robbie Gibsonc91ce622019-05-20 14:44:333044 // iOS keyboard replaces -- with —, so undo that.
3045 flag = [flag stringByReplacingOccurrencesOfString:@"—"
3046 withString:@"--"
3047 options:0
3048 range:NSMakeRange(0, 1)];
3049 // To make things easier, allow flags with no dashes by prepending them
3050 // here. This also allows for flags that just have one dash if they
3051 // exist.
3052 if (![flag hasPrefix:@"-"]) {
3053 flag = [@"--" stringByAppendingString:flag];
3054 }
sdefresne14900ee2015-11-27 14:43:213055 flags.push_back(base::SysNSStringToUTF8(flag));
3056 }
3057 }
3058
3059 base::CommandLine temp_command_line(flags);
3060 command_line->AppendArguments(temp_command_line, false);
3061 }
msardafc76f662017-02-24 12:46:283062
justincohendacc85d2017-06-28 23:34:103063 // Populate command line flag for 3rd party keyboard omnibox workaround.
3064 NSString* enableThirdPartyKeyboardWorkaround =
3065 [defaults stringForKey:@"EnableThirdPartyKeyboardWorkaround"];
3066 if ([enableThirdPartyKeyboardWorkaround isEqualToString:@"Enabled"]) {
3067 command_line->AppendSwitch(switches::kEnableThirdPartyKeyboardWorkaround);
3068 } else if ([enableThirdPartyKeyboardWorkaround isEqualToString:@"Disabled"]) {
3069 command_line->AppendSwitch(switches::kDisableThirdPartyKeyboardWorkaround);
3070 }
3071
Sylvain Defresned3cd8d92022-01-18 13:35:083072 ios::provider::AppendSwitchesFromExperimentalSettings(defaults, command_line);
sdefresne14900ee2015-11-27 14:43:213073}
3074
sdefresne14900ee2015-11-27 14:43:213075void ConvertFlagsToSwitches(flags_ui::FlagsStorage* flags_storage,
3076 base::CommandLine* command_line) {
Sylvain Defresne8327a2f2019-01-17 14:19:183077 GetGlobalFlagsState().ConvertFlagsToSwitches(
sdefresnec9763902015-12-02 10:30:113078 flags_storage, command_line, flags_ui::kAddSentinels,
Gregory Chatzinofff6523722017-11-21 01:33:533079 switches::kEnableFeatures, switches::kDisableFeatures);
sdefresne14900ee2015-11-27 14:43:213080}
3081
jkrcalbf073372016-07-29 07:21:313082std::vector<std::string> RegisterAllFeatureVariationParameters(
3083 flags_ui::FlagsStorage* flags_storage,
3084 base::FeatureList* feature_list) {
Sylvain Defresne8327a2f2019-01-17 14:19:183085 return GetGlobalFlagsState().RegisterAllFeatureVariationParameters(
3086 flags_storage, feature_list);
jkrcalbf073372016-07-29 07:21:313087}
3088
sdefresne14900ee2015-11-27 14:43:213089void GetFlagFeatureEntries(flags_ui::FlagsStorage* flags_storage,
3090 flags_ui::FlagAccess access,
Matt Menke4d777572022-06-15 15:55:503091 base::Value::List& supported_entries,
3092 base::Value::List& unsupported_entries) {
Sylvain Defresne8327a2f2019-01-17 14:19:183093 GetGlobalFlagsState().GetFlagFeatureEntries(
sdefresne14900ee2015-11-27 14:43:213094 flags_storage, access, supported_entries, unsupported_entries,
Renjie Tang208c8192020-11-03 00:46:513095 base::BindRepeating(&SkipConditionalFeatureEntry));
sdefresne14900ee2015-11-27 14:43:213096}
3097
3098void SetFeatureEntryEnabled(flags_ui::FlagsStorage* flags_storage,
3099 const std::string& internal_name,
3100 bool enable) {
Sylvain Defresne8327a2f2019-01-17 14:19:183101 GetGlobalFlagsState().SetFeatureEntryEnabled(flags_storage, internal_name,
3102 enable);
sdefresne14900ee2015-11-27 14:43:213103}
3104
3105void ResetAllFlags(flags_ui::FlagsStorage* flags_storage) {
Sylvain Defresne8327a2f2019-01-17 14:19:183106 GetGlobalFlagsState().ResetAllFlags(flags_storage);
sdefresne14900ee2015-11-27 14:43:213107}
3108
Nicolas MacBeth972e2592023-02-23 15:22:093109bool IsRestartNeededToCommitChanges() {
3110 return GetGlobalFlagsState().IsRestartNeededToCommitChanges();
3111}
3112
sdefresne14900ee2015-11-27 14:43:213113namespace testing {
3114
Elly Fong-Jones323ab1092021-08-23 22:36:313115base::span<const flags_ui::FeatureEntry> GetFeatureEntries() {
3116 return base::span<const flags_ui::FeatureEntry>(kFeatureEntries,
Daniel Cheng1f047a82022-02-26 10:04:533117 std::size(kFeatureEntries));
sdefresne14900ee2015-11-27 14:43:213118}
3119
3120} // namespace testing