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