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