blob: 1d2b2d04312db528e9f120da1bbdd8bde14c77e9 [file] [log] [blame]
[email protected]9c66adc2012-01-05 02:10:161// Copyright (c) 2012 The Chromium Authors. All rights reserved.
[email protected]ad2a3ded2010-08-27 13:19:052// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
[email protected]1a47d7e2010-10-15 00:37:245#include "chrome/browser/about_flags.h"
[email protected]ad2a3ded2010-08-27 13:19:056
[email protected]ad2a3ded2010-08-27 13:19:057#include <iterator>
8#include <map>
9#include <set>
[email protected]83e9fa702013-02-25 19:30:4410#include <utility>
[email protected]ad2a3ded2010-08-27 13:19:0511
Jiaquan He20785d5e2018-04-30 21:30:1412#include "ash/public/cpp/app_list/app_list_features.h"
Charles Zhao7e5fd0e2019-10-20 23:20:5113#include "ash/public/cpp/app_list/app_list_switches.h"
minchab2ded5ce2019-09-06 18:32:2814#include "ash/public/cpp/ash_features.h"
Darren Shencd7d584d2019-05-15 01:30:3515#include "ash/public/cpp/keyboard/keyboard_switches.h"
Trent Aptedc5e504d2017-10-26 23:19:2616#include "base/base_switches.h"
sdefresne0e566342015-11-24 08:55:4617#include "base/bind.h"
18#include "base/callback.h"
[email protected]ad2a3ded2010-08-27 13:19:0519#include "base/command_line.h"
asvitkine03007d02015-10-21 22:50:0620#include "base/feature_list.h"
mgiuca49ae7c72015-12-04 04:36:4821#include "base/i18n/base_i18n_switches.h"
[email protected]3b63f8f42011-03-28 01:54:1522#include "base/memory/singleton.h"
Ilya Sherman982457e62017-12-13 02:19:3623#include "base/metrics/histogram_functions.h"
bcwhite502b2292015-11-30 22:31:0124#include "base/metrics/metrics_hashes.h"
[email protected]09f3fde82014-05-14 15:08:1525#include "base/stl_util.h"
[email protected]3ea1b182013-02-08 22:38:4126#include "base/strings/string_number_conversions.h"
[email protected]4b66a7d2014-08-15 17:13:3127#include "base/strings/string_util.h"
[email protected]135cb802013-06-09 16:44:2028#include "base/strings/utf_string_conversions.h"
[email protected]ad2a3ded2010-08-27 13:19:0529#include "base/values.h"
Nico Webereaa08412019-08-14 01:24:3730#include "build/branding_buildflags.h"
avie4d7b6f2015-12-26 00:59:1831#include "build/build_config.h"
[email protected]681ccff2013-03-18 06:13:5232#include "cc/base/switches.h"
Ahmed Fakhry4f567e692018-10-16 15:51:0833#include "chrome/browser/browser_features.h"
vabr0215a8e2017-03-28 12:47:3434#include "chrome/browser/flag_descriptions.h"
dalyk348087f2019-09-04 12:40:2635#include "chrome/browser/net/dns_util.h"
Xing Liu1919ec232019-07-22 20:38:0436#include "chrome/browser/notifications/scheduler/public/features.h"
Brian Geffon134e77c52019-07-30 21:49:5837#include "chrome/browser/performance_manager/graph/policies/policy_features.h"
Andy Paicu4d675fe2019-08-22 15:30:0638#include "chrome/browser/permissions/permission_features.h"
Alexandr Ilinf0500ed32017-09-27 21:12:3639#include "chrome/browser/predictors/loading_predictor_config.h"
droger85d1ac12016-12-09 11:02:1840#include "chrome/browser/prerender/prerender_field_trial.h"
Sebastien Marchandd33f7dc2018-06-22 22:07:0641#include "chrome/browser/resource_coordinator/tab_manager_features.h"
Ramya Nagarajan6d58d182018-05-31 22:23:3042#include "chrome/browser/search/ntp_features.h"
Yasmin71ff2672019-06-20 16:22:4943#include "chrome/browser/sharing/click_to_call/feature.h"
Himanshu Jajudbcee232019-06-17 19:41:4944#include "chrome/browser/sharing/features.h"
Yasmin69a132f2019-08-07 15:30:3645#include "chrome/browser/sharing/shared_clipboard/feature_flags.h"
David Roger346e25c72018-07-06 15:08:1546#include "chrome/browser/signin/account_consistency_mode_manager.h"
Emily Starke8878d52018-05-11 21:27:2647#include "chrome/browser/ssl/chrome_ssl_host_state_delegate.h"
Charlene Yan0724dc562019-04-12 17:57:4148#include "chrome/browser/ui/ui_features.h"
Elly Fong-Jones99d8cdad2019-08-27 15:48:4549#include "chrome/browser/unexpire_flags.h"
Scott Violet6200d332018-02-23 21:29:2350#include "chrome/common/buildflags.h"
sdefresne9fb67692015-08-03 18:48:2251#include "chrome/common/channel_info.h"
[email protected]d208f4d82011-05-23 21:52:0352#include "chrome/common/chrome_content_client.h"
georgesak45ee3532016-01-08 03:39:5453#include "chrome/common/chrome_features.h"
[email protected]ad2a3ded2010-08-27 13:19:0554#include "chrome/common/chrome_switches.h"
James Hawkins813085e2018-03-30 18:56:4155#include "chromeos/components/proximity_auth/switches.h"
Donn Denman59729812018-01-09 01:27:0256#include "components/assist_ranker/predictor_config_definitions.h"
mathp8a74a992016-08-03 16:21:1757#include "components/autofill/core/browser/autofill_experiments.h"
Mathieu Perreaulta24d0c22017-11-10 01:22:0058#include "components/autofill/core/common/autofill_features.h"
Jared Sauld998539f2019-03-19 15:11:1759#include "components/autofill/core/common/autofill_payments_features.h"
[email protected]58bc1c32013-12-16 22:52:0760#include "components/autofill/core/common/autofill_switches.h"
csashia447acf2017-05-19 22:05:2961#include "components/autofill/core/common/autofill_util.h"
Hui(Andy) Wufbebf91d22019-02-01 01:23:5462#include "components/autofill_assistant/browser/features.h"
maxbogue26f40222016-09-16 20:22:1863#include "components/browser_sync/browser_sync_switches.h"
Jenny Blessing45326bf2019-08-29 23:50:3764#include "components/browsing_data/core/features.h"
[email protected]4e6c96e2014-05-17 18:41:1965#include "components/cloud_devices/common/cloud_devices_switches.h"
Christian Dullweber0df89912019-08-29 13:52:3266#include "components/content_settings/core/common/features.h"
Donn Denman63d169f2019-03-08 23:34:5067#include "components/contextual_search/core/browser/public.h"
megjablon553df4cf2017-04-01 01:29:5568#include "components/data_reduction_proxy/core/common/data_reduction_proxy_features.h"
brettwf1958912015-10-07 19:43:1269#include "components/data_reduction_proxy/core/common/data_reduction_proxy_switches.h"
Aran Gilmanc9a22c572019-09-06 16:47:5070#include "components/dom_distiller/core/dom_distiller_features.h"
cjhopman951bb612015-04-22 01:42:3871#include "components/dom_distiller/core/dom_distiller_switches.h"
Min Qind461ee462018-03-09 19:39:1572#include "components/download/public/common/download_features.h"
blundella5e3240a2016-01-05 11:30:4373#include "components/error_page/common/error_page_switches.h"
mastizbac78ad2017-05-22 10:14:0074#include "components/favicon/core/features.h"
Collin Baker0a45d6a2018-12-20 19:21:5075#include "components/feature_engagement/buildflags.h"
Tommy Nyquistc1d6dea12017-07-26 20:37:2376#include "components/feature_engagement/public/feature_constants.h"
77#include "components/feature_engagement/public/feature_list.h"
Theresa920e0ed2018-03-07 18:12:4478#include "components/feed/feed_feature_list.h"
vabr0215a8e2017-03-28 12:47:3479#include "components/flags_ui/feature_entry.h"
sdefresne246c5642015-11-16 21:47:2980#include "components/flags_ui/feature_entry_macros.h"
droger888be0b2015-10-01 14:28:5281#include "components/flags_ui/flags_storage.h"
sdefresne0e566342015-11-24 08:55:4682#include "components/flags_ui/flags_ui_switches.h"
Tanja Gornakb0985dd2018-10-11 17:24:4083#include "components/invalidation/impl/invalidation_switches.h"
Anthony Vallee-Dubois265c5692018-06-01 15:57:1484#include "components/language/core/common/language_experiments.h"
Derek Schuff71d9a922019-04-24 21:36:0085#include "components/nacl/common/buildflags.h"
86#include "components/nacl/common/nacl_switches.h"
Matt Menke64b9fc72017-07-29 02:22:4587#include "components/network_session_configurator/common/network_features.h"
mmenke68a50212017-06-12 20:20:3188#include "components/network_session_configurator/common/network_switches.h"
treibec8f3302016-08-04 11:05:2089#include "components/ntp_snippets/features.h"
jkrcalb050f152016-06-21 17:12:1190#include "components/ntp_snippets/ntp_snippets_constants.h"
Kristi Park01ca1252019-05-10 22:39:0591#include "components/ntp_tiles/features.h"
chiliecd23802016-12-07 10:27:1192#include "components/offline_pages/core/offline_page_feature.h"
jdonnelly3d2d65e92017-02-23 21:33:5993#include "components/omnibox/browser/omnibox_field_trial.h"
Tomasz Wiszkowskid938a1112019-03-06 18:01:5794#include "components/omnibox/common/omnibox_features.h"
pritam.nikam906f9ae2015-12-07 18:36:3995#include "components/password_manager/core/common/password_manager_features.h"
Mathieu Perreault51339b82017-07-20 17:06:0596#include "components/payments/core/features.h"
Yann Dago70afb65d2019-08-06 15:50:5397#include "components/policy/core/common/features.h"
ryansturm28839dee2017-05-05 17:34:2798#include "components/previews/core/previews_features.h"
Thanh Le5f090efa52017-12-27 22:39:4499#include "components/previews/core/previews_switches.h"
Wei Li790e7a8572018-03-23 01:31:55100#include "components/printing/browser/features.h"
Varun Khaneja80712a82018-10-12 23:34:59101#include "components/safe_browsing/features.h"
Edward Jung7c1793af2019-06-14 17:33:56102#include "components/security_interstitials/core/features.h"
Emily Starkbafa9062017-12-27 15:22:46103#include "components/security_state/core/features.h"
estark04c3307c2016-12-20 08:47:17104#include "components/security_state/core/security_state.h"
Jeffrey Cohen9f3e6092019-03-21 21:55:01105#include "components/send_tab_to_self/features.h"
erikchen34810df02018-04-05 21:40:38106#include "components/services/heap_profiling/public/cpp/switches.h"
Valeriya Sinevich972ac122018-09-05 07:33:19107#include "components/signin/core/browser/account_reconcilor.h"
Colin Blundell3517170e2019-07-11 08:16:34108#include "components/signin/public/base/signin_buildflags.h"
109#include "components/signin/public/base/signin_switches.h"
timvolodine34b1ffd2016-09-01 12:45:23110#include "components/spellcheck/common/spellcheck_features.h"
Scott Violetd7983c52018-03-03 00:24:41111#include "components/spellcheck/spellcheck_buildflags.h"
maxbogue455a57e32016-08-14 00:08:32112#include "components/sync/driver/sync_driver_switches.h"
primianoccb26c62016-06-01 21:50:02113#include "components/tracing/common/tracing_switches.h"
ftangee708962016-05-07 00:39:28114#include "components/translate/core/browser/translate_prefs.h"
Philippe Hamel7fdaa452017-09-29 17:22:49115#include "components/translate/core/browser/translate_ranker_impl.h"
Mike Wasserman8f8b0852018-12-03 22:08:10116#include "components/ui_devtools/switches.h"
Mihai Sardarescu160ec662018-07-18 21:13:51117#include "components/unified_consent/feature.h"
sdefresne9fb67692015-08-03 18:48:22118#include "components/version_info/version_info.h"
kylechar7051c092018-02-05 20:31:39119#include "components/viz/common/features.h"
kylechar0a233f92019-03-08 16:50:54120#include "components/viz/common/switches.h"
rseseka8dcaa92015-11-23 17:55:09121#include "content/public/common/content_features.h"
brettw90e92602015-10-10 00:12:40122#include "content/public/common/content_switches.h"
reillyg6204d732017-02-13 22:24:56123#include "device/base/features.h"
Adam Langley64bc04232019-03-30 21:05:56124#include "device/fido/features.h"
Scott Violetc8240b02018-03-08 22:03:59125#include "device/vr/buildflags/buildflags.h"
126#include "extensions/buildflags/buildflags.h"
Andres Calderon Jaramillo605253d2018-09-05 15:46:35127#include "gpu/config/gpu_finch_features.h"
ericrk41a1579e2017-02-10 20:56:28128#include "gpu/config/gpu_switches.h"
warxe993ec32016-10-18 21:37:47129#include "media/audio/audio_features.h"
[email protected]e2e8e322012-09-12 04:37:02130#include "media/base/media_switches.h"
Scott Violeta35f9a42018-03-22 22:00:44131#include "media/media_buildflags.h"
yhiranobbea6272015-09-17 07:09:03132#include "media/midi/midi_switches.h"
Alex Loiko66f63f5c2018-11-16 10:21:06133#include "media/webrtc/webrtc_switches.h"
David Benjamin570460e2018-10-16 06:01:29134#include "net/base/features.h"
tbansald3e08ca62017-05-04 19:51:09135#include "net/nqe/effective_connection_type.h"
Thanh Lea98f12f2017-12-18 19:35:30136#include "net/nqe/network_quality_estimator_params.h"
Adam Ricec786ad8a2018-05-22 09:49:15137#include "net/websockets/websocket_basic_handshake_stream.h"
Lei Zhangfc8ec942018-11-17 02:53:36138#include "pdf/buildflags.h"
Scott Violet02e38b92018-03-27 23:42:14139#include "ppapi/buildflags/buildflags.h"
Scott Violet318a55f2018-03-30 19:08:19140#include "printing/buildflags/buildflags.h"
ke.hea91facd2017-04-12 05:11:50141#include "services/device/public/cpp/device_features.h"
Becca Hughesac86cd442019-01-09 23:49:54142#include "services/media_session/public/cpp/features.h"
Yutaka Hiranod8789f92018-01-30 09:59:51143#include "services/network/public/cpp/features.h"
John Abd-El-Malek91243b32018-01-19 06:08:33144#include "services/network/public/cpp/network_switches.h"
Rob Schonberger11bb2812019-07-31 23:41:00145#include "services/service_manager/sandbox/features.h"
Tom Sepezbef36ff52017-10-17 16:13:47146#include "services/service_manager/sandbox/switches.h"
Takashi SAKAMOTO502a8d5e2018-05-23 15:26:08147#include "third_party/blink/public/common/experiments/memory_ablation_experiment.h"
Matt Falkenhagen5cc652792018-06-21 10:34:33148#include "third_party/blink/public/common/features.h"
Aran Gilman5e9672bed2019-08-02 19:07:49149#include "third_party/blink/public/common/forcedark/forcedark_switches.h"
Christian Dullweber3cc579a22018-09-11 10:54:44150#include "third_party/leveldatabase/leveldb_features.h"
Adam Ettenbergerdcf51b42019-09-23 19:33:41151#include "ui/accessibility/accessibility_features.h"
Chris Halle952239e2018-11-06 06:49:52152#include "ui/accessibility/accessibility_switches.h"
Trent Apted9efc4532017-10-23 11:09:38153#include "ui/base/ui_base_features.h"
[email protected]c9c73ad42012-04-18 03:35:59154#include "ui/base/ui_base_switches.h"
loyso4345c8e2016-02-11 05:16:21155#include "ui/compositor/compositor_switches.h"
Ahmed Fakhry15d707e2019-02-22 23:54:21156#include "ui/display/display_features.h"
[email protected]bf3f4592014-03-31 19:50:44157#include "ui/display/display_switches.h"
Ella Gebee81c92018-08-14 15:51:09158#include "ui/events/blink/blink_features.h"
Axel Antoine12df71182019-07-25 18:11:21159#include "ui/events/blink/prediction/filter_factory.h"
Axel Antoine3cef0da22019-07-09 23:33:48160#include "ui/events/blink/prediction/predictor_factory.h"
[email protected]a6147a22013-09-26 06:55:09161#include "ui/events/event_switches.h"
[email protected]0d3b9dd2012-11-14 04:14:48162#include "ui/gfx/switches.h"
Scott Violetfd6ee112019-01-10 19:05:32163#include "ui/gl/buildflags.h"
[email protected]c9e2cbbb2012-05-12 21:17:27164#include "ui/gl/gl_switches.h"
chaopengd3ca34feb2017-04-20 17:11:22165#include "ui/native_theme/native_theme_features.h"
[email protected]9a224572013-05-12 23:08:56166
Brian Geffonc3bdd6d2019-08-21 22:48:31167#if defined(OS_LINUX)
168#include "base/allocator/buildflags.h"
169#endif
170
cco3842ece22015-12-28 23:54:02171#if defined(OS_ANDROID)
172#include "chrome/browser/android/chrome_feature_list.h"
Cathy Lic450408f2018-08-02 20:32:54173#include "chrome/browser/android/explore_sites/explore_sites_feature.h"
Becky Zhou65584142019-01-10 18:22:29174#include "ui/android/buildflags.h"
skymd6d2c8d32016-09-26 22:06:07175#else // OS_ANDROID
Derek Cheng34478382018-04-07 00:32:59176#include "chrome/browser/media/router/media_router_feature.h"
Takumi Fujimotod1da5b92019-06-07 00:35:48177#include "components/mirroring/service/features.h"
skymd6d2c8d32016-09-26 22:06:07178#endif // OS_ANDROID
[email protected]3dfb4012014-06-11 07:33:38179
[email protected]badba1ad2012-11-16 17:21:46180#if defined(OS_CHROMEOS)
Tetsui Ohkubof860b8e2018-02-16 03:50:55181#include "ash/public/cpp/ash_features.h"
Evan Stade7d0e8232017-10-04 02:01:36182#include "ash/public/cpp/ash_switches.h"
Steven Bennetts38e9bde22019-01-03 17:31:10183#include "chromeos/constants/chromeos_features.h"
184#include "chromeos/constants/chromeos_switches.h"
Yue Li958f9dd2018-11-15 00:56:59185#include "chromeos/services/assistant/public/features.h"
xzhou938368c2016-10-04 04:33:17186#include "components/arc/arc_features.h"
Vladislav Kuzkokov22f860ed2019-05-22 16:26:54187#include "printing/printing_features_chromeos.h"
[email protected]6d98abf2013-06-17 23:35:51188#include "third_party/cros_system_api/switches/chrome_switches.h"
Rob Schonberger11bb2812019-07-31 23:41:00189#include "ui/events/ozone/evdev/touch_filter/palm_detection_filter_factory.h"
skymd6d2c8d32016-09-26 22:06:07190#endif // OS_CHROMEOS
[email protected]badba1ad2012-11-16 17:21:46191
taptedd1cb0bf2016-05-26 03:26:24192#if defined(OS_MACOSX)
193#include "chrome/browser/ui/browser_dialogs.h"
skymd6d2c8d32016-09-26 22:06:07194#endif // OS_MACOSX
taptedd1cb0bf2016-05-26 03:26:24195
brettw00899e62016-11-12 02:10:17196#if BUILDFLAG(ENABLE_EXTENSIONS)
Devlin Cronincac45cb2018-04-25 04:43:03197#include "extensions/common/extension_features.h"
thestigb012bc3d2014-09-18 22:57:13198#include "extensions/common/switches.h"
skymd6d2c8d32016-09-26 22:06:07199#endif // ENABLE_EXTENSIONS
thestigb012bc3d2014-09-18 22:57:13200
Lei Zhangfc8ec942018-11-17 02:53:36201#if BUILDFLAG(ENABLE_PDF)
Lei Zhang802201c2018-11-14 18:16:28202#include "pdf/pdf_features.h"
203#endif
204
Daniel Hosseinian7b57a422019-06-11 23:52:32205#if BUILDFLAG(ENABLE_PRINTING)
Daniel Hosseinian31c9fde2019-06-25 20:32:38206#include "printing/common/printing_features.h"
Daniel Hosseinian7b57a422019-06-11 23:52:32207#endif
208
alexst24a14a322015-03-10 21:06:09209#if defined(USE_OZONE)
210#include "ui/ozone/public/ozone_switches.h"
skymd6d2c8d32016-09-26 22:06:07211#endif // USE_OZONE
alexst24a14a322015-03-10 21:06:09212
hubbee7499512017-04-05 22:35:04213#if defined(OS_WIN)
214#include "base/win/windows_version.h"
Bret Sepulveda979c3c42018-03-21 18:56:39215#include "chrome/browser/win/titlebar_config.h"
hubbee7499512017-04-05 22:35:04216#endif // OS_WIN
217
Collin Baker75a29462019-03-13 19:57:31218#if defined(TOOLKIT_VIEWS)
219#include "ui/views/animation/installable_ink_drop.h"
Sajad Maysamc30d6f82019-03-19 22:52:50220#include "ui/views/views_features.h"
221#include "ui/views/views_switches.h"
Collin Baker75a29462019-03-13 19:57:31222#endif // defined(TOOLKIT_VIEWS)
223
sdefresne246c5642015-11-16 21:47:29224using flags_ui::FeatureEntry;
Yann Dago78028712019-09-04 15:23:54225using flags_ui::kDeprecated;
Thanh Le2c279fbc2017-11-21 01:25:40226using flags_ui::kOsAndroid;
227using flags_ui::kOsCrOS;
228using flags_ui::kOsCrOSOwnerOnly;
229using flags_ui::kOsLinux;
sdefresne0e566342015-11-24 08:55:46230using flags_ui::kOsMac;
231using flags_ui::kOsWin;
[email protected]ad2a3ded2010-08-27 13:19:05232
sdefresne246c5642015-11-16 21:47:29233namespace about_flags {
[email protected]8a6ff28d2010-12-02 16:35:19234
[email protected]e2ddbc92010-10-15 20:02:07235namespace {
236
[email protected]9c7453d2012-01-21 00:45:40237const unsigned kOsAll = kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid;
[email protected]f3cd6802013-01-23 20:25:56238const unsigned kOsDesktop = kOsMac | kOsWin | kOsLinux | kOsCrOS;
[email protected]ad2a3ded2010-08-27 13:19:05239
Jinsuk Kim227f5c42019-02-11 01:04:35240#if defined(USE_AURA) || defined(OS_ANDROID)
mfomitchev05cf8762017-03-15 23:46:29241const unsigned kOsAura = kOsWin | kOsLinux | kOsCrOS;
Jinsuk Kim227f5c42019-02-11 01:04:35242#endif // USE_AURA || OS_ANDROID
mfomitchev05cf8762017-03-15 23:46:29243
sunyunjiafa6a8afc2016-12-09 04:25:47244const FeatureEntry::Choice kTouchEventFeatureDetectionChoices[] = {
Ella Gea6a203c92017-10-26 19:09:29245 {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
vabr0215a8e2017-03-28 12:47:34246 {flags_ui::kGenericExperimentChoiceEnabled,
247 switches::kTouchEventFeatureDetection,
248 switches::kTouchEventFeatureDetectionEnabled},
Ella Gea6a203c92017-10-26 19:09:29249 {flags_ui::kGenericExperimentChoiceAutomatic,
vabr0215a8e2017-03-28 12:47:34250 switches::kTouchEventFeatureDetection,
Ella Gea6a203c92017-10-26 19:09:29251 switches::kTouchEventFeatureDetectionAuto}};
[email protected]d7932532012-11-21 21:10:31252
[email protected]c38e9802014-02-18 21:32:12253#if defined(USE_AURA)
Mohsen Izadi8c59ba52018-04-12 18:52:01254const FeatureEntry::Choice kPullToRefreshChoices[] = {
255 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
256 {flags_ui::kGenericExperimentChoiceDisabled, switches::kPullToRefresh, "0"},
257 {flags_ui::kGenericExperimentChoiceEnabled, switches::kPullToRefresh, "1"},
258 {flag_descriptions::kPullToRefreshEnabledTouchscreen,
259 switches::kPullToRefresh, "2"}};
skymd6d2c8d32016-09-26 22:06:07260#endif // USE_AURA
[email protected]c38e9802014-02-18 21:32:12261
Daniele Castagna74ddb9c2018-06-21 22:59:02262const FeatureEntry::Choice kOverlayStrategiesChoices[] = {
263 {flag_descriptions::kOverlayStrategiesDefault, "", ""},
264 {flag_descriptions::kOverlayStrategiesNone,
265 switches::kEnableHardwareOverlays, ""},
266 {flag_descriptions::kOverlayStrategiesUnoccludedFullscreen,
267 switches::kEnableHardwareOverlays, "single-fullscreen"},
268 {flag_descriptions::kOverlayStrategiesUnoccluded,
269 switches::kEnableHardwareOverlays, "single-fullscreen,single-on-top"},
270 {flag_descriptions::kOverlayStrategiesOccludedAndUnoccluded,
271 switches::kEnableHardwareOverlays,
272 "single-fullscreen,single-on-top,underlay"},
273};
274
asvitkinee9ed35e2015-10-14 22:33:59275const FeatureEntry::Choice kTouchTextSelectionStrategyChoices[] = {
vabr0215a8e2017-03-28 12:47:34276 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
277 {flag_descriptions::kTouchSelectionStrategyCharacter,
vabr777c16b2017-03-27 17:39:21278 switches::kTouchTextSelectionStrategy, "character"},
vabr0215a8e2017-03-28 12:47:34279 {flag_descriptions::kTouchSelectionStrategyDirection,
vabr777c16b2017-03-27 17:39:21280 switches::kTouchTextSelectionStrategy, "direction"}};
mfomitchev5ad034ec2015-04-24 21:57:27281
asvitkinee9ed35e2015-10-14 22:33:59282const FeatureEntry::Choice kTraceUploadURL[] = {
vabr0215a8e2017-03-28 12:47:34283 {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
284 {flag_descriptions::kTraceUploadUrlChoiceOther, switches::kTraceUploadURL,
vabr777c16b2017-03-27 17:39:21285 "https://performance-insights.appspot.com/upload?tags=flags,Other"},
vabr0215a8e2017-03-28 12:47:34286 {flag_descriptions::kTraceUploadUrlChoiceEmloading,
287 switches::kTraceUploadURL,
vabr777c16b2017-03-27 17:39:21288 "https://performance-insights.appspot.com/upload?tags=flags,emloading"},
vabr0215a8e2017-03-28 12:47:34289 {flag_descriptions::kTraceUploadUrlChoiceQa, switches::kTraceUploadURL,
vabr777c16b2017-03-27 17:39:21290 "https://performance-insights.appspot.com/upload?tags=flags,QA"},
vabr0215a8e2017-03-28 12:47:34291 {flag_descriptions::kTraceUploadUrlChoiceTesting, switches::kTraceUploadURL,
vabr777c16b2017-03-27 17:39:21292 "https://performance-insights.appspot.com/upload?tags=flags,TestingTeam"}};
fmeawadd27de1d2015-10-02 22:32:50293
dtapuskaf65650b2016-05-13 17:21:34294const FeatureEntry::Choice kPassiveListenersChoices[] = {
vabr0215a8e2017-03-28 12:47:34295 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
296 {flag_descriptions::kPassiveEventListenerTrue,
297 switches::kPassiveListenersDefault, "true"},
298 {flag_descriptions::kPassiveEventListenerForceAllTrue,
dtapuskaf65650b2016-05-13 17:21:34299 switches::kPassiveListenersDefault, "forcealltrue"},
300};
301
ryansturm7e309dd2017-05-24 16:29:53302const FeatureEntry::Choice kDataReductionProxyServerExperiment[] = {
303 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
Thanh Le2c279fbc2017-11-21 01:25:40304 {flag_descriptions::kDataReductionProxyServerAlternative1,
ryansturm7e309dd2017-05-24 16:29:53305 data_reduction_proxy::switches::kDataReductionProxyExperiment,
Thanh Le2c279fbc2017-11-21 01:25:40306 data_reduction_proxy::switches::kDataReductionProxyServerAlternative1},
307 {flag_descriptions::kDataReductionProxyServerAlternative2,
308 data_reduction_proxy::switches::kDataReductionProxyExperiment,
309 data_reduction_proxy::switches::kDataReductionProxyServerAlternative2},
310 {flag_descriptions::kDataReductionProxyServerAlternative3,
311 data_reduction_proxy::switches::kDataReductionProxyExperiment,
312 data_reduction_proxy::switches::kDataReductionProxyServerAlternative3},
313 {flag_descriptions::kDataReductionProxyServerAlternative4,
314 data_reduction_proxy::switches::kDataReductionProxyExperiment,
315 data_reduction_proxy::switches::kDataReductionProxyServerAlternative4},
316 {flag_descriptions::kDataReductionProxyServerAlternative5,
317 data_reduction_proxy::switches::kDataReductionProxyExperiment,
318 data_reduction_proxy::switches::kDataReductionProxyServerAlternative5},
319 {flag_descriptions::kDataReductionProxyServerAlternative6,
320 data_reduction_proxy::switches::kDataReductionProxyExperiment,
321 data_reduction_proxy::switches::kDataReductionProxyServerAlternative6},
322 {flag_descriptions::kDataReductionProxyServerAlternative7,
323 data_reduction_proxy::switches::kDataReductionProxyExperiment,
324 data_reduction_proxy::switches::kDataReductionProxyServerAlternative7},
325 {flag_descriptions::kDataReductionProxyServerAlternative8,
326 data_reduction_proxy::switches::kDataReductionProxyExperiment,
327 data_reduction_proxy::switches::kDataReductionProxyServerAlternative8},
328 {flag_descriptions::kDataReductionProxyServerAlternative9,
329 data_reduction_proxy::switches::kDataReductionProxyExperiment,
330 data_reduction_proxy::switches::kDataReductionProxyServerAlternative9},
331 {flag_descriptions::kDataReductionProxyServerAlternative10,
332 data_reduction_proxy::switches::kDataReductionProxyExperiment,
333 data_reduction_proxy::switches::kDataReductionProxyServerAlternative10}};
ryansturm7e309dd2017-05-24 16:29:53334
Olli Etuaho122321192018-09-07 10:15:29335#if defined(OS_WIN)
336const FeatureEntry::Choice kUseAngleChoices[] = {
337 {flag_descriptions::kUseAngleDefault, "", ""},
338 {flag_descriptions::kUseAngleGL, switches::kUseANGLE,
339 gl::kANGLEImplementationOpenGLName},
340 {flag_descriptions::kUseAngleD3D11, switches::kUseANGLE,
341 gl::kANGLEImplementationD3D11Name},
342 {flag_descriptions::kUseAngleD3D9, switches::kUseANGLE,
Nathan Zabriskie70c046f2019-10-16 01:19:02343 gl::kANGLEImplementationD3D9Name},
344 {flag_descriptions::kUseAngleD3D11on12, switches::kUseANGLE,
345 gl::kANGLEImplementationD3D11on12Name}};
Olli Etuaho122321192018-09-07 10:15:29346#endif
347
drogerfc4431262017-06-22 13:58:19348#if BUILDFLAG(ENABLE_DICE_SUPPORT)
David Roger5789b832017-07-25 17:00:50349const FeatureEntry::FeatureParam kAccountConsistencyDice[] = {
David Roger346e25c72018-07-06 15:08:15350 {kAccountConsistencyFeatureMethodParameter,
351 kAccountConsistencyFeatureMethodDice}};
David Roger5789b832017-07-25 17:00:50352
David Rogera4305662017-10-20 09:36:22353const FeatureEntry::FeatureParam kAccountConsistencyDiceMigration[] = {
David Roger346e25c72018-07-06 15:08:15354 {kAccountConsistencyFeatureMethodParameter,
355 kAccountConsistencyFeatureMethodDiceMigration}};
David Rogera4305662017-10-20 09:36:22356
David Roger5789b832017-07-25 17:00:50357const FeatureEntry::FeatureVariation kAccountConsistencyFeatureVariations[] = {
David Benjaminbf1f48f2018-11-14 23:14:50358 {"Dice", kAccountConsistencyDice, base::size(kAccountConsistencyDice),
David Roger5789b832017-07-25 17:00:50359 nullptr /* variation_id */},
David Rogera4305662017-10-20 09:36:22360 {"Dice (migration)", kAccountConsistencyDiceMigration,
David Roger153707e2018-12-06 12:22:30361 base::size(kAccountConsistencyDiceMigration), nullptr /* variation_id */}};
drogerfc4431262017-06-22 13:58:19362#endif // BUILDFLAG(ENABLE_DICE_SUPPORT)
msarda6d4b3dc2017-06-02 15:39:47363
[email protected]d5874f12013-12-05 04:30:00364#if defined(OS_ANDROID)
asvitkinee9ed35e2015-10-14 22:33:59365const FeatureEntry::Choice kReaderModeHeuristicsChoices[] = {
vabr0215a8e2017-03-28 12:47:34366 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
367 {flag_descriptions::kReaderModeHeuristicsMarkup,
368 switches::kReaderModeHeuristics,
369 switches::reader_mode_heuristics::kOGArticle},
370 {flag_descriptions::kReaderModeHeuristicsAdaboost,
371 switches::kReaderModeHeuristics,
372 switches::reader_mode_heuristics::kAdaBoost},
373 {flag_descriptions::kReaderModeHeuristicsAlwaysOn,
374 switches::kReaderModeHeuristics,
375 switches::reader_mode_heuristics::kAlwaysTrue},
376 {flag_descriptions::kReaderModeHeuristicsAlwaysOff,
377 switches::kReaderModeHeuristics, switches::reader_mode_heuristics::kNone},
wychen4b6112cc2017-07-07 18:15:11378 {flag_descriptions::kReaderModeHeuristicsAllArticles,
379 switches::kReaderModeHeuristics,
380 switches::reader_mode_heuristics::kAllArticles},
cjhopman951bb612015-04-22 01:42:38381};
Matthew Jonesd349741f2017-05-26 21:07:52382
Tommy Nyquist3c02e592018-10-18 23:36:44383const FeatureEntry::Choice kForceUpdateMenuTypeChoices[] = {
384 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
385 {flag_descriptions::kUpdateMenuTypeNone, switches::kForceUpdateMenuType,
386 "none"},
387 {flag_descriptions::kUpdateMenuTypeUpdateAvailable,
388 switches::kForceUpdateMenuType, "update_available"},
389 {flag_descriptions::kUpdateMenuTypeUnsupportedOSVersion,
390 switches::kForceUpdateMenuType, "unsupported_os_version"},
Tommy Nyquist023d505f2019-02-16 02:18:38391 {flag_descriptions::kUpdateMenuTypeInlineUpdateSuccess,
392 switches::kForceUpdateMenuType, "inline_update_success"},
393 {flag_descriptions::kUpdateMenuTypeInlineUpdateDialogCanceled,
394 switches::kForceUpdateMenuType, "inline_update_dialog_canceled"},
395 {flag_descriptions::kUpdateMenuTypeInlineUpdateDialogFailed,
396 switches::kForceUpdateMenuType, "inline_update_dialog_failed"},
397 {flag_descriptions::kUpdateMenuTypeInlineUpdateDownloadFailed,
398 switches::kForceUpdateMenuType, "inline_update_download_failed"},
399 {flag_descriptions::kUpdateMenuTypeInlineUpdateDownloadCanceled,
400 switches::kForceUpdateMenuType, "inline_update_download_canceled"},
401 {flag_descriptions::kUpdateMenuTypeInlineUpdateInstallFailed,
402 switches::kForceUpdateMenuType, "inline_update_install_failed"},
Tommy Nyquist3c02e592018-10-18 23:36:44403};
404
Michael van Ouwerkerka5df1ec2018-10-11 11:57:40405const FeatureEntry::FeatureParam kCCTModuleCache_ZeroMinutes[] = {
406 {"cct_module_cache_time_limit_ms", "0"}};
407const FeatureEntry::FeatureParam kCCTModuleCache_OneMinute[] = {
408 {"cct_module_cache_time_limit_ms", "60000"}};
409const FeatureEntry::FeatureParam kCCTModuleCache_FiveMinutes[] = {
410 {"cct_module_cache_time_limit_ms", "300000"}};
411const FeatureEntry::FeatureParam kCCTModuleCache_ThirtyMinutes[] = {
412 {"cct_module_cache_time_limit_ms", "1800000"}};
413const FeatureEntry::FeatureVariation kCCTModuleCacheVariations[] = {
414 {"0 minutes", kCCTModuleCache_ZeroMinutes,
415 base::size(kCCTModuleCache_ZeroMinutes), nullptr},
416 {"1 minute", kCCTModuleCache_OneMinute,
417 base::size(kCCTModuleCache_OneMinute), nullptr},
418 {"5 minutes", kCCTModuleCache_FiveMinutes,
419 base::size(kCCTModuleCache_FiveMinutes), nullptr},
420 {"30 minutes", kCCTModuleCache_ThirtyMinutes,
421 base::size(kCCTModuleCache_ThirtyMinutes), nullptr},
422};
423
skymd6d2c8d32016-09-26 22:06:07424#endif // OS_ANDROID
[email protected]d5874f12013-12-05 04:30:00425
Aran Gilman85b72c8f2019-10-16 17:51:19426#if !defined(OS_CHROMEOS)
Aran Gilman5e9672bed2019-08-02 19:07:49427const FeatureEntry::FeatureParam kForceDark_SimpleHsl[] = {
428 {"inversion_method", "hsl_based"},
429 {"image_behavior", "none"},
430 {"text_lightness_threshold", "256"},
431 {"background_lightness_threshold", "0"}};
432
433const FeatureEntry::FeatureParam kForceDark_SimpleCielab[] = {
434 {"inversion_method", "cielab_based"},
435 {"image_behavior", "none"},
436 {"text_lightness_threshold", "256"},
437 {"background_lightness_threshold", "0"}};
438
Aran Gilman8b3ca41c2019-08-12 18:59:04439const FeatureEntry::FeatureParam kForceDark_SimpleRgb[] = {
440 {"inversion_method", "rgb_based"},
441 {"image_behavior", "none"},
442 {"text_lightness_threshold", "256"},
443 {"background_lightness_threshold", "0"}};
444
Aran Gilman5e9672bed2019-08-02 19:07:49445const FeatureEntry::FeatureParam kForceDark_SelectiveImageInversion[] = {
446 {"inversion_method", "cielab_based"},
447 {"image_behavior", "selective"},
448 {"text_lightness_threshold", "256"},
449 {"background_lightness_threshold", "0"}};
450
451const FeatureEntry::FeatureParam kForceDark_SelectiveElementInversion[] = {
452 {"inversion_method", "cielab_based"},
453 {"image_behavior", "none"},
454 {"text_lightness_threshold", "150"},
455 {"background_lightness_threshold", "205"}};
456
457const FeatureEntry::FeatureParam kForceDark_SelectiveGeneralInversion[] = {
458 {"inversion_method", "cielab_based"},
459 {"image_behavior", "selective"},
460 {"text_lightness_threshold", "150"},
461 {"background_lightness_threshold", "205"}};
462
463const FeatureEntry::FeatureVariation kForceDarkVariations[] = {
464 {"with simple HSL-based inversion", kForceDark_SimpleHsl,
465 base::size(kForceDark_SimpleHsl), nullptr},
466 {"with simple CIELAB-based inversion", kForceDark_SimpleCielab,
467 base::size(kForceDark_SimpleCielab), nullptr},
Aran Gilman8b3ca41c2019-08-12 18:59:04468 {"with simple RGB-based inversion", kForceDark_SimpleRgb,
469 base::size(kForceDark_SimpleRgb), nullptr},
Aran Gilman5e9672bed2019-08-02 19:07:49470 {"with selective image inversion", kForceDark_SelectiveImageInversion,
471 base::size(kForceDark_SelectiveImageInversion), nullptr},
472 {"with selective inversion of non-image elements",
473 kForceDark_SelectiveElementInversion,
474 base::size(kForceDark_SelectiveElementInversion), nullptr},
475 {"with selective inversion of everything",
476 kForceDark_SelectiveGeneralInversion,
477 base::size(kForceDark_SelectiveGeneralInversion), nullptr}};
Aran Gilman85b72c8f2019-10-16 17:51:19478#endif // !OS_CHROMEOS
Aran Gilman5e9672bed2019-08-02 19:07:49479
David Maunderc1dfc022019-08-27 18:00:37480#if defined(OS_ANDROID)
481const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_4Hours[] = {
482 {"close_tab_suggestions_stale_time_ms", "14400000"}};
483const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_8Hours[] = {
484 {"close_tab_suggestions_stale_time_ms", "28800000"}};
485const FeatureEntry::FeatureParam kCloseTabSuggestionsStale_7Days[] = {
486 {"close_tab_suggestions_stale_time_ms", "604800000"}};
487const FeatureEntry::FeatureVariation kCloseTabSuggestionsStaleVariations[] = {
488 {"4 hours", kCloseTabSuggestionsStale_4Hours,
489 base::size(kCloseTabSuggestionsStale_4Hours), nullptr},
490 {"8 hours", kCloseTabSuggestionsStale_8Hours,
491 base::size(kCloseTabSuggestionsStale_8Hours), nullptr},
492 {"7 days", kCloseTabSuggestionsStale_7Days,
493 base::size(kCloseTabSuggestionsStale_7Days), nullptr},
494};
495#endif // OS_ANDROID
496
asvitkinee9ed35e2015-10-14 22:33:59497const FeatureEntry::Choice kEnableGpuRasterizationChoices[] = {
vabr0215a8e2017-03-28 12:47:34498 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
499 {flags_ui::kGenericExperimentChoiceEnabled,
500 switches::kEnableGpuRasterization, ""},
501 {flags_ui::kGenericExperimentChoiceDisabled,
502 switches::kDisableGpuRasterization, ""},
503 {flag_descriptions::kForceGpuRasterization,
504 switches::kForceGpuRasterization, ""},
[email protected]a23530d2014-03-11 06:04:14505};
506
Adrienne Walkerc87477e2018-06-06 22:28:21507const FeatureEntry::Choice kEnableOopRasterizationChoices[] = {
508 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
509 {flags_ui::kGenericExperimentChoiceEnabled,
510 switches::kEnableOopRasterization, ""},
511 {flags_ui::kGenericExperimentChoiceDisabled,
512 switches::kDisableOopRasterization, ""},
513};
514
asvitkinee9ed35e2015-10-14 22:33:59515const FeatureEntry::Choice kExtensionContentVerificationChoices[] = {
vabr0215a8e2017-03-28 12:47:34516 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
517 {flag_descriptions::kExtensionContentVerificationBootstrap,
518 switches::kExtensionContentVerification,
519 switches::kExtensionContentVerificationBootstrap},
520 {flag_descriptions::kExtensionContentVerificationEnforce,
521 switches::kExtensionContentVerification,
522 switches::kExtensionContentVerificationEnforce},
523 {flag_descriptions::kExtensionContentVerificationEnforceStrict,
524 switches::kExtensionContentVerification,
525 switches::kExtensionContentVerificationEnforceStrict},
[email protected]6f8ede32014-05-09 13:58:45526};
527
Peter Kastingd77428352018-10-26 15:20:25528const FeatureEntry::Choice kTopChromeTouchUiChoices[] = {
vabr0215a8e2017-03-28 12:47:34529 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
Peter Kastingd77428352018-10-26 15:20:25530 {flags_ui::kGenericExperimentChoiceAutomatic, switches::kTopChromeTouchUi,
531 switches::kTopChromeTouchUiAuto},
532 {flags_ui::kGenericExperimentChoiceDisabled, switches::kTopChromeTouchUi,
533 switches::kTopChromeTouchUiDisabled},
534 {flags_ui::kGenericExperimentChoiceEnabled, switches::kTopChromeTouchUi,
535 switches::kTopChromeTouchUiEnabled}};
bruthig0d89d6a2015-06-26 19:37:49536
Mike Wasserman2115b162017-09-19 23:42:37537#if defined(OS_CHROMEOS)
reveman5be07ac82017-04-14 01:06:05538const FeatureEntry::Choice kUiShowCompositedLayerBordersChoices[] = {
539 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
540 {flag_descriptions::kUiShowCompositedLayerBordersRenderPass,
541 cc::switches::kUIShowCompositedLayerBorders,
542 cc::switches::kCompositedRenderPassBorders},
543 {flag_descriptions::kUiShowCompositedLayerBordersSurface,
544 cc::switches::kUIShowCompositedLayerBorders,
545 cc::switches::kCompositedSurfaceBorders},
546 {flag_descriptions::kUiShowCompositedLayerBordersLayer,
547 cc::switches::kUIShowCompositedLayerBorders,
548 cc::switches::kCompositedLayerBorders},
549 {flag_descriptions::kUiShowCompositedLayerBordersAll,
550 cc::switches::kUIShowCompositedLayerBorders, ""}};
Daniel Erat33054b22017-06-27 16:18:07551
skymd6d2c8d32016-09-26 22:06:07552#endif // OS_CHROMEOS
yoshikie76455b32015-07-22 10:31:01553
alematead0c0ac2015-09-22 07:43:53554#if defined(OS_CHROMEOS)
asvitkinee9ed35e2015-10-14 22:33:59555const FeatureEntry::Choice kCrosRegionsModeChoices[] = {
vabr0215a8e2017-03-28 12:47:34556 {flag_descriptions::kCrosRegionsModeDefault, "", ""},
557 {flag_descriptions::kCrosRegionsModeOverride,
558 chromeos::switches::kCrosRegionsMode,
559 chromeos::switches::kCrosRegionsModeOverride},
560 {flag_descriptions::kCrosRegionsModeHide,
561 chromeos::switches::kCrosRegionsMode,
562 chromeos::switches::kCrosRegionsModeHide},
alematead0c0ac2015-09-22 07:43:53563};
skymd6d2c8d32016-09-26 22:06:07564#endif // OS_CHROMEOS
alematead0c0ac2015-09-22 07:43:53565
mgiuca49ae7c72015-12-04 04:36:48566const FeatureEntry::Choice kForceUIDirectionChoices[] = {
vabr0215a8e2017-03-28 12:47:34567 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
krb6822b602017-05-02 14:53:21568 {flag_descriptions::kForceDirectionLtr, switches::kForceUIDirection,
569 switches::kForceDirectionLTR},
570 {flag_descriptions::kForceDirectionRtl, switches::kForceUIDirection,
571 switches::kForceDirectionRTL},
572};
573
574const FeatureEntry::Choice kForceTextDirectionChoices[] = {
575 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
576 {flag_descriptions::kForceDirectionLtr, switches::kForceTextDirection,
577 switches::kForceDirectionLTR},
578 {flag_descriptions::kForceDirectionRtl, switches::kForceTextDirection,
579 switches::kForceDirectionRTL},
mgiuca49ae7c72015-12-04 04:36:48580};
581
sammiequond5837762017-03-16 21:14:59582#if defined(OS_CHROMEOS)
Mattias Nissler6bb633f2019-02-13 23:41:46583const FeatureEntry::Choice kSchedulerConfigurationChoices[] = {
584 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
585 {flag_descriptions::kSchedulerConfigurationConservative,
586 switches::kSchedulerConfiguration,
587 switches::kSchedulerConfigurationConservative},
588 {flag_descriptions::kSchedulerConfigurationPerformance,
589 switches::kSchedulerConfiguration,
590 switches::kSchedulerConfigurationPerformance},
591};
sammiequond5837762017-03-16 21:14:59592#endif // OS_CHROMEOS
593
twellingtonce51db32015-12-30 16:24:29594#if defined(OS_ANDROID)
Sky Malice0ddbf7642019-03-07 23:40:23595const FeatureEntry::FeatureParam
596 kInterestFeedLargerImagesFeatureVariationConstant[] = {
Natalie Chouinard0d175d72019-04-16 23:28:20597 {"feed_ui_enabled", "true"}};
598const FeatureEntry::FeatureParam
599 kInterestFeedSnippetsEnabledFeatureVariationConstant[] = {
Sky Malice0ddbf7642019-03-07 23:40:23600 {"feed_ui_enabled", "true"},
Natalie Chouinard0d175d72019-04-16 23:28:20601 {"snippets_enabled", "true"}};
Sky Malice0ddbf7642019-03-07 23:40:23602const FeatureEntry::FeatureVariation kInterestFeedFeatureVariations[] = {
603 {"(larger images)", kInterestFeedLargerImagesFeatureVariationConstant,
Natalie Chouinard0d175d72019-04-16 23:28:20604 base::size(kInterestFeedLargerImagesFeatureVariationConstant), nullptr},
605 {"(larger images and snippets)",
606 kInterestFeedSnippetsEnabledFeatureVariationConstant,
607 base::size(kInterestFeedSnippetsEnabledFeatureVariationConstant),
608 nullptr}};
Sky Malice0ddbf7642019-03-07 23:40:23609
jkrcal8f8a5672017-03-02 17:44:17610const FeatureEntry::FeatureVariation kRemoteSuggestionsFeatureVariations[] = {
sfiera0500d4a2017-03-30 11:58:44611 {"via content suggestion server (backed by ChromeReader)", nullptr, 0,
sfierad5c6a6d2017-04-24 18:12:51612 "3313421"},
sfiera0500d4a2017-03-30 11:58:44613 {"via content suggestion server (backed by Google Now)", nullptr, 0,
sfierad5c6a6d2017-04-24 18:12:51614 "3313422"}};
skymd6d2c8d32016-09-26 22:06:07615#endif // OS_ANDROID
jkrcalb050f152016-06-21 17:12:11616
oshima82d237042016-02-04 01:00:23617const FeatureEntry::Choice kEnableUseZoomForDSFChoices[] = {
vabr0215a8e2017-03-28 12:47:34618 {flag_descriptions::kEnableUseZoomForDsfChoiceDefault, "", ""},
619 {flag_descriptions::kEnableUseZoomForDsfChoiceEnabled,
620 switches::kEnableUseZoomForDSF, "true"},
621 {flag_descriptions::kEnableUseZoomForDsfChoiceDisabled,
622 switches::kEnableUseZoomForDSF, "false"},
oshima82d237042016-02-04 01:00:23623};
624
Lukasz Anforowicz738a88d2018-11-05 19:19:34625const FeatureEntry::Choice kSiteIsolationOptOutChoices[] = {
626 {flag_descriptions::kSiteIsolationOptOutChoiceDefault, "", ""},
627 {flag_descriptions::kSiteIsolationOptOutChoiceOptOut,
628 switches::kDisableSiteIsolation, ""},
Nick Carter855bc492018-03-10 00:44:57629};
630
Christopher Cameronceb8727d2017-09-07 23:53:16631const FeatureEntry::Choice kForceColorProfileChoices[] = {
632 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
Mason Freedc71f15a2018-09-10 16:53:32633 {flag_descriptions::kForceColorProfileSRGB,
634 switches::kForceDisplayColorProfile, "srgb"},
635 {flag_descriptions::kForceColorProfileP3,
636 switches::kForceDisplayColorProfile, "display-p3-d65"},
Christopher Cameronceb8727d2017-09-07 23:53:16637 {flag_descriptions::kForceColorProfileColorSpin,
Mason Freedc71f15a2018-09-10 16:53:32638 switches::kForceDisplayColorProfile, "color-spin-gamma24"},
Sunny Sachanandani71e474a2019-06-11 02:32:03639 {flag_descriptions::kForceColorProfileSCRGBLinear,
Mason Freedc71f15a2018-09-10 16:53:32640 switches::kForceDisplayColorProfile, "scrgb-linear"},
Sunny Sachanandani71e474a2019-06-11 02:32:03641 {flag_descriptions::kForceColorProfileHDR10,
642 switches::kForceDisplayColorProfile, "hdr10"},
Christopher Cameronceb8727d2017-09-07 23:53:16643};
644
tbansald3e08ca62017-05-04 19:51:09645const FeatureEntry::Choice kForceEffectiveConnectionTypeChoices[] = {
646 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
647 {flag_descriptions::kEffectiveConnectionTypeUnknownDescription,
Matt Menkeabb7a382018-03-23 18:25:23648 network::switches::kForceEffectiveConnectionType,
tbansald3e08ca62017-05-04 19:51:09649 net::kEffectiveConnectionTypeUnknown},
650 {flag_descriptions::kEffectiveConnectionTypeOfflineDescription,
Matt Menkeabb7a382018-03-23 18:25:23651 network::switches::kForceEffectiveConnectionType,
tbansald3e08ca62017-05-04 19:51:09652 net::kEffectiveConnectionTypeOffline},
653 {flag_descriptions::kEffectiveConnectionTypeSlow2GDescription,
Matt Menkeabb7a382018-03-23 18:25:23654 network::switches::kForceEffectiveConnectionType,
tbansald3e08ca62017-05-04 19:51:09655 net::kEffectiveConnectionTypeSlow2G},
Thanh Lea98f12f2017-12-18 19:35:30656 {flag_descriptions::kEffectiveConnectionTypeSlow2GOnCellularDescription,
Matt Menkeabb7a382018-03-23 18:25:23657 network::switches::kForceEffectiveConnectionType,
Thanh Lea98f12f2017-12-18 19:35:30658 net::kEffectiveConnectionTypeSlow2GOnCellular},
tbansald3e08ca62017-05-04 19:51:09659 {flag_descriptions::kEffectiveConnectionType2GDescription,
Matt Menkeabb7a382018-03-23 18:25:23660 network::switches::kForceEffectiveConnectionType,
661 net::kEffectiveConnectionType2G},
tbansald3e08ca62017-05-04 19:51:09662 {flag_descriptions::kEffectiveConnectionType3GDescription,
Matt Menkeabb7a382018-03-23 18:25:23663 network::switches::kForceEffectiveConnectionType,
664 net::kEffectiveConnectionType3G},
tbansald3e08ca62017-05-04 19:51:09665 {flag_descriptions::kEffectiveConnectionType4GDescription,
Matt Menkeabb7a382018-03-23 18:25:23666 network::switches::kForceEffectiveConnectionType,
667 net::kEffectiveConnectionType4G},
tbansald3e08ca62017-05-04 19:51:09668};
669
670// Ensure that all effective connection types returned by Network Quality
671// Estimator (NQE) are also exposed via flags.
Thanh Lea98f12f2017-12-18 19:35:30672static_assert(net::EFFECTIVE_CONNECTION_TYPE_LAST + 2 ==
Avi Drissmand251e912018-12-26 15:46:37673 base::size(kForceEffectiveConnectionTypeChoices),
tbansald3e08ca62017-05-04 19:51:09674 "ECT enum value is not handled.");
675static_assert(net::EFFECTIVE_CONNECTION_TYPE_UNKNOWN == 0,
676 "ECT enum value is not handled.");
677static_assert(net::EFFECTIVE_CONNECTION_TYPE_4G + 1 ==
678 net::EFFECTIVE_CONNECTION_TYPE_LAST,
679 "ECT enum value is not handled.");
680
csashia5887a82016-12-16 22:44:14681#if defined(OS_ANDROID)
682const FeatureEntry::FeatureParam
csashia447acf2017-05-19 22:05:29683 kAutofillKeyboardAccessoryFeatureVariationAnimationDuration[] = {
684 {autofill::kAutofillKeyboardAccessoryAnimationDurationKey, "1000"}};
685
686const FeatureEntry::FeatureParam
687 kAutofillKeyboardAccessoryFeatureVariationLimitLabelWidth[] = {
688 {autofill::kAutofillKeyboardAccessoryLimitLabelWidthKey, "true"}};
689
690const FeatureEntry::FeatureParam
691 kAutofillKeyboardAccessoryFeatureVariationShowHint[] = {
692 {autofill::kAutofillKeyboardAccessoryHintKey, "true"}};
693
694const FeatureEntry::FeatureParam
695 kAutofillKeyboardAccessoryFeatureVariationAnimateWithHint[] = {
696 {autofill::kAutofillKeyboardAccessoryAnimationDurationKey, "1000"},
697 {autofill::kAutofillKeyboardAccessoryHintKey, "true"}};
698
699const FeatureEntry::FeatureVariation
700 kAutofillKeyboardAccessoryFeatureVariations[] = {
701 {"Animate", kAutofillKeyboardAccessoryFeatureVariationAnimationDuration,
Avi Drissmand251e912018-12-26 15:46:37702 base::size(
703 kAutofillKeyboardAccessoryFeatureVariationAnimationDuration),
csashia447acf2017-05-19 22:05:29704 nullptr},
705 {"Limit label width",
706 kAutofillKeyboardAccessoryFeatureVariationLimitLabelWidth,
Avi Drissmand251e912018-12-26 15:46:37707 base::size(kAutofillKeyboardAccessoryFeatureVariationLimitLabelWidth),
csashia447acf2017-05-19 22:05:29708 nullptr},
709 {"Show hint", kAutofillKeyboardAccessoryFeatureVariationShowHint,
Avi Drissmand251e912018-12-26 15:46:37710 base::size(kAutofillKeyboardAccessoryFeatureVariationShowHint),
csashia447acf2017-05-19 22:05:29711 nullptr},
712 {"Animate with hint",
713 kAutofillKeyboardAccessoryFeatureVariationAnimateWithHint,
Avi Drissmand251e912018-12-26 15:46:37714 base::size(kAutofillKeyboardAccessoryFeatureVariationAnimateWithHint),
csashia447acf2017-05-19 22:05:29715 nullptr}};
csashia5887a82016-12-16 22:44:14716#endif // OS_ANDROID
717
siyuaa92bc942019-05-24 20:57:33718#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
719const FeatureEntry::FeatureParam
720 kAutofillSaveCreditCardUsesImprovedMessagingStoreCard[] = {
721 {autofill::features::
722 kAutofillSaveCreditCardUsesImprovedMessagingParamName,
723 autofill::features::
724 kAutofillSaveCreditCardUsesImprovedMessagingParamValueStoreCard}};
725const FeatureEntry::FeatureParam
726 kAutofillSaveCreditCardUsesImprovedMessagingStoreBillingDetails[] = {
727 {autofill::features::
728 kAutofillSaveCreditCardUsesImprovedMessagingParamName,
729 autofill::features::
730 kAutofillSaveCreditCardUsesImprovedMessagingParamValueStoreBillingDetails}};
731const FeatureEntry::FeatureParam
732 kAutofillSaveCreditCardUsesImprovedMessagingAddCard[] = {
733 {autofill::features::
734 kAutofillSaveCreditCardUsesImprovedMessagingParamName,
735 autofill::features::
736 kAutofillSaveCreditCardUsesImprovedMessagingParamValueAddCard}};
737const FeatureEntry::FeatureParam
738 kAutofillSaveCreditCardUsesImprovedMessagingConfirmAndSaveCard[] = {
739 {autofill::features::
740 kAutofillSaveCreditCardUsesImprovedMessagingParamName,
741 autofill::features::
742 kAutofillSaveCreditCardUsesImprovedMessagingParamValueConfirmAndSaveCard}};
743
744const FeatureEntry::FeatureVariation
745 kAutofillSaveCreditCardUsesImprovedMessagingVariations[] = {
746 {"(store card variation)",
747 kAutofillSaveCreditCardUsesImprovedMessagingStoreCard,
748 base::size(kAutofillSaveCreditCardUsesImprovedMessagingStoreCard),
749 nullptr},
750 {"(store billing details variation)",
751 kAutofillSaveCreditCardUsesImprovedMessagingStoreBillingDetails,
752 base::size(
753 kAutofillSaveCreditCardUsesImprovedMessagingStoreBillingDetails),
754 nullptr},
755 {"(add card variation)",
756 kAutofillSaveCreditCardUsesImprovedMessagingAddCard,
757 base::size(kAutofillSaveCreditCardUsesImprovedMessagingAddCard),
758 nullptr},
759 {"(confirm & save card variation)",
760 kAutofillSaveCreditCardUsesImprovedMessagingConfirmAndSaveCard,
761 base::size(
762 kAutofillSaveCreditCardUsesImprovedMessagingConfirmAndSaveCard),
763 nullptr},
764};
765#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
766
Alexei Filippov522a5222019-03-29 03:33:18767const FeatureEntry::Choice kMemlogModeChoices[] = {
erikchen14046432017-08-17 19:55:59768 {flags_ui::kGenericExperimentChoiceDisabled, "", ""},
Alexei Filippov522a5222019-03-29 03:33:18769 {flag_descriptions::kMemlogModeMinimal, heap_profiling::kMemlogMode,
770 heap_profiling::kMemlogModeMinimal},
771 {flag_descriptions::kMemlogModeAll, heap_profiling::kMemlogMode,
772 heap_profiling::kMemlogModeAll},
773 {flag_descriptions::kMemlogModeBrowser, heap_profiling::kMemlogMode,
774 heap_profiling::kMemlogModeBrowser},
775 {flag_descriptions::kMemlogModeGpu, heap_profiling::kMemlogMode,
776 heap_profiling::kMemlogModeGpu},
777 {flag_descriptions::kMemlogModeAllRenderers, heap_profiling::kMemlogMode,
778 heap_profiling::kMemlogModeAllRenderers},
779 {flag_descriptions::kMemlogModeRendererSampling,
780 heap_profiling::kMemlogMode, heap_profiling::kMemlogModeRendererSampling},
erikchen0a5dd692017-12-12 00:53:10781};
erikchen14046432017-08-17 19:55:59782
Alexei Filippov522a5222019-03-29 03:33:18783const FeatureEntry::Choice kMemlogStackModeChoices[] = {
784 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
785 {flag_descriptions::kMemlogStackModeNative,
786 heap_profiling::kMemlogStackMode, heap_profiling::kMemlogStackModeNative},
787 {flag_descriptions::kMemlogStackModeNativeWithThreadNames,
erikchen34810df02018-04-05 21:40:38788 heap_profiling::kMemlogStackMode,
789 heap_profiling::kMemlogStackModeNativeWithThreadNames},
Alexei Filippov522a5222019-03-29 03:33:18790 {flag_descriptions::kMemlogStackModePseudo,
791 heap_profiling::kMemlogStackMode, heap_profiling::kMemlogStackModePseudo},
792 {flag_descriptions::kMemlogStackModeMixed, heap_profiling::kMemlogStackMode,
erikchen34810df02018-04-05 21:40:38793 heap_profiling::kMemlogStackModeMixed},
Erik Chen3303fd0232018-01-11 20:29:05794};
795
Alexei Filippov522a5222019-03-29 03:33:18796const FeatureEntry::Choice kMemlogSamplingRateChoices[] = {
797 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
798 {flag_descriptions::kMemlogSamplingRate10KB,
799 heap_profiling::kMemlogSamplingRate,
800 heap_profiling::kMemlogSamplingRate10KB},
801 {flag_descriptions::kMemlogSamplingRate50KB,
802 heap_profiling::kMemlogSamplingRate,
803 heap_profiling::kMemlogSamplingRate50KB},
804 {flag_descriptions::kMemlogSamplingRate100KB,
805 heap_profiling::kMemlogSamplingRate,
806 heap_profiling::kMemlogSamplingRate100KB},
807 {flag_descriptions::kMemlogSamplingRate500KB,
808 heap_profiling::kMemlogSamplingRate,
809 heap_profiling::kMemlogSamplingRate500KB},
810 {flag_descriptions::kMemlogSamplingRate1MB,
811 heap_profiling::kMemlogSamplingRate,
812 heap_profiling::kMemlogSamplingRate1MB},
813 {flag_descriptions::kMemlogSamplingRate5MB,
814 heap_profiling::kMemlogSamplingRate,
815 heap_profiling::kMemlogSamplingRate5MB},
816};
817
manukda8584b2019-07-19 19:42:06818#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
819const FeatureEntry::FeatureParam kOmniboxDocumentProviderServerScoring[] = {
820 {"DocumentUseServerScore", "true"},
821 {"DocumentUseClientScore", "false"},
822 {"DocumentCapScorePerRank", "false"},
823 {"DocumentBoostOwned", "false"},
824};
825const FeatureEntry::FeatureParam
826 kOmniboxDocumentProviderServerScoringCappedByRank[] = {
827 {"DocumentUseServerScore", "true"},
828 {"DocumentUseClientScore", "false"},
829 {"DocumentCapScorePerRank", "true"},
830 {"DocumentBoostOwned", "true"},
831};
832const FeatureEntry::FeatureParam kOmniboxDocumentProviderClientScoring[] = {
833 {"DocumentUseServerScore", "false"},
834 {"DocumentUseClientScore", "true"},
835 {"DocumentCapScorePerRank", "false"},
836 {"DocumentBoostOwned", "false"},
837};
838const FeatureEntry::FeatureParam
839 kOmniboxDocumentProviderServerAndClientScoring[] = {
840 {"DocumentUseServerScore", "true"},
841 {"DocumentUseClientScore", "true"},
842 {"DocumentCapScorePerRank", "false"},
843 {"DocumentBoostOwned", "false"},
844};
845
846const FeatureEntry::FeatureVariation kOmniboxDocumentProviderVariations[] = {
847 {"server scores", kOmniboxDocumentProviderServerScoring,
848 base::size(kOmniboxDocumentProviderServerScoring), nullptr},
849 {"server scores capped by rank",
850 kOmniboxDocumentProviderServerScoringCappedByRank,
851 base::size(kOmniboxDocumentProviderServerScoringCappedByRank), nullptr},
852 {"client scores", kOmniboxDocumentProviderClientScoring,
853 base::size(kOmniboxDocumentProviderClientScoring), nullptr},
854 {"server and client scores", kOmniboxDocumentProviderServerAndClientScoring,
855 base::size(kOmniboxDocumentProviderServerAndClientScoring), nullptr}};
856#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
857
Tommy Liffe4c9b2019-09-11 19:07:30858const FeatureEntry::FeatureParam kOmniboxOnFocusSuggestionsParamSERP[] = {
Moe Ahmadi046df562019-09-27 00:19:38859 {"ZeroSuggestVariant:6:*", "RemoteSendUrl"}};
860const FeatureEntry::FeatureParam
Moe Ahmadi046df562019-09-27 00:19:38861 kOmniboxOnFocusSuggestionsParamNTPOmniboxRemoteLocal[] = {
862 {"ZeroSuggestVariant:7:*", "RemoteNoUrl,Local"}};
863const FeatureEntry::FeatureParam
Moe Ahmadi046df562019-09-27 00:19:38864 kOmniboxOnFocusSuggestionsParamNTPRealboxRemoteLocal[] = {
865 {"ZeroSuggestVariant:15:*", "RemoteNoUrl,Local"}};
Moe Ahmadibbd8661b2019-10-03 01:26:41866const FeatureEntry::FeatureParam
867 kOmniboxOnFocusSuggestionsParamNTPOmniboxRealboxRemoteLocal[] = {
868 *kOmniboxOnFocusSuggestionsParamNTPOmniboxRemoteLocal,
869 *kOmniboxOnFocusSuggestionsParamNTPRealboxRemoteLocal};
Moe Ahmadid0ce5de2019-08-30 21:55:02870const FeatureEntry::FeatureVariation kOmniboxOnFocusSuggestionsVariations[] = {
Tommy Liffe4c9b2019-09-11 19:07:30871 {"SERP - RemoteSendURL", kOmniboxOnFocusSuggestionsParamSERP,
Moe Ahmadi046df562019-09-27 00:19:38872 base::size(kOmniboxOnFocusSuggestionsParamSERP),
Tommy Liffe4c9b2019-09-11 19:07:30873 "t3315869" /* variation_id */},
Moe Ahmadi046df562019-09-27 00:19:38874 {"NTP Omnibox - Remote,Local",
875 kOmniboxOnFocusSuggestionsParamNTPOmniboxRemoteLocal,
876 base::size(kOmniboxOnFocusSuggestionsParamNTPOmniboxRemoteLocal),
Tommy Lib5ceddc2019-09-04 22:56:47877 "t3316133" /* variation_id */},
Moe Ahmadi046df562019-09-27 00:19:38878 {"NTP Realbox - Remote,Local",
879 kOmniboxOnFocusSuggestionsParamNTPRealboxRemoteLocal,
880 base::size(kOmniboxOnFocusSuggestionsParamNTPRealboxRemoteLocal),
881 "t3316133" /* variation_id */},
Moe Ahmadibbd8661b2019-10-03 01:26:41882 {"NTP Omnibox,Realbox - Remote,Local",
883 kOmniboxOnFocusSuggestionsParamNTPOmniboxRealboxRemoteLocal,
884 base::size(kOmniboxOnFocusSuggestionsParamNTPOmniboxRealboxRemoteLocal),
885 "t3316133" /* variation_id */},
Tommy Lib5ceddc2019-09-04 22:56:47886};
Moe Ahmadid0ce5de2019-08-30 21:55:02887
Justin Donnellyd1e5c302018-01-17 15:21:30888const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches3[] = {
889 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "3"}};
tommyclia5a538f92017-05-15 19:09:38890const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches4[] = {
891 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "4"}};
Justin Donnellyd1e5c302018-01-17 15:21:30892const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches5[] = {
893 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "5"}};
tommyclia5a538f92017-05-15 19:09:38894const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches6[] = {
895 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "6"}};
Patrick Noland9e1fc5052019-07-31 00:24:11896const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches7[] = {
897 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "7"}};
tommyclia5a538f92017-05-15 19:09:38898const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches8[] = {
899 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "8"}};
Patrick Noland9e1fc5052019-07-31 00:24:11900const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches9[] = {
901 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "9"}};
tommyclia5a538f92017-05-15 19:09:38902const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches10[] = {
903 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "10"}};
904const FeatureEntry::FeatureParam kOmniboxUIMaxAutocompleteMatches12[] = {
905 {OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam, "12"}};
906
907const FeatureEntry::FeatureVariation
908 kOmniboxUIMaxAutocompleteMatchesVariations[] = {
Justin Donnellyd1e5c302018-01-17 15:21:30909 {"3 matches", kOmniboxUIMaxAutocompleteMatches3,
Avi Drissmand251e912018-12-26 15:46:37910 base::size(kOmniboxUIMaxAutocompleteMatches3), nullptr},
tommyclia5a538f92017-05-15 19:09:38911 {"4 matches", kOmniboxUIMaxAutocompleteMatches4,
Avi Drissmand251e912018-12-26 15:46:37912 base::size(kOmniboxUIMaxAutocompleteMatches4), nullptr},
Justin Donnellyd1e5c302018-01-17 15:21:30913 {"5 matches", kOmniboxUIMaxAutocompleteMatches5,
Avi Drissmand251e912018-12-26 15:46:37914 base::size(kOmniboxUIMaxAutocompleteMatches5), nullptr},
tommyclia5a538f92017-05-15 19:09:38915 {"6 matches", kOmniboxUIMaxAutocompleteMatches6,
Avi Drissmand251e912018-12-26 15:46:37916 base::size(kOmniboxUIMaxAutocompleteMatches6), nullptr},
Patrick Noland9e1fc5052019-07-31 00:24:11917 {"7 matches", kOmniboxUIMaxAutocompleteMatches7,
918 base::size(kOmniboxUIMaxAutocompleteMatches7), nullptr},
tommyclia5a538f92017-05-15 19:09:38919 {"8 matches", kOmniboxUIMaxAutocompleteMatches8,
Avi Drissmand251e912018-12-26 15:46:37920 base::size(kOmniboxUIMaxAutocompleteMatches8), nullptr},
Patrick Noland9e1fc5052019-07-31 00:24:11921 {"9 matches", kOmniboxUIMaxAutocompleteMatches9,
922 base::size(kOmniboxUIMaxAutocompleteMatches9), nullptr},
tommyclia5a538f92017-05-15 19:09:38923 {"10 matches", kOmniboxUIMaxAutocompleteMatches10,
Avi Drissmand251e912018-12-26 15:46:37924 base::size(kOmniboxUIMaxAutocompleteMatches10), nullptr},
tommyclia5a538f92017-05-15 19:09:38925 {"12 matches", kOmniboxUIMaxAutocompleteMatches12,
Avi Drissmand251e912018-12-26 15:46:37926 base::size(kOmniboxUIMaxAutocompleteMatches12), nullptr}};
tommyclia5a538f92017-05-15 19:09:38927
Kevin Baileycd6889922019-05-30 17:22:55928const FeatureEntry::FeatureParam kOmniboxMaxURLMatches2[] = {
929 {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "2"}};
930const FeatureEntry::FeatureParam kOmniboxMaxURLMatches3[] = {
931 {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "3"}};
932const FeatureEntry::FeatureParam kOmniboxMaxURLMatches4[] = {
933 {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "4"}};
934const FeatureEntry::FeatureParam kOmniboxMaxURLMatches5[] = {
935 {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "5"}};
936const FeatureEntry::FeatureParam kOmniboxMaxURLMatches6[] = {
937 {OmniboxFieldTrial::kOmniboxMaxURLMatchesParam, "6"}};
938
939const FeatureEntry::FeatureVariation kOmniboxMaxURLMatchesVariations[] = {
940 {"2 matches", kOmniboxMaxURLMatches2, base::size(kOmniboxMaxURLMatches2),
941 nullptr},
942 {"3 matches", kOmniboxMaxURLMatches3, base::size(kOmniboxMaxURLMatches3),
943 nullptr},
944 {"4 matches", kOmniboxMaxURLMatches4, base::size(kOmniboxMaxURLMatches4),
945 nullptr},
946 {"5 matches", kOmniboxMaxURLMatches5, base::size(kOmniboxMaxURLMatches5),
947 nullptr},
948 {"6 matches", kOmniboxMaxURLMatches6, base::size(kOmniboxMaxURLMatches6),
949 nullptr}};
950
Haohao Wang5b525f722019-05-18 15:37:52951#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || \
952 defined(OS_CHROMEOS)
953const FeatureEntry::FeatureParam kTranslateBubbleUIButton[] = {
954 {language::kTranslateUIBubbleKey, language::kTranslateUIBubbleButtonValue}};
955const FeatureEntry::FeatureParam kTranslateBubbleUITab[] = {
956 {language::kTranslateUIBubbleKey, language::kTranslateUIBubbleTabValue}};
957const FeatureEntry::FeatureParam kTranslateBubbleUIButtonGM2[] = {
958 {language::kTranslateUIBubbleKey,
959 language::kTranslateUIBubbleButtonGM2Value}};
960
961const FeatureEntry::FeatureVariation kTranslateBubbleUIVariations[] = {
962 {"Button", kTranslateBubbleUIButton, base::size(kTranslateBubbleUIButton),
963 nullptr},
964 {"Tab", kTranslateBubbleUITab, base::size(kTranslateBubbleUITab), nullptr},
965 {"Button_GM2", kTranslateBubbleUIButtonGM2,
966 base::size(kTranslateBubbleUIButton), nullptr}};
967#endif // OS_LINUX || OS_MACOSX || OS_WIN || OS_CHROMEOS
968
Emily Starkbafa9062017-12-27 15:22:46969const FeatureEntry::FeatureParam kMarkHttpAsDangerous[] = {
970 {security_state::features::kMarkHttpAsFeatureParameterName,
971 security_state::features::kMarkHttpAsParameterDangerous}};
Emily Starkbafa9062017-12-27 15:22:46972const FeatureEntry::FeatureParam kMarkHttpAsWarningAndDangerousOnFormEdits[] = {
973 {security_state::features::kMarkHttpAsFeatureParameterName,
974 security_state::features::
975 kMarkHttpAsParameterWarningAndDangerousOnFormEdits}};
Livvie Lin15ed6e2e2019-10-08 20:00:56976const FeatureEntry::FeatureParam kMarkHttpAsDangerWarning[] = {
977 {security_state::features::kMarkHttpAsFeatureParameterName,
978 security_state::features::kMarkHttpAsParameterDangerWarning}};
Emily Starkbafa9062017-12-27 15:22:46979
Caroline Risinga14701de2019-03-18 18:54:55980// The "Enabled" state for this feature is "0" and representing setting A.
981const FeatureEntry::FeatureParam kTabHoverCardsSettingB[] = {
982 {features::kTabHoverCardsFeatureParameterName, "1"}};
983const FeatureEntry::FeatureParam kTabHoverCardsSettingC[] = {
984 {features::kTabHoverCardsFeatureParameterName, "2"}};
985
986const FeatureEntry::FeatureVariation kTabHoverCardsFeatureVariations[] = {
987 {"B", kTabHoverCardsSettingB, base::size(kTabHoverCardsSettingB), nullptr},
988 {"C", kTabHoverCardsSettingC, base::size(kTabHoverCardsSettingC), nullptr}};
989
Emily Starkbafa9062017-12-27 15:22:46990const FeatureEntry::FeatureVariation kMarkHttpAsFeatureVariations[] = {
991 {"(mark as actively dangerous)", kMarkHttpAsDangerous,
Joe DeBlasio20e01fd2018-12-20 19:59:30992 base::size(kMarkHttpAsDangerous), nullptr},
Emily Starkbafa9062017-12-27 15:22:46993 {"(mark with a Not Secure warning and dangerous on form edits)",
994 kMarkHttpAsWarningAndDangerousOnFormEdits,
Livvie Lin15ed6e2e2019-10-08 20:00:56995 base::size(kMarkHttpAsWarningAndDangerousOnFormEdits), nullptr},
996 {"(mark with a grey triangle icon)", kMarkHttpAsDangerWarning,
997 base::size(kMarkHttpAsDangerWarning), nullptr}};
Emily Starkbafa9062017-12-27 15:22:46998
Anthony Vallee-Dubois265c5692018-06-01 15:57:14999#if defined(OS_ANDROID)
1000const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishHeuristic[] = {
1001 {language::kOverrideModelKey, language::kOverrideModelHeuristicValue},
1002 {language::kEnforceRankerKey, "false"}};
1003const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishGeo[] = {
1004 {language::kOverrideModelKey, language::kOverrideModelGeoValue},
1005 {language::kEnforceRankerKey, "false"}};
Alexandre Frechettebbcefff2018-11-06 18:44:581006const FeatureEntry::FeatureParam kTranslateForceTriggerOnEnglishBackoff[] = {
1007 {language::kOverrideModelKey, language::kOverrideModelDefaultValue},
1008 {language::kEnforceRankerKey, "false"},
1009 {language::kBackoffThresholdKey, "0"}};
Anthony Vallee-Dubois265c5692018-06-01 15:57:141010const FeatureEntry::FeatureVariation
1011 kTranslateForceTriggerOnEnglishVariations[] = {
1012 {"(Heuristic model without Ranker)",
1013 kTranslateForceTriggerOnEnglishHeuristic,
Avi Drissmand251e912018-12-26 15:46:371014 base::size(kTranslateForceTriggerOnEnglishHeuristic), nullptr},
Anthony Vallee-Dubois265c5692018-06-01 15:57:141015 {"(Geo model without Ranker)", kTranslateForceTriggerOnEnglishGeo,
Avi Drissmand251e912018-12-26 15:46:371016 base::size(kTranslateForceTriggerOnEnglishGeo), nullptr},
Alexandre Frechettebbcefff2018-11-06 18:44:581017 {"(Zero threshold)", kTranslateForceTriggerOnEnglishBackoff,
Avi Drissmand251e912018-12-26 15:46:371018 base::size(kTranslateForceTriggerOnEnglishBackoff), nullptr}};
Jinsuk Kim68c30342019-07-11 08:09:371019
1020const FeatureEntry::FeatureParam kOverscrollHistoryNavigationBottomSheet[] = {
1021 {"overscroll_history_navigation_bottom_sheet", "true"}};
1022const FeatureEntry::FeatureVariation kOverscrollHistoryNavigationVariations[] =
1023 {{"Navigation sheet", kOverscrollHistoryNavigationBottomSheet,
1024 base::size(kOverscrollHistoryNavigationBottomSheet), nullptr}};
Anthony Vallee-Dubois265c5692018-06-01 15:57:141025#endif // defined(OS_ANDROID)
1026
Sebastien Marchandd33f7dc2018-06-22 22:07:061027#if !defined(OS_ANDROID)
Francois Doraycd3a0962019-10-11 20:13:331028const FeatureEntry::FeatureParam kTabFreeze_FreezeNoUnfreeze[] = {
Sebastien Marchandf0e2d8fa2018-09-18 19:55:411029 {resource_coordinator::
1030 kProactiveTabFreezeAndDiscard_ShouldProactivelyDiscardParam,
Francois Doraycd3a0962019-10-11 20:13:331031 "false"},
1032 {resource_coordinator::
1033 kProactiveTabFreezeAndDiscard_ShouldPeriodicallyUnfreezeParam,
Sebastien Marchandd33f7dc2018-06-22 22:07:061034 "false"}};
Francois Doraycd3a0962019-10-11 20:13:331035const FeatureEntry::FeatureParam kTabFreeze_FreezeWithUnfreeze[] = {
1036 {resource_coordinator::
1037 kProactiveTabFreezeAndDiscard_ShouldProactivelyDiscardParam,
1038 "false"},
1039 {resource_coordinator::
1040 kProactiveTabFreezeAndDiscard_ShouldPeriodicallyUnfreezeParam,
1041 "true"}};
1042const FeatureEntry::FeatureVariation kTabFreezeVariations[] = {
1043 {"Freeze - No Unfreeze", kTabFreeze_FreezeNoUnfreeze,
1044 base::size(kTabFreeze_FreezeNoUnfreeze), nullptr},
1045 {"Freeze - Unfreeze 10 seconds every 15 minutes",
1046 kTabFreeze_FreezeWithUnfreeze, base::size(kTabFreeze_FreezeWithUnfreeze),
1047 nullptr}};
Sebastien Marchandd33f7dc2018-06-22 22:07:061048#endif
1049
Dan Harrington541db9e2018-07-30 18:36:301050#if defined(OS_ANDROID)
Cathy Lic450408f2018-08-02 20:32:541051const FeatureEntry::FeatureParam kExploreSitesExperimental = {
1052 chrome::android::explore_sites::kExploreSitesVariationParameterName,
1053 chrome::android::explore_sites::kExploreSitesVariationExperimental};
Cathy Li170e86c2019-01-03 19:04:521054const FeatureEntry::FeatureParam kExploreSitesPersonalized = {
1055 chrome::android::explore_sites::kExploreSitesVariationParameterName,
1056 chrome::android::explore_sites::kExploreSitesVariationPersonalized};
Angel Alvarez8e7b7912019-07-01 19:36:071057const FeatureEntry::FeatureParam kExploreSitesDenseTitleBottom[] = {
1058 {chrome::android::explore_sites::kExploreSitesVariationParameterName,
1059 chrome::android::explore_sites::kExploreSitesVariationMostLikelyTile},
1060 {chrome::android::explore_sites::kExploreSitesDenseVariationParameterName,
1061 chrome::android::explore_sites::
1062 kExploreSitesDenseVariationDenseTitleBottom},
1063 {chrome::android::explore_sites::
1064 kExploreSitesMostLikelyVariationParameterName,
1065 chrome::android::explore_sites::kExploreSitesMostLikelyVariationIconDots}};
1066const FeatureEntry::FeatureParam kExploreSitesDenseTitleRight[] = {
1067 {chrome::android::explore_sites::kExploreSitesVariationParameterName,
1068 chrome::android::explore_sites::kExploreSitesVariationMostLikelyTile},
1069 {chrome::android::explore_sites::kExploreSitesDenseVariationParameterName,
1070 chrome::android::explore_sites::
1071 kExploreSitesDenseVariationDenseTitleRight},
1072 {chrome::android::explore_sites::
1073 kExploreSitesMostLikelyVariationParameterName,
1074 chrome::android::explore_sites::kExploreSitesMostLikelyVariationIconDots}};
Cathy Liaffb978a2019-05-21 22:26:221075const FeatureEntry::FeatureParam kExploreSitesIconArrow[] = {
1076 {chrome::android::explore_sites::kExploreSitesVariationParameterName,
1077 chrome::android::explore_sites::kExploreSitesVariationMostLikelyTile},
1078 {chrome::android::explore_sites::
1079 kExploreSitesMostLikelyVariationParameterName,
1080 chrome::android::explore_sites::
1081 kExploreSitesMostLikelyVariationIconArrow}};
1082const FeatureEntry::FeatureParam kExploreSitesIconDots[] = {
1083 {chrome::android::explore_sites::kExploreSitesVariationParameterName,
1084 chrome::android::explore_sites::kExploreSitesVariationMostLikelyTile},
1085 {chrome::android::explore_sites::
1086 kExploreSitesMostLikelyVariationParameterName,
1087 chrome::android::explore_sites::kExploreSitesMostLikelyVariationIconDots}};
1088const FeatureEntry::FeatureParam kExploreSitesIconGrouped[] = {
1089 {chrome::android::explore_sites::kExploreSitesVariationParameterName,
1090 chrome::android::explore_sites::kExploreSitesVariationMostLikelyTile},
1091 {chrome::android::explore_sites::
1092 kExploreSitesMostLikelyVariationParameterName,
1093 chrome::android::explore_sites::
1094 kExploreSitesMostLikelyVariationIconGrouped}};
Sebastienffb61052019-08-21 01:20:421095const FeatureEntry::FeatureParam kExploreSitesWithGamesTop[] = {
1096 {chrome::android::explore_sites::kExploreSitesVariationParameterName,
1097 chrome::android::explore_sites::kExploreSitesVariationMostLikelyTile},
1098 {chrome::android::explore_sites::
1099 kExploreSitesMostLikelyVariationParameterName,
1100 chrome::android::explore_sites::kExploreSitesMostLikelyVariationIconDots},
1101 {chrome::android::explore_sites::
1102 kExploreSitesHeadersExperimentParameterName,
1103 chrome::android::explore_sites::kExploreSitesGamesTopExperiment}};
Cathy Lic450408f2018-08-02 20:32:541104const FeatureEntry::FeatureVariation kExploreSitesVariations[] = {
Cathy Li170e86c2019-01-03 19:04:521105 {"Experimental", &kExploreSitesExperimental, 1, nullptr},
Cathy Liaffb978a2019-05-21 22:26:221106 {"Personalized", &kExploreSitesPersonalized, 1, nullptr},
1107 {"Arrow Icon", kExploreSitesIconArrow, base::size(kExploreSitesIconArrow),
1108 nullptr},
1109 {"Dots Icon", kExploreSitesIconDots, base::size(kExploreSitesIconDots),
1110 nullptr},
1111 {"Grouped Icon", kExploreSitesIconGrouped,
Angel Alvarez8e7b7912019-07-01 19:36:071112 base::size(kExploreSitesIconGrouped), nullptr},
Sebastienffb61052019-08-21 01:20:421113 {"Games Top", kExploreSitesWithGamesTop,
1114 base::size(kExploreSitesWithGamesTop), nullptr},
Angel Alvarez8e7b7912019-07-01 19:36:071115 {"Dense Title Bottom", kExploreSitesDenseTitleBottom,
1116 base::size(kExploreSitesDenseTitleBottom), nullptr},
1117 {"Dense Title Right", kExploreSitesDenseTitleRight,
1118 base::size(kExploreSitesDenseTitleRight), nullptr}};
Donn Denman63d169f2019-03-08 23:34:501119
1120const FeatureEntry::FeatureParam kSimplifiedServerAllCocaCards = {
1121 contextual_search::kContextualCardsVersionParamName,
1122 contextual_search::kContextualCardsSimplifiedServerWithDiagnosticChar};
1123const FeatureEntry::FeatureVariation kSimplifiedServerVariations[] = {
1124 {"and allow all CoCa cards", &kSimplifiedServerAllCocaCards, 1, nullptr}};
Donn Denman6be77d42019-05-04 15:55:421125
Donn Denman1dc335772019-08-23 17:59:361126const FeatureEntry::FeatureParam kLongpressResolvePreserveTap = {
1127 contextual_search::kLongpressResolveParamName,
1128 contextual_search::kLongpressResolvePreserveTap};
Donn Denman6be77d42019-05-04 15:55:421129const FeatureEntry::FeatureVariation kLongpressResolveVariations[] = {
Donn Denman1dc335772019-08-23 17:59:361130 {"and preserve Tap behavior", &kLongpressResolvePreserveTap, 1, nullptr},
Donn Denman6be77d42019-05-04 15:55:421131};
1132
Dan Harrington541db9e2018-07-30 18:36:301133#endif // defined(OS_ANDROID)
1134
Ella Gebee81c92018-08-14 15:51:091135const FeatureEntry::FeatureParam kResamplingInputEventsLSQEnabled[] = {
Axel Antoine3cef0da22019-07-09 23:33:481136 {"predictor", ui::input_prediction::kScrollPredictorNameLsq}};
Ella Gebee81c92018-08-14 15:51:091137const FeatureEntry::FeatureParam kResamplingInputEventsKalmanEnabled[] = {
Axel Antoine3cef0da22019-07-09 23:33:481138 {"predictor", ui::input_prediction::kScrollPredictorNameKalman}};
Luis Sanchez Padillacd25ee22019-09-25 17:57:011139const FeatureEntry::FeatureParam
1140 kResamplingInputEventsKalmanHeuristicEnabled[] = {
1141 {"predictor",
1142 ui::input_prediction::kScrollPredictorNameKalmanHeuristic}};
Axel Antoine3cef0da22019-07-09 23:33:481143const FeatureEntry::FeatureParam kResamplingInputEventsLinearFirstEnabled[] = {
1144 {"predictor", ui::input_prediction::kScrollPredictorNameLinearFirst}};
1145const FeatureEntry::FeatureParam kResamplingInputEventsLinearSecondEnabled[] = {
1146 {"predictor", ui::input_prediction::kScrollPredictorNameLinearSecond}};
Ella Ge33bb1d4d2019-08-21 17:31:291147const FeatureEntry::FeatureParam
1148 kResamplingInputEventsLinearResamplingEnabled[] = {
1149 {"predictor",
1150 ui::input_prediction::kScrollPredictorNameLinearResampling}};
Luis Sanchez Padilla61827382019-06-24 20:20:501151
Ella Gebee81c92018-08-14 15:51:091152const FeatureEntry::FeatureVariation kResamplingInputEventsFeatureVariations[] =
Axel Antoine3cef0da22019-07-09 23:33:481153 {{ui::input_prediction::kScrollPredictorNameLsq,
1154 kResamplingInputEventsLSQEnabled,
Ella Gebee81c92018-08-14 15:51:091155 base::size(kResamplingInputEventsLSQEnabled), nullptr},
Axel Antoine3cef0da22019-07-09 23:33:481156 {ui::input_prediction::kScrollPredictorNameKalman,
1157 kResamplingInputEventsKalmanEnabled,
Luis Sanchez Padilla61827382019-06-24 20:20:501158 base::size(kResamplingInputEventsKalmanEnabled), nullptr},
Luis Sanchez Padillacd25ee22019-09-25 17:57:011159 {ui::input_prediction::kScrollPredictorNameKalmanHeuristic,
1160 kResamplingInputEventsKalmanHeuristicEnabled,
1161 base::size(kResamplingInputEventsKalmanHeuristicEnabled), nullptr},
Axel Antoine3cef0da22019-07-09 23:33:481162 {ui::input_prediction::kScrollPredictorNameLinearFirst,
1163 kResamplingInputEventsLinearFirstEnabled,
1164 base::size(kResamplingInputEventsLinearFirstEnabled), nullptr},
1165 {ui::input_prediction::kScrollPredictorNameLinearSecond,
1166 kResamplingInputEventsLinearSecondEnabled,
Ella Ge33bb1d4d2019-08-21 17:31:291167 base::size(kResamplingInputEventsLinearSecondEnabled), nullptr},
1168 {ui::input_prediction::kScrollPredictorNameLinearResampling,
1169 kResamplingInputEventsLinearResamplingEnabled,
1170 base::size(kResamplingInputEventsLinearResamplingEnabled), nullptr}};
Ella Gebee81c92018-08-14 15:51:091171
Axel Antoine12df71182019-07-25 18:11:211172const FeatureEntry::FeatureParam kFilteringPredictionEmptyFilterEnabled[] = {
1173 {"filter", ui::input_prediction::kFilterNameEmpty}};
Axel Antoine954fc3e2019-08-13 21:42:541174const FeatureEntry::FeatureParam kFilteringPredictionOneEuroFilterEnabled[] = {
1175 {"filter", ui::input_prediction::kFilterNameOneEuro}};
Axel Antoine12df71182019-07-25 18:11:211176
1177const FeatureEntry::FeatureVariation kFilteringPredictionFeatureVariations[] = {
1178 {ui::input_prediction::kFilterNameEmpty,
1179 kFilteringPredictionEmptyFilterEnabled,
Axel Antoine954fc3e2019-08-13 21:42:541180 base::size(kFilteringPredictionEmptyFilterEnabled), nullptr},
1181 {ui::input_prediction::kFilterNameOneEuro,
1182 kFilteringPredictionOneEuroFilterEnabled,
1183 base::size(kFilteringPredictionOneEuroFilterEnabled), nullptr}};
Axel Antoine12df71182019-07-25 18:11:211184
Jian Liade82832018-09-06 22:31:411185#if defined(OS_ANDROID)
1186const FeatureEntry::FeatureParam kBottomOfflineIndicatorEnabled[] = {
1187 {"bottom_offline_indicator", "true"}};
1188
1189const FeatureEntry::FeatureVariation kOfflineIndicatorFeatureVariations[] = {
1190 {"(bottom)", kBottomOfflineIndicatorEnabled,
1191 base::size(kBottomOfflineIndicatorEnabled), nullptr}};
1192#endif // OS_ANDROID
1193
Matt Simmons2048b2a2018-12-20 20:12:561194#if defined(OS_ANDROID)
Matt Simmonsce314962019-08-02 17:55:221195const FeatureEntry::FeatureParam kTabSwitcherOnReturn_Immediate[] = {
1196 {"tab_switcher_on_return_time_ms", "0"}};
1197const FeatureEntry::FeatureParam kTabSwitcherOnReturn_1Minute[] = {
1198 {"tab_switcher_on_return_time_ms", "60000"}};
Matt Simmons2048b2a2018-12-20 20:12:561199const FeatureEntry::FeatureParam kTabSwitcherOnReturn_30Minutes[] = {
1200 {"tab_switcher_on_return_time_ms", "1800000"}};
1201const FeatureEntry::FeatureParam kTabSwitcherOnReturn_60Minutes[] = {
1202 {"tab_switcher_on_return_time_ms", "3600000"}};
1203const FeatureEntry::FeatureVariation kTabSwitcherOnReturnVariations[] = {
Matt Simmonsce314962019-08-02 17:55:221204 {"Immediate", kTabSwitcherOnReturn_Immediate,
1205 base::size(kTabSwitcherOnReturn_30Minutes), nullptr},
1206 {"1 minute", kTabSwitcherOnReturn_1Minute,
1207 base::size(kTabSwitcherOnReturn_30Minutes), nullptr},
Matt Simmons2048b2a2018-12-20 20:12:561208 {"30 minutes", kTabSwitcherOnReturn_30Minutes,
1209 base::size(kTabSwitcherOnReturn_30Minutes), nullptr},
1210 {"60 minutes", kTabSwitcherOnReturn_60Minutes,
1211 base::size(kTabSwitcherOnReturn_60Minutes), nullptr},
1212};
1213#endif // OS_ANDROID
1214
Yue Zhangd7013b532019-06-20 00:06:221215#if defined(OS_ANDROID)
1216const FeatureEntry::FeatureParam kTabGridLayoutAndroid_NewTabVariation[] = {
1217 {"tab_grid_layout_android_new_tab", "NewTabVariation"}};
1218
1219const FeatureEntry::FeatureVariation kTabGridLayoutAndroidVariations[] = {
1220 {"New Tab Variation", kTabGridLayoutAndroid_NewTabVariation,
1221 base::size(kTabGridLayoutAndroid_NewTabVariation), nullptr},
1222};
Mia Glaese57c6b192019-08-05 20:40:401223const FeatureEntry::FeatureParam kStartSurfaceAndroid_SingleSurface[] = {
1224 {"start_surface_variation", "single"}};
1225
1226const FeatureEntry::FeatureParam kStartSurfaceAndroid_TwoPanesSurface[] = {
1227 {"start_surface_variation", "twopanes"}};
1228
Mia Glaese4595eb82019-08-30 18:07:201229const FeatureEntry::FeatureParam kStartSurfaceAndroid_Toolbar[] = {
1230 {"start_surface_variation", "toolbar"}};
1231
Matt Simmons5ac41b12019-09-16 23:51:561232const FeatureEntry::FeatureParam kStartSurfaceAndroid_TasksOnly[] = {
1233 {"start_surface_variation", "tasksonly"}};
1234
Mia Glaese57c6b192019-08-05 20:40:401235const FeatureEntry::FeatureVariation kStartSurfaceAndroidVariations[] = {
1236 {"Single Surface", kStartSurfaceAndroid_SingleSurface,
1237 base::size(kStartSurfaceAndroid_SingleSurface), nullptr},
1238 {"Two Panes Surface", kStartSurfaceAndroid_TwoPanesSurface,
Mia Glaese4595eb82019-08-30 18:07:201239 base::size(kStartSurfaceAndroid_TwoPanesSurface), nullptr},
1240 {"Start Surface Toolbar", kStartSurfaceAndroid_Toolbar,
Matt Simmons5ac41b12019-09-16 23:51:561241 base::size(kStartSurfaceAndroid_Toolbar), nullptr},
1242 {"Tasks Only", kStartSurfaceAndroid_TasksOnly,
1243 base::size(kStartSurfaceAndroid_TasksOnly), nullptr}};
Yue Zhangd7013b532019-06-20 00:06:221244#endif // OS_ANDROID
1245
Caitlin Fischer37e01232019-05-24 13:05:451246#if defined(OS_ANDROID)
1247const FeatureEntry::FeatureParam
1248 kAutofillUseMobileLabelDisambiguationShowAll[] = {
1249 {autofill::features::kAutofillUseMobileLabelDisambiguationParameterName,
1250 autofill::features::
1251 kAutofillUseMobileLabelDisambiguationParameterShowAll}};
1252const FeatureEntry::FeatureParam
1253 kAutofillUseMobileLabelDisambiguationShowOne[] = {
1254 {autofill::features::kAutofillUseMobileLabelDisambiguationParameterName,
1255 autofill::features::
1256 kAutofillUseMobileLabelDisambiguationParameterShowOne}};
1257
1258const FeatureEntry::FeatureVariation
1259 kAutofillUseMobileLabelDisambiguationVariations[] = {
1260 {"(show all)", kAutofillUseMobileLabelDisambiguationShowAll,
1261 base::size(kAutofillUseMobileLabelDisambiguationShowAll), nullptr},
1262 {"(show one)", kAutofillUseMobileLabelDisambiguationShowOne,
1263 base::size(kAutofillUseMobileLabelDisambiguationShowOne), nullptr}};
1264#endif // defined(OS_ANDROID)
1265
Scott Littledf79081b2019-05-29 23:03:391266const FeatureEntry::FeatureParam kLazyFrameLoadingAutomatic[] = {
1267 {"automatic-lazy-load-frames-enabled", "true"},
Scott Little0fc50ca2019-08-08 16:27:471268 {"restrict-lazy-load-frames-to-data-saver-only", "false"},
Scott Littledf79081b2019-05-29 23:03:391269};
1270
1271const FeatureEntry::FeatureVariation kLazyFrameLoadingVariations[] = {
1272 {"(Automatically lazily load where safe even if not marked "
1273 "'loading=lazy')",
1274 kLazyFrameLoadingAutomatic, base::size(kLazyFrameLoadingAutomatic),
1275 nullptr}};
1276
1277const FeatureEntry::FeatureParam kLazyImageLoadingAutomatic[] = {
1278 {"automatic-lazy-load-images-enabled", "true"},
Scott Little0fc50ca2019-08-08 16:27:471279 {"restrict-lazy-load-images-to-data-saver-only", "false"},
Scott Littledf79081b2019-05-29 23:03:391280};
1281
1282const FeatureEntry::FeatureVariation kLazyImageLoadingVariations[] = {
1283 {"(Automatically lazily load where safe even if not marked "
1284 "'loading=lazy')",
1285 kLazyImageLoadingAutomatic, base::size(kLazyImageLoadingAutomatic),
1286 nullptr}};
1287
Xing Liu1919ec232019-07-22 20:38:041288const FeatureEntry::Choice kNotificationSchedulerChoices[] = {
1289 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
1290 {flag_descriptions::
1291 kNotificationSchedulerImmediateBackgroundTaskDescription,
1292 notifications::switches::kNotificationSchedulerImmediateBackgroundTask,
1293 ""},
1294};
1295
Brandon Wylieb57a5dc2019-08-14 02:13:111296#if defined(OS_ANDROID)
Theresa Wellingtonc412e9b2019-09-23 18:16:301297const FeatureEntry::FeatureParam kAndroidNightModeDefaultToLightConstant[] = {
1298 {"default_light_theme", "true"}};
1299const FeatureEntry::FeatureVariation kAndroidNightModeFeatureVariations[] = {
1300 {"(default to light theme)", kAndroidNightModeDefaultToLightConstant,
1301 base::size(kAndroidNightModeDefaultToLightConstant), nullptr}};
1302
Brandon Wylieb57a5dc2019-08-14 02:13:111303const FeatureEntry::FeatureParam
1304 kOmniboxSearchEngineLogoRoundedEdgesVariationConstant[] = {
1305 {"rounded_edges", "true"}};
Brandon Wylie75195f352019-09-05 00:13:161306const FeatureEntry::FeatureParam
1307 kOmniboxSearchEngineLogoLoupeEverywhereVariationConstant[] = {
1308 {"loupe_everywhere", "true"}};
Brandon Wylieb57a5dc2019-08-14 02:13:111309const FeatureEntry::FeatureVariation
1310 kOmniboxSearchEngineLogoFeatureVariations[] = {
1311 {"(rounded edges)",
1312 kOmniboxSearchEngineLogoRoundedEdgesVariationConstant,
1313 base::size(kOmniboxSearchEngineLogoRoundedEdgesVariationConstant),
Brandon Wylie75195f352019-09-05 00:13:161314 nullptr},
1315 {"(loupe everywhere)",
1316 kOmniboxSearchEngineLogoLoupeEverywhereVariationConstant,
1317 base::size(kOmniboxSearchEngineLogoLoupeEverywhereVariationConstant),
Brandon Wylieb57a5dc2019-08-14 02:13:111318 nullptr}};
1319#endif // OS_ANDROID
1320
Andy Paicu4d675fe2019-08-22 15:30:061321#if defined(OS_ANDROID)
1322const FeatureEntry::FeatureParam kQuietNotificationPromptsHeadsUpNotifications =
1323 {kQuietNotificationPromptsUIFlavourParameterName,
1324 kQuietNotificationPromptsHeadsUpNotification};
1325const FeatureEntry::FeatureParam kQuietNotificationPromptsMiniInfobars = {
1326 kQuietNotificationPromptsUIFlavourParameterName,
1327 kQuietNotificationPromptsMiniInfobar};
1328// The "default" option that only shows "Enabled" will be the quiet notification
1329// option, the rest are listed explicitly here.
1330const FeatureEntry::FeatureVariation kQuietNotificationPromptsVariations[] = {
1331 {"(heads-up notifications)", &kQuietNotificationPromptsHeadsUpNotifications,
1332 1, nullptr},
1333 {"(mini-infobars)", &kQuietNotificationPromptsMiniInfobars, 1, nullptr},
1334};
Kamila2724bd702019-09-10 16:08:581335#else // OS_ANDROID
1336const FeatureEntry::FeatureParam kQuietNotificationPromptsStaticIcons = {
1337 kQuietNotificationPromptsUIFlavourParameterName,
1338 kQuietNotificationPromptsStaticIcon};
1339const FeatureEntry::FeatureParam kQuietNotificationPromptsAnimatedIcons = {
1340 kQuietNotificationPromptsUIFlavourParameterName,
1341 kQuietNotificationPromptsAnimatedIcon};
1342// The "default" option that only shows "Enabled" will be the static icon.
1343const FeatureEntry::FeatureVariation kQuietNotificationPromptsVariations[] = {
1344 {"(static-icon)", &kQuietNotificationPromptsStaticIcons, 1, nullptr},
1345 {"(animated-icon)", &kQuietNotificationPromptsAnimatedIcons, 1, nullptr},
1346};
1347#endif // !OS_ANDROID
Andy Paicu4d675fe2019-08-22 15:30:061348
Arthur Hemery2fbd78e2019-10-17 18:31:191349// TODO(crbug.com/991082,1015377): Remove after proper support for back-forward
1350// cache is implemented.
1351const FeatureEntry::FeatureParam kBackForwardCache_ExtendedSupport[] = {
Alexander Timinc55db0d2019-10-18 17:09:241352 {"service_worker_supported", "true"},
1353 {"geolocation_supported", "true"}};
Alexander Timin6d24bd2f2019-09-17 19:52:031354
1355const FeatureEntry::FeatureVariation kBackForwardCacheVariations[] = {
Arthur Hemery2fbd78e2019-10-17 18:31:191356 {"experimental extended supported feature set",
1357 kBackForwardCache_ExtendedSupport, 1, nullptr},
Alexander Timin6d24bd2f2019-09-17 19:52:031358};
1359
Charles Zhao9d1b8def2019-10-16 22:32:391360#if defined(OS_CHROMEOS)
Charles Zhao7e5fd0e2019-10-20 23:20:511361const FeatureEntry::Choice kEnableCrOSActionRecorderChoices[] = {
1362 {flags_ui::kGenericExperimentChoiceDefault, "", ""},
1363 {ash::switches::kCrOSActionRecorderWithHash,
1364 ash::switches::kEnableCrOSActionRecorder,
1365 ash::switches::kCrOSActionRecorderWithHash},
1366 {ash::switches::kCrOSActionRecorderWithoutHash,
1367 ash::switches::kEnableCrOSActionRecorder,
1368 ash::switches::kCrOSActionRecorderWithoutHash},
1369};
Charles Zhao9d1b8def2019-10-16 22:32:391370#endif // defined(OS_CHROMEOS)
1371
[email protected]4bc5050c2010-11-18 17:55:541372// RECORDING USER METRICS FOR FLAGS:
1373// -----------------------------------------------------------------------------
asvitkineab33c922016-08-30 20:34:191374// The first line of the entry is the internal name.
[email protected]4bc5050c2010-11-18 17:55:541375//
asvitkinee9ed35e2015-10-14 22:33:591376// To add a new entry, add to the end of kFeatureEntries. There are two
1377// distinct types of entries:
1378// . SINGLE_VALUE: entry is either on or off. Use the SINGLE_VALUE_TYPE
[email protected]8a6ff28d2010-12-02 16:35:191379// macro for this type supplying the command line to the macro.
[email protected]28e35af2011-02-09 12:56:221380// . MULTI_VALUE: a list of choices, the first of which should correspond to a
Caitlin Fischer37e01232019-05-24 13:05:451381// deactivated state for this lab (i.e. no command line option). To specify
asvitkinee9ed35e2015-10-14 22:33:591382// this type of entry use the macro MULTI_VALUE_TYPE supplying it the
[email protected]28e35af2011-02-09 12:56:221383// array of choices.
asvitkinee9ed35e2015-10-14 22:33:591384// See the documentation of FeatureEntry for details on the fields.
[email protected]8a6ff28d2010-12-02 16:35:191385//
asvitkineab33c922016-08-30 20:34:191386// Usage of about:flags is logged on startup via the "Launch.FlagsAtStartup"
1387// UMA histogram. This histogram shows the number of startups with a given flag
1388// enabled. If you'd like to see user counts instead, make sure to switch to
Caitlin Fischer37e01232019-05-24 13:05:451389// "count users" view on the dashboard. When adding new entries, the enum
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:251390// "LoginCustomFlags" must be updated in histograms/enums.xml. See note in
Caitlin Fischer37e01232019-05-24 13:05:451391// enums.xml and don't forget to run AboutFlagsHistogramTest unit test to
1392// calculate and verify checksum.
[email protected]4b66a7d2014-08-15 17:13:311393//
[email protected]8a6ff28d2010-12-02 16:35:191394// When adding a new choice, add it to the end of the list.
asvitkinee9ed35e2015-10-14 22:33:591395const FeatureEntry kFeatureEntries[] = {
vabr0215a8e2017-03-28 12:47:341396 {"ignore-gpu-blacklist", flag_descriptions::kIgnoreGpuBlacklistName,
1397 flag_descriptions::kIgnoreGpuBlacklistDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471398 SINGLE_VALUE_TYPE(switches::kIgnoreGpuBlacklist)},
vabr0215a8e2017-03-28 12:47:341399 {"disable-accelerated-2d-canvas",
1400 flag_descriptions::kAccelerated2dCanvasName,
1401 flag_descriptions::kAccelerated2dCanvasDescription, kOsAll,
flackr88fd5122015-11-25 04:44:501402 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAccelerated2dCanvas)},
brettw5f9c1642017-05-14 17:12:481403 {"composited-layer-borders", flag_descriptions::kCompositedLayerBordersName,
vabr0215a8e2017-03-28 12:47:341404 flag_descriptions::kCompositedLayerBordersDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471405 SINGLE_VALUE_TYPE(cc::switches::kShowCompositedLayerBorders)},
Daniele Castagna74ddb9c2018-06-21 22:59:021406 {"overlay-strategies", flag_descriptions::kOverlayStrategiesName,
1407 flag_descriptions::kOverlayStrategiesDescription, kOsAll,
1408 MULTI_VALUE_TYPE(kOverlayStrategiesChoices)},
Daniele Castagna0fead93e2018-01-10 20:40:291409 {"tint-gl-composited-content",
1410 flag_descriptions::kTintGlCompositedContentName,
1411 flag_descriptions::kTintGlCompositedContentDescription, kOsAll,
1412 SINGLE_VALUE_TYPE(switches::kTintGlCompositedContent)},
vabr0215a8e2017-03-28 12:47:341413 {"ui-disable-partial-swap", flag_descriptions::kUiPartialSwapName,
1414 flag_descriptions::kUiPartialSwapDescription, kOsAll,
reveman9413cff2017-01-18 03:05:481415 SINGLE_DISABLE_VALUE_TYPE(switches::kUIDisablePartialSwap)},
vabr0215a8e2017-03-28 12:47:341416 {"disable-webrtc-hw-decoding", flag_descriptions::kWebrtcHwDecodingName,
1417 flag_descriptions::kWebrtcHwDecodingDescription, kOsAndroid | kOsCrOS,
flackr88fd5122015-11-25 04:44:501418 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWDecoding)},
vabr0215a8e2017-03-28 12:47:341419 {"disable-webrtc-hw-encoding", flag_descriptions::kWebrtcHwEncodingName,
1420 flag_descriptions::kWebrtcHwEncodingDescription, kOsAndroid | kOsCrOS,
braveyaoe29be162017-01-17 18:53:351421 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableWebRtcHWEncoding)},
Aran Gilman766c2ad2019-04-18 00:15:411422#if !defined(OS_ANDROID)
1423 {"enable-reader-mode", flag_descriptions::kEnableReaderModeName,
1424 flag_descriptions::kEnableReaderModeDescription, kOsDesktop,
Aran Gilmanc9a22c572019-09-06 16:47:501425 FEATURE_VALUE_TYPE(dom_distiller::kReaderMode)},
Aran Gilman766c2ad2019-04-18 00:15:411426#endif // !defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:341427 {"enable-webrtc-hw-h264-encoding",
1428 flag_descriptions::kWebrtcHwH264EncodingName,
1429 flag_descriptions::kWebrtcHwH264EncodingDescription, kOsAndroid | kOsCrOS,
Antonio Gomes76a8ec62019-09-03 23:20:171430 FEATURE_VALUE_TYPE(blink::features::kWebRtcHWH264Encoding)},
braveyao96c9b342017-04-25 18:23:191431 {"enable-webrtc-hw-vp8-encoding",
1432 flag_descriptions::kWebrtcHwVP8EncodingName,
1433 flag_descriptions::kWebrtcHwVP8EncodingDescription, kOsAndroid | kOsCrOS,
Antonio Gomes76a8ec62019-09-03 23:20:171434 FEATURE_VALUE_TYPE(blink::features::kWebRtcHWVP8Encoding)},
Tomas Popela253a5832019-01-14 17:22:101435#if defined(WEBRTC_USE_PIPEWIRE)
1436 {"enable-webrtc-pipewire-capturer",
1437 flag_descriptions::kWebrtcPipeWireCapturerName,
Elly Fong-Jones94fc8632019-08-14 18:23:031438 flag_descriptions::kWebrtcPipeWireCapturerDescription, kOsLinux,
Tomas Popela253a5832019-01-14 17:22:101439 FEATURE_VALUE_TYPE(features::kWebRtcPipeWireCapturer)},
1440#endif // defined(WEBRTC_USE_PIPEWIRE)
Elad Alon85e0d0be2018-06-26 10:38:371441#if !defined(OS_ANDROID)
1442 {"enable-webrtc-remote-event-log",
1443 flag_descriptions::kWebRtcRemoteEventLogName,
1444 flag_descriptions::kWebRtcRemoteEventLogDescription, kOsDesktop,
1445 FEATURE_VALUE_TYPE(features::kWebRtcRemoteEventLog)},
1446#endif
vabr0215a8e2017-03-28 12:47:341447 {"enable-webrtc-srtp-aes-gcm", flag_descriptions::kWebrtcSrtpAesGcmName,
1448 flag_descriptions::kWebrtcSrtpAesGcmDescription, kOsAll,
jbauchb97822022017-03-23 21:57:071449 SINGLE_VALUE_TYPE(switches::kEnableWebRtcSrtpAesGcm)},
vabr0215a8e2017-03-28 12:47:341450 {"enable-webrtc-stun-origin", flag_descriptions::kWebrtcStunOriginName,
1451 flag_descriptions::kWebrtcStunOriginDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471452 SINGLE_VALUE_TYPE(switches::kEnableWebRtcStunOrigin)},
Alex Loikob5fb1282018-08-14 10:04:401453 {"enable-webrtc-hybrid-agc", flag_descriptions::kWebrtcHybridAgcName,
1454 flag_descriptions::kWebrtcHybridAgcDescription, kOsAll,
1455 FEATURE_VALUE_TYPE(features::kWebRtcHybridAgc)},
Niels Möller090866a2018-02-13 10:55:031456 {"enable-webrtc-new-encode-cpu-load-estimator",
1457 flag_descriptions::kWebrtcNewEncodeCpuLoadEstimatorName,
1458 flag_descriptions::kWebrtcNewEncodeCpuLoadEstimatorDescription, kOsAll,
1459 FEATURE_VALUE_TYPE(media::kNewEncodeCpuLoadEstimator)},
Qingsi Wangec2dbf942018-11-03 05:33:041460 {"enable-webrtc-hide-local-ips-with-mdns",
1461 flag_descriptions::kWebrtcHideLocalIpsWithMdnsName,
1462 flag_descriptions::kWebrtcHideLocalIpsWithMdnsDecription, kOsDesktop,
Antonio Gomesb4718572019-09-11 02:55:481463 FEATURE_VALUE_TYPE(blink::features::kWebRtcHideLocalIpsWithMdns)},
ymalik3edbd8d02016-03-16 23:37:011464#if defined(OS_ANDROID)
Sarath Singapati83aef1c2017-11-16 15:54:521465 {"clear-old-browsing-data", flag_descriptions::kClearOldBrowsingDataName,
1466 flag_descriptions::kClearOldBrowsingDataDescription, kOsAndroid,
1467 FEATURE_VALUE_TYPE(features::kClearOldBrowsingData)},
Khushalbb1963a2018-10-02 21:02:351468 {"enable-surfacecontrol", flag_descriptions::kAndroidSurfaceControl,
1469 flag_descriptions::kAndroidSurfaceControlDescription, kOsAndroid,
1470 FEATURE_VALUE_TYPE(features::kAndroidSurfaceControl)},
skymd6d2c8d32016-09-26 22:06:071471#endif // OS_ANDROID
Derek Schuff71d9a922019-04-24 21:36:001472#if BUILDFLAG(ENABLE_NACL)
1473 {"enable-nacl", flag_descriptions::kNaclName,
1474 flag_descriptions::kNaclDescription, kOsAll,
1475 SINGLE_VALUE_TYPE(switches::kEnableNaCl)},
1476#endif // ENABLE_NACL
brettw00899e62016-11-12 02:10:171477#if BUILDFLAG(ENABLE_EXTENSIONS)
vabr0215a8e2017-03-28 12:47:341478 {"extension-apis", flag_descriptions::kExperimentalExtensionApisName,
1479 flag_descriptions::kExperimentalExtensionApisDescription, kOsDesktop,
dschuyler336363e2015-06-12 02:01:471480 SINGLE_VALUE_TYPE(extensions::switches::kEnableExperimentalExtensionApis)},
Peter Boströma445353a2019-03-21 02:58:151481 {"extensions-toolbar-menu", flag_descriptions::kExtensionsToolbarMenuName,
1482 flag_descriptions::kExtensionsToolbarMenuDescription, kOsDesktop,
1483 FEATURE_VALUE_TYPE(features::kExtensionsToolbarMenu)},
vabr0215a8e2017-03-28 12:47:341484 {"extensions-on-chrome-urls",
1485 flag_descriptions::kExtensionsOnChromeUrlsName,
1486 flag_descriptions::kExtensionsOnChromeUrlsDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471487 SINGLE_VALUE_TYPE(extensions::switches::kExtensionsOnChromeURLs)},
skymd6d2c8d32016-09-26 22:06:071488#endif // ENABLE_EXTENSIONS
Shivani Sharma2d5b4b6b2019-01-08 16:07:161489 {"enable-history-manipulation-intervention",
1490 flag_descriptions::kHistoryManipulationIntervention,
1491 flag_descriptions::kHistoryManipulationInterventionDescription, kOsAll,
1492 FEATURE_VALUE_TYPE(features::kHistoryManipulationIntervention)},
Chris Palmer917bc052018-03-14 19:28:311493 {"disable-pushstate-throttle",
1494 flag_descriptions::kDisablePushStateThrottleName,
1495 flag_descriptions::kDisablePushStateThrottleDescription, kOsAll,
1496 SINGLE_VALUE_TYPE(switches::kDisablePushStateThrottle)},
Arthur Sonzogni721f48e2018-10-31 17:10:021497 {"disable-ipc-flooding-protection",
1498 flag_descriptions::kDisableIpcFloodingProtectionName,
1499 flag_descriptions::kDisableIpcFloodingProtectionDescription, kOsAll,
1500 SINGLE_VALUE_TYPE(switches::kDisableIpcFloodingProtection)},
[email protected]333bdc52013-07-16 00:37:041501#if defined(OS_ANDROID)
Donn Denman4315f262019-03-02 02:47:411502 {"contextual-search-definitions",
1503 flag_descriptions::kContextualSearchDefinitionsName,
1504 flag_descriptions::kContextualSearchDefinitionsDescription, kOsAndroid,
1505 FEATURE_VALUE_TYPE(chrome::android::kContextualSearchDefinitions)},
Donn Denman6be77d42019-05-04 15:55:421506
1507 {"contextual-search-longpress-resolve",
1508 flag_descriptions::kContextualSearchLongpressResolveName,
1509 flag_descriptions::kContextualSearchLongpressResolveDescription,
1510 kOsAndroid,
1511 FEATURE_WITH_PARAMS_VALUE_TYPE(
1512 chrome::android::kContextualSearchLongpressResolve,
1513 kLongpressResolveVariations,
1514 "ContextualSearchLongpressResolve")},
1515
Donn Denman8e58ead2017-11-04 01:44:011516 {"contextual-search-ml-tap-suppression",
1517 flag_descriptions::kContextualSearchMlTapSuppressionName,
1518 flag_descriptions::kContextualSearchMlTapSuppressionDescription,
1519 kOsAndroid,
1520 FEATURE_VALUE_TYPE(chrome::android::kContextualSearchMlTapSuppression)},
Donn Denman59729812018-01-09 01:27:021521 {"contextual-search-ranker-query",
1522 flag_descriptions::kContextualSearchRankerQueryName,
1523 flag_descriptions::kContextualSearchRankerQueryDescription, kOsAndroid,
1524 FEATURE_VALUE_TYPE(assist_ranker::kContextualSearchRankerQuery)},
1525 {"contextual-search-second-tap",
1526 flag_descriptions::kContextualSearchSecondTapName,
1527 flag_descriptions::kContextualSearchSecondTapDescription, kOsAndroid,
1528 FEATURE_VALUE_TYPE(chrome::android::kContextualSearchSecondTap)},
Donn Denman6be77d42019-05-04 15:55:421529
Donn Denman63d169f2019-03-08 23:34:501530 {"contextual-search-simplified-server",
1531 flag_descriptions::kContextualSearchSimplifiedServerName,
1532 flag_descriptions::kContextualSearchSimplifiedServerDescription,
1533 kOsAndroid,
1534 FEATURE_WITH_PARAMS_VALUE_TYPE(
1535 chrome::android::kContextualSearchSimplifiedServer,
1536 kSimplifiedServerVariations,
1537 "ContextualSearchSimplifiedServer")},
Donn Denman6be77d42019-05-04 15:55:421538
Donn Denman75f4b052019-04-05 17:55:211539 {"contextual-search-translation-model",
1540 flag_descriptions::kContextualSearchTranslationModelName,
1541 flag_descriptions::kContextualSearchTranslationModelDescription,
1542 kOsAndroid,
1543 FEATURE_VALUE_TYPE(chrome::android::kContextualSearchTranslationModel)},
Jordan Demeulenaere9404ba232019-07-01 12:57:161544 {"direct-actions", flag_descriptions::kDirectActionsName,
1545 flag_descriptions::kDirectActionsDescription, kOsAndroid,
1546 FEATURE_VALUE_TYPE(chrome::android::kDirectActions)},
Cathy Li2fb32bf82018-06-06 18:55:401547 {"explore-sites", flag_descriptions::kExploreSitesName,
1548 flag_descriptions::kExploreSitesDescription, kOsAndroid,
Cathy Lic450408f2018-08-02 20:32:541549 FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kExploreSites,
1550 kExploreSitesVariations,
Sebastienffb61052019-08-21 01:20:421551 "ExploreSites InitialCountries")},
Donn Denmane32c706c2019-04-26 22:30:111552 {"shopping-assist", flag_descriptions::kShoppingAssistName,
1553 flag_descriptions::kShoppingAssistDescription, kOsAndroid,
1554 FEATURE_VALUE_TYPE(chrome::android::kShoppingAssist)},
skymd6d2c8d32016-09-26 22:06:071555#endif // OS_ANDROID
dschuyler336363e2015-06-12 02:01:471556 {"show-autofill-type-predictions",
vabr0215a8e2017-03-28 12:47:341557 flag_descriptions::kShowAutofillTypePredictionsName,
1558 flag_descriptions::kShowAutofillTypePredictionsDescription, kOsAll,
Mathieu Perreaulta24d0c22017-11-10 01:22:001559 FEATURE_VALUE_TYPE(autofill::features::kAutofillShowTypePredictions)},
vabr0215a8e2017-03-28 12:47:341560 {"smooth-scrolling", flag_descriptions::kSmoothScrollingName,
1561 flag_descriptions::kSmoothScrollingDescription,
skobes4dd88f32016-01-06 22:56:221562 // Mac has a separate implementation with its own setting to disable.
1563 kOsLinux | kOsCrOS | kOsWin | kOsAndroid,
ymalik985f5e72016-02-18 20:10:121564 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSmoothScrolling,
1565 switches::kDisableSmoothScrolling)},
David Bokan432978d2019-08-15 18:18:521566 {"fractional-scroll-offsets",
1567 flag_descriptions::kFractionalScrollOffsetsName,
1568 flag_descriptions::kFractionalScrollOffsetsDescription, kOsAll,
1569 FEATURE_VALUE_TYPE(features::kFractionalScrollOffsets)},
mfomitchev05cf8762017-03-15 23:46:291570#if defined(USE_AURA)
vabr0215a8e2017-03-28 12:47:341571 {"overlay-scrollbars", flag_descriptions::kOverlayScrollbarsName,
1572 flag_descriptions::kOverlayScrollbarsDescription,
dschuyler336363e2015-06-12 02:01:471573 // Uses the system preference on Mac (a different implementation).
1574 // On Android, this is always enabled.
chaopengd3ca34feb2017-04-20 17:11:221575 kOsAura, FEATURE_VALUE_TYPE(features::kOverlayScrollbar)},
chaopenge8aa016b2017-08-24 15:20:191576 {"overlay-scrollbars-flash-after-scroll-update",
1577 flag_descriptions::kOverlayScrollbarsFlashAfterAnyScrollUpdateName,
1578 flag_descriptions::kOverlayScrollbarsFlashAfterAnyScrollUpdateDescription,
1579 kOsAura,
1580 FEATURE_VALUE_TYPE(features::kOverlayScrollbarFlashAfterAnyScrollUpdate)},
chaopeng343678022017-08-24 18:45:001581 {"overlay-scrollbars-flash-when-mouse-enter",
1582 flag_descriptions::kOverlayScrollbarsFlashWhenMouseEnterName,
1583 flag_descriptions::kOverlayScrollbarsFlashWhenMouseEnterDescription,
1584 kOsAura,
1585 FEATURE_VALUE_TYPE(features::kOverlayScrollbarFlashWhenMouseEnter)},
mfomitchev05cf8762017-03-15 23:46:291586#endif // USE_AURA
vabr0215a8e2017-03-28 12:47:341587 {"enable-quic", flag_descriptions::kQuicName,
1588 flag_descriptions::kQuicDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471589 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableQuic, switches::kDisableQuic)},
dschuyler336363e2015-06-12 02:01:471590 {"disable-javascript-harmony-shipping",
vabr0215a8e2017-03-28 12:47:341591 flag_descriptions::kJavascriptHarmonyShippingName,
1592 flag_descriptions::kJavascriptHarmonyShippingDescription, kOsAll,
flackr88fd5122015-11-25 04:44:501593 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableJavaScriptHarmonyShipping)},
vabr0215a8e2017-03-28 12:47:341594 {"enable-javascript-harmony", flag_descriptions::kJavascriptHarmonyName,
1595 flag_descriptions::kJavascriptHarmonyDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471596 SINGLE_VALUE_TYPE(switches::kJavaScriptHarmony)},
Andreas Haasb400d912019-08-28 18:54:101597 {"enable-experimental-webassembly-features",
1598 flag_descriptions::kExperimentalWebAssemblyFeaturesName,
1599 flag_descriptions::kExperimentalWebAssemblyFeaturesDescription, kOsAll,
1600 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebAssemblyFeatures)},
Clemens Hammacher0c8a15a2018-04-27 13:45:321601 {"enable-webassembly-baseline", flag_descriptions::kEnableWasmBaselineName,
1602 flag_descriptions::kEnableWasmBaselineDescription, kOsAll,
1603 FEATURE_VALUE_TYPE(features::kWebAssemblyBaseline)},
Bill Budged0dace172019-02-10 00:46:211604 {"enable-webassembly-code-cache",
1605 flag_descriptions::kEnableWasmCodeCacheName,
1606 flag_descriptions::kEnableWasmCodeCacheDescription, kOsAll,
1607 FEATURE_VALUE_TYPE(blink::features::kWasmCodeCache)},
Clemens Hammacher082fa572019-04-25 08:22:291608 {"enable-webassembly-code-gc", flag_descriptions::kEnableWasmCodeGCName,
1609 flag_descriptions::kEnableWasmCodeGCDescription, kOsAll,
1610 FEATURE_VALUE_TYPE(features::kWebAssemblyCodeGC)},
Deepti Gandluri11734cc42019-05-02 18:00:201611 {"enable-webassembly-simd", flag_descriptions::kEnableWasmSimdName,
1612 flag_descriptions::kEnableWasmSimdDescription, kOsAll,
1613 FEATURE_VALUE_TYPE(features::kWebAssemblySimd)},
Ben Smith24c1e5c2018-06-20 01:09:021614 {"enable-webassembly-threads", flag_descriptions::kEnableWasmThreadsName,
1615 flag_descriptions::kEnableWasmThreadsDescription, kOsAll,
1616 FEATURE_VALUE_TYPE(features::kWebAssemblyThreads)},
Brad Nelson5cd500e2018-01-04 00:50:191617 {"shared-array-buffer", flag_descriptions::kEnableSharedArrayBufferName,
1618 flag_descriptions::kEnableSharedArrayBufferDescription, kOsAll,
1619 FEATURE_VALUE_TYPE(features::kSharedArrayBuffer)},
Michael Hablich896d52662017-10-23 15:59:571620 {"enable-future-v8-vm-features", flag_descriptions::kV8VmFutureName,
1621 flag_descriptions::kV8VmFutureDescription, kOsAll,
1622 FEATURE_VALUE_TYPE(features::kV8VmFuture)},
vabr0215a8e2017-03-28 12:47:341623 {"enable-gpu-rasterization", flag_descriptions::kGpuRasterizationName,
1624 flag_descriptions::kGpuRasterizationDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471625 MULTI_VALUE_TYPE(kEnableGpuRasterizationChoices)},
Adrienne Walkerc87477e2018-06-06 22:28:211626 {"enable-oop-rasterization", flag_descriptions::kOopRasterizationName,
1627 flag_descriptions::kOopRasterizationDescription, kOsAll,
1628 MULTI_VALUE_TYPE(kEnableOopRasterizationChoices)},
asvitkineab33c922016-08-30 20:34:191629 {"enable-experimental-web-platform-features",
vabr0215a8e2017-03-28 12:47:341630 flag_descriptions::kExperimentalWebPlatformFeaturesName,
1631 flag_descriptions::kExperimentalWebPlatformFeaturesDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471632 SINGLE_VALUE_TYPE(switches::kEnableExperimentalWebPlatformFeatures)},
Anita Woodruffbfcd1e52018-07-16 12:00:511633#if defined(OS_ANDROID)
1634 {"enable-app-notification-status-messaging",
1635 flag_descriptions::kAppNotificationStatusMessagingName,
1636 flag_descriptions::kAppNotificationStatusMessagingDescription, kOsAndroid,
1637 FEATURE_VALUE_TYPE(features::kAppNotificationStatusMessaging)},
1638#endif // OS_ANDROID
vabr0215a8e2017-03-28 12:47:341639 {"enable-devtools-experiments", flag_descriptions::kDevtoolsExperimentsName,
1640 flag_descriptions::kDevtoolsExperimentsDescription, kOsDesktop,
dschuyler336363e2015-06-12 02:01:471641 SINGLE_VALUE_TYPE(switches::kEnableDevToolsExperiments)},
1642 {"silent-debugger-extension-api",
vabr0215a8e2017-03-28 12:47:341643 flag_descriptions::kSilentDebuggerExtensionApiName,
1644 flag_descriptions::kSilentDebuggerExtensionApiDescription, kOsDesktop,
dschuyler336363e2015-06-12 02:01:471645 SINGLE_VALUE_TYPE(switches::kSilentDebuggerExtensionAPI)},
brettw41446f62016-11-14 23:23:231646#if BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:341647 {"enable-android-spellchecker",
1648 flag_descriptions::kEnableAndroidSpellcheckerDescription,
1649 flag_descriptions::kEnableAndroidSpellcheckerDescription, kOsAndroid,
timvolodinebe9a2642017-01-23 20:10:231650 FEATURE_VALUE_TYPE(spellcheck::kAndroidSpellCheckerNonLowEnd)},
skym72486712016-10-18 20:37:471651#endif // ENABLE_SPELLCHECK && OS_ANDROID
Peter Kastingd77428352018-10-26 15:20:251652 {"top-chrome-touch-ui", flag_descriptions::kTopChromeTouchUiName,
1653 flag_descriptions::kTopChromeTouchUiDescription, kOsDesktop,
1654 MULTI_VALUE_TYPE(kTopChromeTouchUiChoices)},
Peter Boström92add81d2019-08-12 22:14:241655#if BUILDFLAG(ENABLE_WEBUI_TAB_STRIP)
1656 {"webui-tab-strip", flag_descriptions::kWebUITabStripName,
1657 flag_descriptions::kWebUITabStripDescription, kOsDesktop,
1658 FEATURE_VALUE_TYPE(features::kWebUITabStrip)},
1659#endif // BUILDFLAG(ENABLE_WEBUI_TAB_STRIP)
Yining Wangdedf0762019-02-19 20:20:291660 {"focus-mode", flag_descriptions::kFocusMode,
1661 flag_descriptions::kFocusModeDescription, kOsDesktop,
1662 FEATURE_VALUE_TYPE(features::kFocusMode)},
vabr0215a8e2017-03-28 12:47:341663 {"touch-events", flag_descriptions::kTouchEventsName,
1664 flag_descriptions::kTouchEventsDescription, kOsDesktop,
sunyunjiafa6a8afc2016-12-09 04:25:471665 MULTI_VALUE_TYPE(kTouchEventFeatureDetectionChoices)},
vabr0215a8e2017-03-28 12:47:341666 {"disable-touch-adjustment", flag_descriptions::kTouchAdjustmentName,
1667 flag_descriptions::kTouchAdjustmentDescription,
dschuyler336363e2015-06-12 02:01:471668 kOsWin | kOsLinux | kOsCrOS | kOsAndroid,
flackr88fd5122015-11-25 04:44:501669 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableTouchAdjustment)},
[email protected]0b60afa2012-04-19 17:36:391670#if defined(OS_CHROMEOS)
Daniele Castagna893d822e2019-03-08 21:37:111671 {"disable-explicit-dma-fences",
1672 flag_descriptions::kDisableExplicitDmaFencesName,
1673 flag_descriptions::kDisableExplicitDmaFencesDescription, kOsCrOS,
1674 SINGLE_VALUE_TYPE(switches::kDisableExplicitDmaFences)},
skymd6d2c8d32016-09-26 22:06:071675#endif // OS_CHROMEOS
mfomitchevdc04e072017-02-10 22:21:401676#if defined(OS_CHROMEOS)
vabr0215a8e2017-03-28 12:47:341677 {"ash-enable-unified-desktop",
1678 flag_descriptions::kAshEnableUnifiedDesktopName,
1679 flag_descriptions::kAshEnableUnifiedDesktopDescription, kOsCrOS,
rjkroege03f3d6b2016-09-09 21:27:591680 SINGLE_VALUE_TYPE(switches::kEnableUnifiedDesktop)},
Ryan Hansberry7c6c2b22019-06-18 21:07:141681 {"bluetooth-aggressive-appearance-filter",
1682 flag_descriptions::kBluetoothAggressiveAppearanceFilterName,
1683 flag_descriptions::kBluetoothAggressiveAppearanceFilterDescription,
1684 kOsCrOS,
1685 FEATURE_VALUE_TYPE(
1686 chromeos::features::kBluetoothAggressiveAppearanceFilter)},
Josh Nohle12948a12019-10-10 21:06:161687 {"cryptauth-v2-devicesync", flag_descriptions::kCryptAuthV2DeviceSyncName,
1688 flag_descriptions::kCryptAuthV2DeviceSyncDescription, kOsCrOS,
1689 FEATURE_VALUE_TYPE(chromeos::features::kCryptAuthV2DeviceSync)},
Josh Nohle2f82dcc2018-12-17 23:11:231690 {"cryptauth-v2-enrollment", flag_descriptions::kCryptAuthV2EnrollmentName,
Josh Nohle8d670512019-08-09 13:47:141691 flag_descriptions::kCryptAuthV2EnrollmentDescription, kOsCrOS,
Josh Nohle2f82dcc2018-12-17 23:11:231692 FEATURE_VALUE_TYPE(chromeos::features::kCryptAuthV2Enrollment)},
Giovanni Ortuño Urquidi3e5e2072019-09-25 06:50:201693 {"disable-office-editing-component-app",
1694 flag_descriptions::kDisableOfficeEditingComponentAppName,
1695 flag_descriptions::kDisableOfficeEditingComponentAppDescription, kOsCrOS,
1696 FEATURE_VALUE_TYPE(chromeos::features::kDisableOfficeEditingComponentApp)},
Kyle Horimoto7854a032019-04-03 02:51:071697 {"updated_cellular_activation_ui",
1698 flag_descriptions::kUpdatedCellularActivationUiName,
1699 flag_descriptions::kUpdatedCellularActivationUiDescription, kOsCrOS,
1700 FEATURE_VALUE_TYPE(chromeos::features::kUpdatedCellularActivationUi)},
Kyle Horimoto2d838ec2018-12-26 19:41:161701 {"use_messages_google_com_domain",
1702 flag_descriptions::kUseMessagesGoogleComDomainName,
Elly Fong-Jones94fc8632019-08-14 18:23:031703 flag_descriptions::kUseMessagesGoogleComDomainDescription, kOsCrOS,
Kyle Horimoto2d838ec2018-12-26 19:41:161704 FEATURE_VALUE_TYPE(chromeos::features::kUseMessagesGoogleComDomain)},
Kyle Horimoto874554a2019-01-31 00:52:091705 {"use_messages_staging_url", flag_descriptions::kUseMessagesStagingUrlName,
Jon Mannc9d088c2019-08-14 18:14:211706 flag_descriptions::kUseMessagesStagingUrlDescription, kOsCrOS,
Kyle Horimoto874554a2019-01-31 00:52:091707 FEATURE_VALUE_TYPE(chromeos::features::kUseMessagesStagingUrl)},
Thanh Nguyena4c933442019-05-11 03:43:551708 {"disable-cancel-all-touches",
1709 flag_descriptions::kDisableCancelAllTouchesName,
1710 flag_descriptions::kDisableCancelAllTouchesDescription, kOsCrOS,
1711 SINGLE_VALUE_TYPE(switches::kDisableCancelAllTouches)},
Alex Newcomere5a362c2019-05-02 19:31:351712 {
1713 "enable-background-blur",
1714 flag_descriptions::kEnableBackgroundBlurName,
1715 flag_descriptions::kEnableBackgroundBlurDescription,
1716 kOsCrOS,
minchab2ded5ce2019-09-06 18:32:281717 FEATURE_VALUE_TYPE(ash::features::kEnableBackgroundBlur),
Alex Newcomere5a362c2019-05-02 19:31:351718 },
Alex Newcomerd7b0cc42018-05-25 22:58:481719 {"enable-notification-indicator",
1720 flag_descriptions::kNotificationIndicatorName,
1721 flag_descriptions::kNotificationIndicatorDescription, kOsCrOS,
1722 FEATURE_VALUE_TYPE(features::kNotificationIndicator)},
Daniel Zhang01399072018-08-16 22:28:201723 {"enable-app-list-search-autocomplete",
1724 flag_descriptions::kEnableAppListSearchAutocompleteName,
Elly Fong-Jones94fc8632019-08-14 18:23:031725 flag_descriptions::kEnableAppListSearchAutocompleteDescription, kOsCrOS,
Mostyn Bramley-Moore177b931d2018-09-24 22:53:241726 FEATURE_VALUE_TYPE(app_list_features::kEnableAppListSearchAutocomplete)},
Ahmed Fakhry15d707e2019-02-22 23:54:211727 {"list-all-display-modes", flag_descriptions::kListAllDisplayModesName,
1728 flag_descriptions::kListAllDisplayModesDescription, kOsCrOS,
1729 FEATURE_VALUE_TYPE(display::features::kListAllDisplayModes)},
James Cookf9d34d22017-10-04 16:39:351730 {"instant-tethering", flag_descriptions::kTetherName,
1731 flag_descriptions::kTetherDescription, kOsCrOS,
Kyle Horimotoe543c97d2018-07-10 17:57:451732 FEATURE_VALUE_TYPE(chromeos::features::kInstantTethering)},
Sonny Sasaka2d200432018-03-22 17:43:161733 {"newblue", flag_descriptions::kNewblueName,
1734 flag_descriptions::kNewblueDescription, kOsCrOS,
1735 FEATURE_VALUE_TYPE(device::kNewblueDaemon)},
Manu Corneteb3c7d32019-06-20 08:04:441736 {"shelf-hotseat", flag_descriptions::kShelfHotseatName,
1737 flag_descriptions::kShelfHotseatDescription, kOsCrOS,
1738 SINGLE_VALUE_TYPE(chromeos::switches::kShelfHotseat)},
Manu Cornetd7ef7c52018-05-01 22:08:231739 {"shelf-hover-previews", flag_descriptions::kShelfHoverPreviewsName,
1740 flag_descriptions::kShelfHoverPreviewsDescription, kOsCrOS,
1741 SINGLE_VALUE_TYPE(chromeos::switches::kShelfHoverPreviews)},
Manu Cornetad6536f2019-06-18 21:04:431742 {"shelf-scrollable", flag_descriptions::kShelfScrollableName,
1743 flag_descriptions::kShelfScrollableDescription, kOsCrOS,
Andrew Xu045bd9da2019-09-23 22:46:281744 FEATURE_VALUE_TYPE(chromeos::features::kShelfScrollable)},
Kyle Horimoto63a6bd42019-09-16 23:47:521745 {"show-bluetooth-debug-log-toggle",
1746 flag_descriptions::kShowBluetoothDebugLogToggleName,
1747 flag_descriptions::kShowBluetoothDebugLogToggleDescription, kOsCrOS,
1748 FEATURE_VALUE_TYPE(chromeos::features::kShowBluetoothDebugLogToggle)},
Alberto Herreraaecc85512019-06-13 21:14:251749 {"show-bluetooth-device-battery",
1750 flag_descriptions::kShowBluetoothDeviceBatteryName,
1751 flag_descriptions::kShowBluetoothDeviceBatteryDescription, kOsCrOS,
1752 FEATURE_VALUE_TYPE(chromeos::features::kShowBluetoothDeviceBattery)},
James Cook0ba192bf2017-12-01 20:53:111753 {"show-taps", flag_descriptions::kShowTapsName,
1754 flag_descriptions::kShowTapsDescription, kOsCrOS,
1755 SINGLE_VALUE_TYPE(ash::switches::kShowTaps)},
James Cookf9d34d22017-10-04 16:39:351756 {"show-touch-hud", flag_descriptions::kShowTouchHudName,
James Cook0ba192bf2017-12-01 20:53:111757 flag_descriptions::kShowTouchHudDescription, kOsCrOS,
James Cookf9d34d22017-10-04 16:39:351758 SINGLE_VALUE_TYPE(ash::switches::kAshTouchHud)},
Ahmed Fakhry006607c2019-05-31 00:40:511759 {"enable-virtual-desks", flag_descriptions::kEnableVirtualDesksName,
1760 flag_descriptions::kEnableVirtualDesksDescription, kOsCrOS,
1761 FEATURE_VALUE_TYPE(ash::features::kVirtualDesks)},
Ahmed Fakhry496c28f2019-09-19 18:14:111762 {"enable-virtual-desks-gestures",
1763 flag_descriptions::kEnableVirtualDesksGesturesName,
1764 flag_descriptions::kEnableVirtualDesksGesturesDescription, kOsCrOS,
1765 FEATURE_VALUE_TYPE(ash::features::kVirtualDesksGestures)},
Brian Geffon134e77c52019-07-30 21:49:581766 {"trim-on-all-frames-frozen", flag_descriptions::kTrimOnFreezeName,
1767 flag_descriptions::kTrimOnFreezeDescription, kOsCrOS,
Brian Geffon158e33c2019-08-23 21:16:291768 FEATURE_VALUE_TYPE(performance_manager::features::kTrimOnFreeze)},
Brian Geffon134e77c52019-07-30 21:49:581769 {"trim-on-memory-pressure", flag_descriptions::kTrimOnMemoryPressureName,
1770 flag_descriptions::kTrimOnMemoryPressureDescription, kOsCrOS,
Brian Geffon158e33c2019-08-23 21:16:291771 FEATURE_VALUE_TYPE(performance_manager::features::kTrimOnMemoryPressure)},
Ahmed Mehfooz53675c0a2019-10-03 19:51:301772 {"message-center-redesign", flag_descriptions::kMessageCenterRedesignName,
1773 flag_descriptions::kMessageCenterRedesignName, kOsCrOS,
1774 FEATURE_VALUE_TYPE(ash::features::kUnifiedMessageCenterRefactor)},
skymd6d2c8d32016-09-26 22:06:071775#endif // OS_CHROMEOS
dschuyler336363e2015-06-12 02:01:471776 {
dvadym415215b2016-02-09 12:05:031777 "disable-accelerated-video-decode",
vabr0215a8e2017-03-28 12:47:341778 flag_descriptions::kAcceleratedVideoDecodeName,
1779 flag_descriptions::kAcceleratedVideoDecodeDescription,
sandersd49e9c1b2016-12-21 22:04:251780 kOsMac | kOsWin | kOsCrOS | kOsAndroid,
dvadym415215b2016-02-09 12:05:031781 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
dschuyler336363e2015-06-12 02:01:471782 },
Hirokazu Honda732d3e622019-06-12 01:13:441783 {
1784 "disable-accelerated-video-encode",
1785 flag_descriptions::kAcceleratedVideoEncodeName,
1786 flag_descriptions::kAcceleratedVideoEncodeDescription,
1787 kOsMac | kOsWin | kOsCrOS | kOsAndroid,
1788 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoEncode),
1789 },
Victor Hugo Vianna Silva8cc3ddf2019-05-22 15:47:351790 {"enable-history-favicons-google-server-query",
1791 flag_descriptions::kEnableHistoryFaviconsGoogleServerQueryName,
1792 flag_descriptions::kEnableHistoryFaviconsGoogleServerQueryDescription,
1793 kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid,
1794 FEATURE_VALUE_TYPE(favicon::kEnableHistoryFaviconsGoogleServerQuery)},
Mike Wasserman2115b162017-09-19 23:42:371795#if defined(OS_CHROMEOS)
dschuyler336363e2015-06-12 02:01:471796 {
Becca Hughesac86cd442019-01-09 23:49:541797 "ash-debug-shortcuts",
1798 flag_descriptions::kDebugShortcutsName,
1799 flag_descriptions::kDebugShortcutsDescription,
1800 kOsAll,
dvadym415215b2016-02-09 12:05:031801 SINGLE_VALUE_TYPE(ash::switches::kAshDebugShortcuts),
dschuyler336363e2015-06-12 02:01:471802 },
vabr0215a8e2017-03-28 12:47:341803 {"ui-slow-animations", flag_descriptions::kUiSlowAnimationsName,
1804 flag_descriptions::kUiSlowAnimationsDescription, kOsCrOS,
reveman6e8fc782017-01-10 20:26:161805 SINGLE_VALUE_TYPE(switches::kUISlowAnimations)},
reveman5be07ac82017-04-14 01:06:051806 {"ui-show-composited-layer-borders",
1807 flag_descriptions::kUiShowCompositedLayerBordersName,
Elly Fong-Jones94fc8632019-08-14 18:23:031808 flag_descriptions::kUiShowCompositedLayerBordersDescription, kOsCrOS,
reveman5be07ac82017-04-14 01:06:051809 MULTI_VALUE_TYPE(kUiShowCompositedLayerBordersChoices)},
vabr0215a8e2017-03-28 12:47:341810 {"enable-request-tablet-site", flag_descriptions::kRequestTabletSiteName,
1811 flag_descriptions::kRequestTabletSiteDescription, kOsCrOS,
dschuyler336363e2015-06-12 02:01:471812 SINGLE_VALUE_TYPE(chromeos::switches::kEnableRequestTabletSite)},
skymd6d2c8d32016-09-26 22:06:071813#endif // OS_CHROMEOS
vabr0215a8e2017-03-28 12:47:341814 {"debug-packed-apps", flag_descriptions::kDebugPackedAppName,
1815 flag_descriptions::kDebugPackedAppDescription, kOsDesktop,
dschuyler336363e2015-06-12 02:01:471816 SINGLE_VALUE_TYPE(switches::kDebugPackedApps)},
Vadym Doroshenkob7f9ef22019-07-16 13:51:061817 {"username-first-flow", flag_descriptions::kUsernameFirstFlowName,
1818 flag_descriptions::kUsernameFirstFlowDescription, kOsAll,
1819 FEATURE_VALUE_TYPE(password_manager::features::kUsernameFirstFlow)},
vabr0215a8e2017-03-28 12:47:341820 {"enable-show-autofill-signatures",
brettw5f9c1642017-05-14 17:12:481821 flag_descriptions::kShowAutofillSignaturesName,
vabr0215a8e2017-03-28 12:47:341822 flag_descriptions::kShowAutofillSignaturesDescription, kOsAll,
kolosad369932017-02-23 13:29:411823 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillSignatures)},
vabr0215a8e2017-03-28 12:47:341824 {"wallet-service-use-sandbox",
1825 flag_descriptions::kWalletServiceUseSandboxName,
1826 flag_descriptions::kWalletServiceUseSandboxDescription,
1827 kOsAndroid | kOsDesktop,
dschuyler336363e2015-06-12 02:01:471828 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
1829 autofill::switches::kWalletServiceUseSandbox,
1830 "1",
1831 autofill::switches::kWalletServiceUseSandbox,
1832 "0")},
Jinsuk Kim227f5c42019-02-11 01:04:351833#if defined(USE_AURA) || defined(OS_ANDROID)
dschuyler336363e2015-06-12 02:01:471834 {"overscroll-history-navigation",
vabr0215a8e2017-03-28 12:47:341835 flag_descriptions::kOverscrollHistoryNavigationName,
Jinsuk Kim227f5c42019-02-11 01:04:351836 flag_descriptions::kOverscrollHistoryNavigationDescription,
1837 kOsAura | kOsAndroid,
Jinsuk Kim68c30342019-07-11 08:09:371838#if defined(OS_ANDROID)
1839 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kOverscrollHistoryNavigation,
1840 kOverscrollHistoryNavigationVariations,
1841 "OverscrollNavigation")},
1842#else
Mohsen Izadif015d422018-10-26 06:11:391843 FEATURE_VALUE_TYPE(features::kOverscrollHistoryNavigation)},
Mohsen Izadi93faac12017-07-29 04:45:151844 {"pull-to-refresh", flag_descriptions::kPullToRefreshName,
1845 flag_descriptions::kPullToRefreshDescription, kOsAura,
Mohsen Izadi8c59ba52018-04-12 18:52:011846 MULTI_VALUE_TYPE(kPullToRefreshChoices)},
Jinsuk Kim68c30342019-07-11 08:09:371847#endif // OS_ANDROID
Jinsuk Kim227f5c42019-02-11 01:04:351848#endif // USE_AURA || OS_ANDROID
vabr0215a8e2017-03-28 12:47:341849 {"enable-touch-drag-drop", flag_descriptions::kTouchDragDropName,
1850 flag_descriptions::kTouchDragDropDescription, kOsWin | kOsCrOS,
dschuyler336363e2015-06-12 02:01:471851 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableTouchDragDrop,
1852 switches::kDisableTouchDragDrop)},
vabr0215a8e2017-03-28 12:47:341853 {"touch-selection-strategy", flag_descriptions::kTouchSelectionStrategyName,
1854 flag_descriptions::kTouchSelectionStrategyDescription,
dschuyler336363e2015-06-12 02:01:471855 kOsAndroid, // TODO(mfomitchev): Add CrOS/Win/Linux support soon.
1856 MULTI_VALUE_TYPE(kTouchTextSelectionStrategyChoices)},
brettw5f9c1642017-05-14 17:12:481857 {"enable-navigation-tracing",
1858 flag_descriptions::kEnableNavigationTracingName,
vabr0215a8e2017-03-28 12:47:341859 flag_descriptions::kEnableNavigationTracingDescription, kOsAll,
fmeawadd27de1d2015-10-02 22:32:501860 SINGLE_VALUE_TYPE(switches::kEnableNavigationTracing)},
brettw5f9c1642017-05-14 17:12:481861 {"trace-upload-url", flag_descriptions::kTraceUploadUrlName,
vabr0215a8e2017-03-28 12:47:341862 flag_descriptions::kTraceUploadUrlDescription, kOsAll,
fmeawadd27de1d2015-10-02 22:32:501863 MULTI_VALUE_TYPE(kTraceUploadURL)},
pritam.nikam2dfdae102015-07-14 13:51:111864 {"enable-suggestions-with-substring-match",
vabr0215a8e2017-03-28 12:47:341865 flag_descriptions::kSuggestionsWithSubStringMatchName,
1866 flag_descriptions::kSuggestionsWithSubStringMatchDescription, kOsAll,
Tommy Martino38d91552019-03-16 03:50:201867 FEATURE_VALUE_TYPE(autofill::features::kAutofillTokenPrefixMatching)},
dschuyler336363e2015-06-12 02:01:471868 {"enable-offer-store-unmasked-wallet-cards",
brettw5f9c1642017-05-14 17:12:481869 flag_descriptions::kOfferStoreUnmaskedWalletCardsName,
vabr0215a8e2017-03-28 12:47:341870 flag_descriptions::kOfferStoreUnmaskedWalletCardsDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471871 ENABLE_DISABLE_VALUE_TYPE(
1872 autofill::switches::kEnableOfferStoreUnmaskedWalletCards,
1873 autofill::switches::kDisableOfferStoreUnmaskedWalletCards)},
[email protected]86459e2c2013-04-10 13:39:241874#if defined(OS_CHROMEOS)
vabr0215a8e2017-03-28 12:47:341875 {"enable-virtual-keyboard", flag_descriptions::kVirtualKeyboardName,
1876 flag_descriptions::kVirtualKeyboardDescription, kOsCrOS,
dschuyler336363e2015-06-12 02:01:471877 SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)},
skymd6d2c8d32016-09-26 22:06:071878#endif // OS_CHROMEOS
thestig4888f292016-10-07 23:57:551879#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
dschuyler336363e2015-06-12 02:01:471880 {"device-discovery-notifications",
vabr0215a8e2017-03-28 12:47:341881 flag_descriptions::kDeviceDiscoveryNotificationsName,
1882 flag_descriptions::kDeviceDiscoveryNotificationsDescription, kOsDesktop,
dschuyler336363e2015-06-12 02:01:471883 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableDeviceDiscoveryNotifications,
1884 switches::kDisableDeviceDiscoveryNotifications)},
thestig4888f292016-10-07 23:57:551885#endif // BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
[email protected]ca53b142014-02-25 22:42:231886#if defined(OS_WIN)
vabr0215a8e2017-03-28 12:47:341887 {"enable-cloud-print-xps", flag_descriptions::kCloudPrintXpsName,
1888 flag_descriptions::kCloudPrintXpsDescription, kOsWin,
dschuyler336363e2015-06-12 02:01:471889 SINGLE_VALUE_TYPE(switches::kEnableCloudPrintXps)},
skymd6d2c8d32016-09-26 22:06:071890#endif // OS_WIN
Jiajia Qindb252e92019-01-28 11:47:481891#if defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
1892 {"enable-webgl2-compute-context",
1893 flag_descriptions::kWebGL2ComputeContextName,
1894 flag_descriptions::kWebGL2ComputeContextDescription,
1895 kOsWin | kOsLinux | kOsCrOS,
1896 SINGLE_VALUE_TYPE(switches::kEnableWebGL2ComputeContext)},
1897#endif // defined(OS_WIN) || defined(OS_LINUX) || defined(OS_CHROMEOS)
vabr0215a8e2017-03-28 12:47:341898 {"enable-webgl-draft-extensions",
1899 flag_descriptions::kWebglDraftExtensionsName,
1900 flag_descriptions::kWebglDraftExtensionsDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:471901 SINGLE_VALUE_TYPE(switches::kEnableWebGLDraftExtensions)},
David Roger4535852b2018-01-19 10:23:231902#if BUILDFLAG(ENABLE_DICE_SUPPORT)
msarda1c8dc2612017-06-06 01:11:241903 {"account-consistency", flag_descriptions::kAccountConsistencyName,
drogerfc4431262017-06-22 13:58:191904 flag_descriptions::kAccountConsistencyDescription, kOsAll,
David Roger346e25c72018-07-06 15:08:151905 FEATURE_WITH_PARAMS_VALUE_TYPE(kAccountConsistencyFeature,
David Roger5789b832017-07-25 17:00:501906 kAccountConsistencyFeatureVariations,
1907 "AccountConsistencyVariations")},
Monica Basta0dcdbcc2019-08-07 11:06:221908 {"force-dice-migration", flag_descriptions::kForceDiceMigrationName,
1909 flag_descriptions::kForceDiceMigrationDescription, kOsAll,
1910 FEATURE_VALUE_TYPE(kForceDiceMigration)},
Monica Bastac9f75902019-07-24 14:13:051911 {"show-sync-paused-reason-cookies-cleared-on-exit",
1912 flag_descriptions::kShowSyncPausedReasonCookiesClearedOnExitName,
1913 flag_descriptions::kShowSyncPausedReasonCookiesClearedOnExitDescription,
1914 kOsAll,
1915 FEATURE_VALUE_TYPE(features::kShowSyncPausedReasonCookiesClearedOnExit)},
msarda45185302017-05-05 15:14:121916#endif
[email protected]0e38c3252013-08-14 22:18:511917#if defined(OS_ANDROID)
csashidf20b102017-04-04 01:53:241918 {"enable-android-autofill-accessibility",
1919 flag_descriptions::kAndroidAutofillAccessibilityName,
1920 flag_descriptions::kAndroidAutofillAccessibilityDescription, kOsAndroid,
1921 FEATURE_VALUE_TYPE(features::kAndroidAutofillAccessibility)},
skymd6d2c8d32016-09-26 22:06:071922#endif // OS_ANDROID
vabr0215a8e2017-03-28 12:47:341923 {"enable-zero-copy", flag_descriptions::kZeroCopyName,
1924 flag_descriptions::kZeroCopyDescription, kOsAll,
andresantoso67c34a522015-09-23 22:57:151925 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableZeroCopy,
1926 switches::kDisableZeroCopy)},
Peng Huang70021682019-09-18 19:42:281927 {"enable-vulkan", flag_descriptions::kEnableVulkanName,
1928 flag_descriptions::kEnableVulkanDescription, kOsLinux | kOsAndroid,
1929 FEATURE_VALUE_TYPE(features::kVulkan)},
mitchelljones58e359152014-12-19 01:10:131930#if defined(OS_MACOSX)
dschuyler336363e2015-06-12 02:01:471931 {"disable-hosted-app-shim-creation",
vabr0215a8e2017-03-28 12:47:341932 flag_descriptions::kHostedAppShimCreationName,
1933 flag_descriptions::kHostedAppShimCreationDescription, kOsMac,
flackr88fd5122015-11-25 04:44:501934 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableHostedAppShimCreation)},
dschuyler336363e2015-06-12 02:01:471935 {"enable-hosted-app-quit-notification",
vabr0215a8e2017-03-28 12:47:341936 flag_descriptions::kHostedAppQuitNotificationName,
1937 flag_descriptions::kHostedAppQuitNotificationDescription, kOsMac,
dschuyler336363e2015-06-12 02:01:471938 SINGLE_VALUE_TYPE(switches::kHostedAppQuitNotification)},
skymd6d2c8d32016-09-26 22:06:071939#endif // OS_MACOSX
[email protected]dfb66c522013-10-22 19:46:321940#if defined(OS_ANDROID)
Anthony Vallee-Dubois265c5692018-06-01 15:57:141941 {"translate-force-trigger-on-english",
1942 flag_descriptions::kTranslateForceTriggerOnEnglishName,
1943 flag_descriptions::kTranslateForceTriggerOnEnglishDescription, kOsAndroid,
David Benjaminbf1f48f2018-11-14 23:14:501944 FEATURE_WITH_PARAMS_VALUE_TYPE(language::kOverrideTranslateTriggerInIndia,
1945 kTranslateForceTriggerOnEnglishVariations,
1946 "OverrideTranslateTriggerInIndia")},
skymd6d2c8d32016-09-26 22:06:071947#endif // OS_ANDROID
Haohao Wang5b525f722019-05-18 15:37:521948
1949#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN) || \
1950 defined(OS_CHROMEOS)
1951 {"translate-ui-bubble-options", flag_descriptions::kTranslateBubbleUIName,
1952 flag_descriptions::kTranslateBubbleUIDescription, kOsDesktop,
Haohao Wang5529b8af2019-06-10 17:37:461953 FEATURE_WITH_PARAMS_VALUE_TYPE(language::kUseButtonTranslateBubbleUi,
Haohao Wang5b525f722019-05-18 15:37:521954 kTranslateBubbleUIVariations,
1955 "UseButtonTranslateBubbleUI")},
1956#endif // OS_LINUX || OS_MACOSX || OS_WIN || OS_CHROMEOS
1957
Evan Stade4d8df162018-06-07 16:59:251958#if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS) && !defined(OS_CHROMEOS)
brettw5f9c1642017-05-14 17:12:481959 {"enable-native-notifications",
1960 flag_descriptions::kNotificationsNativeFlagName,
Finnur Thorarinsson5fcad492018-03-08 22:27:331961 flag_descriptions::kNotificationsNativeFlagDescription,
1962 kOsMac | kOsLinux | kOsWin,
miguelgaeda9faf32016-10-18 17:57:141963 FEATURE_VALUE_TYPE(features::kNativeNotifications)},
tonikitoo09fb0582017-04-07 17:00:221964#endif // ENABLE_NATIVE_NOTIFICATIONS
[email protected]d5874f12013-12-05 04:30:001965#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:341966 {"reader-mode-heuristics", flag_descriptions::kReaderModeHeuristicsName,
1967 flag_descriptions::kReaderModeHeuristicsDescription, kOsAndroid,
dschuyler336363e2015-06-12 02:01:471968 MULTI_VALUE_TYPE(kReaderModeHeuristicsChoices)},
skymd6d2c8d32016-09-26 22:06:071969#endif // OS_ANDROID
mdjones3bdeeaa32016-10-10 16:25:001970#if defined(OS_ANDROID)
Matthew Jones1abcb132018-07-09 17:59:461971 {"enable-chrome-duet", flag_descriptions::kChromeDuetName,
1972 flag_descriptions::kChromeDuetDescription, kOsAndroid,
1973 FEATURE_VALUE_TYPE(chrome::android::kChromeDuetFeature)},
Pedro Amaral5e345192019-05-21 21:18:471974 {"enable-chrome-duet-labels", flag_descriptions::kChromeDuetLabelsName,
1975 flag_descriptions::kChromeDuetLabelsDescription, kOsAndroid,
1976 FEATURE_VALUE_TYPE(chrome::android::kChromeDuetLabeled)},
Kyle Milka987a0352019-09-28 00:51:531977 {"chrome-sharing-hub", flag_descriptions::kChromeSharingHubName,
1978 flag_descriptions::kChromeSharingHubDescription, kOsAndroid,
1979 FEATURE_VALUE_TYPE(chrome::android::kChromeSharingHub)},
Jenna Himawana25aced2019-06-21 01:29:211980 {"enable-bookmark-reorder", flag_descriptions::kReorderBookmarksName,
1981 flag_descriptions::kReorderBookmarksDescription, kOsAndroid,
1982 FEATURE_VALUE_TYPE(chrome::android::kReorderBookmarks)},
David Bokan5a32e4d2019-08-14 15:37:461983 {"request-unbuffered-dispatch",
1984 flag_descriptions::kRequestUnbufferedDispatchName,
1985 flag_descriptions::kRequestUnbufferedDispatchDescription, kOsAndroid,
1986 FEATURE_VALUE_TYPE(features::kRequestUnbufferedDispatch)},
mdjones3bdeeaa32016-10-10 16:25:001987#endif // OS_ANDROID
Catherine Chungd4d24362017-06-09 21:12:121988 {"in-product-help-demo-mode-choice",
1989 flag_descriptions::kInProductHelpDemoModeChoiceName,
1990 flag_descriptions::kInProductHelpDemoModeChoiceDescription, kOsAll,
Tommy Nyquistf5f0bccb2017-06-01 20:56:211991 FEATURE_WITH_PARAMS_VALUE_TYPE(
Tommy Nyquistc1d6dea12017-07-26 20:37:231992 feature_engagement::kIPHDemoMode,
1993 feature_engagement::kIPHDemoModeChoiceVariations,
Tommy Nyquistba7195e22017-06-13 00:05:041994 "IPH_DemoMode")},
vabr0215a8e2017-03-28 12:47:341995 {"disable-threaded-scrolling", flag_descriptions::kThreadedScrollingName,
1996 flag_descriptions::kThreadedScrollingDescription, kOsAll,
flackr88fd5122015-11-25 04:44:501997 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableThreadedScrolling)},
dschuyler336363e2015-06-12 02:01:471998 {"extension-content-verification",
vabr0215a8e2017-03-28 12:47:341999 flag_descriptions::kExtensionContentVerificationName,
2000 flag_descriptions::kExtensionContentVerificationDescription, kOsDesktop,
dschuyler336363e2015-06-12 02:01:472001 MULTI_VALUE_TYPE(kExtensionContentVerificationChoices)},
yoshiki iguchi4a10c5f2017-11-29 20:16:542002#if defined(OS_CHROMEOS)
Megumi Hattori5a0d4182018-03-06 11:09:502003 {"enable-lock-screen-notification",
2004 flag_descriptions::kLockScreenNotificationName,
2005 flag_descriptions::kLockScreenNotificationDescription, kOsCrOS,
2006 FEATURE_VALUE_TYPE(ash::features::kLockScreenNotifications)},
yoshiki iguchi4a10c5f2017-11-29 20:16:542007#endif // OS_CHROMEOS
chirantan6e3f35b2014-09-16 02:06:112008#if defined(OS_CHROMEOS)
vabr0215a8e2017-03-28 12:47:342009 {"wake-on-wifi-packet", flag_descriptions::kWakeOnPacketsName,
Elly Fong-Jones94fc8632019-08-14 18:23:032010 flag_descriptions::kWakeOnPacketsDescription, kOsCrOSOwnerOnly,
samueltan15dbc0b2015-10-28 19:49:352011 SINGLE_VALUE_TYPE(chromeos::switches::kWakeOnWifiPacket)},
chirantan6e3f35b2014-09-16 02:06:112012#endif // OS_CHROMEOS
dschuyler336363e2015-06-12 02:01:472013 {"reduced-referrer-granularity",
vabr0215a8e2017-03-28 12:47:342014 flag_descriptions::kReducedReferrerGranularityName,
2015 flag_descriptions::kReducedReferrerGranularityDescription, kOsAll,
Yao Xiao6ea313e2019-04-29 16:30:162016 FEATURE_VALUE_TYPE(features::kReducedReferrerGranularity)},
kelvinp3b73f5092014-10-07 21:49:392017#if defined(OS_CHROMEOS)
Joel Hockey42387102019-01-10 01:19:322018 {"crostini-backup", flag_descriptions::kCrostiniBackupName,
2019 flag_descriptions::kCrostiniBackupDescription, kOsCrOS,
2020 FEATURE_VALUE_TYPE(chromeos::features::kCrostiniBackup)},
Joel Hockey39d4a752018-12-09 21:36:422021#endif // OS_CHROMEOS
Joel Hockey0613a832019-06-21 02:19:122022#if defined(OS_CHROMEOS) || defined(OS_LINUX)
2023 {"terminal-system-app", flag_descriptions::kTerminalSystemAppName,
2024 flag_descriptions::kTerminalSystemAppDescription, kOsCrOS | kOsLinux,
2025 FEATURE_VALUE_TYPE(features::kTerminalSystemApp)},
Brian Geffonc3bdd6d2019-08-21 22:48:312026#if BUILDFLAG(USE_TCMALLOC)
2027 {"dynamic-tcmalloc-tuning", flag_descriptions::kDynamicTcmallocName,
2028 flag_descriptions::kDynamicTcmallocDescription, kOsCrOS | kOsLinux,
Brian Geffon158e33c2019-08-23 21:16:292029 FEATURE_VALUE_TYPE(performance_manager::features::kDynamicTcmallocTuning)},
Brian Geffonc3bdd6d2019-08-21 22:48:312030#endif // BUILDFLAG(USE_TCMALLOC)
Joel Hockey0613a832019-06-21 02:19:122031#endif // OS_CHROMEOS || OS_LINUX
mathpf43ced42016-08-04 18:28:232032#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342033 {"enable-credit-card-assist", flag_descriptions::kCreditCardAssistName,
2034 flag_descriptions::kCreditCardAssistDescription, kOsAndroid,
Anne Lim2716ba92018-08-28 01:47:272035 FEATURE_VALUE_TYPE(autofill::features::kAutofillCreditCardAssist)},
skymd6d2c8d32016-09-26 22:06:072036#endif // OS_ANDROID
Joe DeBlasio20a2a7b2019-04-30 02:33:542037 {"http-auth-committed-interstitials",
2038 flag_descriptions::kHTTPAuthCommittedInterstitialsName,
2039 flag_descriptions::kHTTPAuthCommittedInterstitialsDescription, kOsAll,
2040 FEATURE_VALUE_TYPE(features::kHTTPAuthCommittedInterstitials)},
Lukasz Anforowicz42840422018-11-05 21:49:222041#if defined(OS_ANDROID)
Alex Moshchuk07e1bb42019-03-08 04:44:082042 {"enable-site-isolation-for-password-sites",
2043 flag_descriptions::kSiteIsolationForPasswordSitesName,
2044 flag_descriptions::kSiteIsolationForPasswordSitesDescription, kOsAndroid,
2045 FEATURE_VALUE_TYPE(features::kSiteIsolationForPasswordSites)},
Nick Carter855bc492018-03-10 00:44:572046 {"enable-site-per-process", flag_descriptions::kStrictSiteIsolationName,
Lukasz Anforowicz42840422018-11-05 21:49:222047 flag_descriptions::kStrictSiteIsolationDescription, kOsAndroid,
dschuyler336363e2015-06-12 02:01:472048 SINGLE_VALUE_TYPE(switches::kSitePerProcess)},
Aaron Colwell5235f352019-07-25 20:10:242049 {"enable-process-sharing-with-default-site-instances",
2050 flag_descriptions::kProcessSharingWithDefaultSiteInstancesName,
2051 flag_descriptions::kProcessSharingWithDefaultSiteInstancesDescription,
2052 kOsAndroid,
2053 FEATURE_VALUE_TYPE(features::kProcessSharingWithDefaultSiteInstances)},
Nate Chapinc710f622019-04-26 19:25:292054 {"enable-process-sharing-with-strict-site-instances",
2055 flag_descriptions::kProcessSharingWithStrictSiteInstancesName,
2056 flag_descriptions::kProcessSharingWithStrictSiteInstancesDescription,
2057 kOsAndroid,
2058 FEATURE_VALUE_TYPE(features::kProcessSharingWithStrictSiteInstances)},
Lukasz Anforowicz42840422018-11-05 21:49:222059#endif
Lukasz Anforowiczd2e16e62019-03-28 19:06:592060 {"isolate-origins", flag_descriptions::kIsolateOriginsName,
2061 flag_descriptions::kIsolateOriginsDescription, kOsAll,
2062 ORIGIN_LIST_VALUE_TYPE(switches::kIsolateOrigins, "")},
Alan Wink7c1b2ae22019-04-03 19:18:062063 {"kids-management-url-classification",
2064 flag_descriptions::kKidsManagementUrlClassificationName,
2065 flag_descriptions::kKidsManagementUrlClassificationDescription, kOsAll,
2066 FEATURE_VALUE_TYPE(features::kKidsManagementUrlClassification)},
Nick Carter855bc492018-03-10 00:44:572067 {"site-isolation-trial-opt-out",
Lukasz Anforowicz738a88d2018-11-05 19:19:342068 flag_descriptions::kSiteIsolationOptOutName,
2069 flag_descriptions::kSiteIsolationOptOutDescription, kOsAll,
2070 MULTI_VALUE_TYPE(kSiteIsolationOptOutChoices)},
vabr0215a8e2017-03-28 12:47:342071 {"enable-use-zoom-for-dsf", flag_descriptions::kEnableUseZoomForDsfName,
2072 flag_descriptions::kEnableUseZoomForDsfDescription, kOsAll,
oshima82d237042016-02-04 01:00:232073 MULTI_VALUE_TYPE(kEnableUseZoomForDSFChoices)},
Doug Arnett620ff542018-02-06 17:54:222074 {"allow-previews", flag_descriptions::kPreviewsAllowedName,
2075 flag_descriptions::kPreviewsAllowedDescription, kOsAll,
2076 FEATURE_VALUE_TYPE(previews::features::kPreviews)},
Thanh Le659cb102017-12-20 22:00:192077 {"data-saver-server-previews",
2078 flag_descriptions::kDataSaverServerPreviewsName,
2079 flag_descriptions::kDataSaverServerPreviewsDescription, kOsAll,
2080 FEATURE_VALUE_TYPE(
2081 data_reduction_proxy::features::kDataReductionProxyDecidesTransform)},
Ryan Sturm97a5cd42018-06-27 20:51:432082 {"ignore-previews-blocklist",
Thanh Le5f090efa52017-12-27 22:39:442083 flag_descriptions::kIgnorePreviewsBlacklistName,
2084 flag_descriptions::kIgnorePreviewsBlacklistDescription, kOsAll,
2085 SINGLE_VALUE_TYPE(previews::switches::kIgnorePreviewsBlacklist)},
Robert Ogden4d41c432019-05-07 00:24:252086 {"ignore-litepage-redirect-optimization-blacklist",
2087 flag_descriptions::kIgnoreLitePageRedirectHintsBlacklistName,
2088 flag_descriptions::kIgnoreLitePageRedirectHintsBlacklistDescription,
2089 kOsAll,
2090 SINGLE_VALUE_TYPE(
2091 previews::switches::kIgnoreLitePageRedirectOptimizationBlacklist)},
ryansturm7e309dd2017-05-24 16:29:532092 {"enable-data-reduction-proxy-server-experiment",
2093 flag_descriptions::kEnableDataReductionProxyServerExperimentName,
2094 flag_descriptions::kEnableDataReductionProxyServerExperimentDescription,
2095 kOsAll, MULTI_VALUE_TYPE(kDataReductionProxyServerExperiment)},
Sean Harrison9dc405a52019-08-27 18:23:102096 {"enable-subresource-redirect",
2097 flag_descriptions::kEnableSubresourceRedirectName,
2098 flag_descriptions::kEnableSubresourceRedirectDescription, kOsAll,
rajendrantd5db55f2019-10-19 01:56:592099 FEATURE_VALUE_TYPE(blink::features::kSubresourceRedirect)},
megjablon3b9a0891b2016-11-11 01:19:312100#if defined(OS_ANDROID)
ryansturm28839dee2017-05-05 17:34:272101 {"enable-offline-previews", flag_descriptions::kEnableOfflinePreviewsName,
2102 flag_descriptions::kEnableOfflinePreviewsDescription, kOsAndroid,
2103 FEATURE_VALUE_TYPE(previews::features::kOfflinePreviews)},
Robert Ogdence8c9572018-10-08 23:08:482104 {"enable-lite-page-server-previews",
2105 flag_descriptions::kEnableLitePageServerPreviewsName,
2106 flag_descriptions::kEnableLitePageServerPreviewsDescription, kOsAndroid,
2107 FEATURE_VALUE_TYPE(previews::features::kLitePageServerPreviews)},
megjablon3b9a0891b2016-11-11 01:19:312108#endif // OS_ANDROID
Tarun Bansal56c92932019-04-01 17:58:362109#if defined(OS_CHROMEOS) || defined(OS_LINUX)
2110 {"enable-save-data", flag_descriptions::kEnableSaveDataName,
2111 flag_descriptions::kEnableSaveDataDescription, kOsCrOS,
2112 SINGLE_VALUE_TYPE(
2113 data_reduction_proxy::switches::kEnableDataReductionProxy)},
2114#endif // OS_CHROMEOS
Doug Arnett08b4067b2017-10-12 20:14:442115 {"enable-noscript-previews", flag_descriptions::kEnableNoScriptPreviewsName,
2116 flag_descriptions::kEnableNoScriptPreviewsDescription, kOsAll,
2117 FEATURE_VALUE_TYPE(previews::features::kNoScriptPreviews)},
Doug Arnettaa0bf202018-08-27 19:42:112118 {"enable-resource-loading-hints",
2119 flag_descriptions::kEnableResourceLoadingHintsName,
2120 flag_descriptions::kEnableResourceLoadingHintsDescription, kOsAll,
2121 FEATURE_VALUE_TYPE(previews::features::kResourceLoadingHints)},
Robert Ogdene976feb2019-09-03 22:20:292122 {"enable-previews-coin-flip",
2123 flag_descriptions::kEnablePreviewsCoinFlipName,
2124 flag_descriptions::kEnablePreviewsCoinFlipDescription, kOsAll,
2125 FEATURE_VALUE_TYPE(previews::features::kCoinFlipHoldback)},
brettw5f9c1642017-05-14 17:12:482126 {"allow-insecure-localhost", flag_descriptions::kAllowInsecureLocalhostName,
vabr0215a8e2017-03-28 12:47:342127 flag_descriptions::kAllowInsecureLocalhostDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:472128 SINGLE_VALUE_TYPE(switches::kAllowInsecureLocalhost)},
dschuyler336363e2015-06-12 02:01:472129 {"bypass-app-banner-engagement-checks",
vabr0215a8e2017-03-28 12:47:342130 flag_descriptions::kBypassAppBannerEngagementChecksName,
2131 flag_descriptions::kBypassAppBannerEngagementChecksDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:472132 SINGLE_VALUE_TYPE(switches::kBypassAppBannerEngagementChecks)},
Alan Cuttere50ce412019-07-12 05:26:082133 {"enable-desktop-pwas-local-updating",
2134 flag_descriptions::kDesktopPWAsLocalUpdatingName,
2135 flag_descriptions::kDesktopPWAsLocalUpdatingDescription, kOsDesktop,
2136 FEATURE_VALUE_TYPE(features::kDesktopPWAsLocalUpdating)},
Christopher Lame66b7812018-09-26 01:49:242137 {"enable-system-webapps", flag_descriptions::kEnableSystemWebAppsName,
2138 flag_descriptions::kEnableSystemWebAppsDescription, kOsDesktop,
2139 FEATURE_VALUE_TYPE(features::kSystemWebApps)},
Alan Cutter1816c9d2019-02-11 02:20:072140 {"enable-desktop-pwas-omnibox-install",
2141 flag_descriptions::kDesktopPWAsOmniboxInstallName,
2142 flag_descriptions::kDesktopPWAsOmniboxInstallDescription, kOsDesktop,
2143 FEATURE_VALUE_TYPE(features::kDesktopPWAsOmniboxInstall)},
vabr0215a8e2017-03-28 12:47:342144 {"use-sync-sandbox", flag_descriptions::kSyncSandboxName,
2145 flag_descriptions::kSyncSandboxDescription, kOsAll,
dschuyler336363e2015-06-12 02:01:472146 SINGLE_VALUE_TYPE_AND_VALUE(
2147 switches::kSyncServiceURL,
2148 "https://chrome-sync.sandbox.google.com/chrome-sync/alpha")},
thakis678822e2017-04-20 17:20:342149#if !defined(OS_ANDROID)
mfoltzac0030f2016-10-28 21:16:522150 {"load-media-router-component-extension",
vabr0215a8e2017-03-28 12:47:342151 flag_descriptions::kLoadMediaRouterComponentExtensionName,
2152 flag_descriptions::kLoadMediaRouterComponentExtensionDescription,
2153 kOsDesktop,
mfoltzac0030f2016-10-28 21:16:522154 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
2155 switches::kLoadMediaRouterComponentExtension,
2156 "1",
2157 switches::kLoadMediaRouterComponentExtension,
2158 "0")},
Derek Chengd24c68c2018-03-12 19:09:322159 {"media-router-cast-allow-all-ips",
2160 flag_descriptions::kMediaRouterCastAllowAllIPsName,
2161 flag_descriptions::kMediaRouterCastAllowAllIPsDescription, kOsDesktop,
Derek Cheng34478382018-04-07 00:32:592162 FEATURE_VALUE_TYPE(media_router::kCastAllowAllIPsFeature)},
Takumi Fujimotod1da5b92019-06-07 00:35:482163 {"cast-media-route-provider",
2164 flag_descriptions::kCastMediaRouteProviderName,
2165 flag_descriptions::kCastMediaRouteProviderDescription, kOsDesktop,
2166 FEATURE_VALUE_TYPE(media_router::kCastMediaRouteProvider)},
2167 {"dial-media-route-provider",
2168 flag_descriptions::kDialMediaRouteProviderName,
2169 flag_descriptions::kDialMediaRouteProviderDescription, kOsDesktop,
2170 FEATURE_VALUE_TYPE(media_router::kDialMediaRouteProvider)},
2171 {"mirroring-service", flag_descriptions::kMirroringServiceName,
2172 flag_descriptions::kMirroringServiceDescription, kOsDesktop,
2173 FEATURE_VALUE_TYPE(mirroring::features::kMirroringService)},
thakis678822e2017-04-20 17:20:342174#endif // !OS_ANDROID
estadeb5efbab62015-04-28 18:07:422175#if defined(OS_ANDROID)
csashia447acf2017-05-19 22:05:292176 {"autofill-keyboard-accessory-view",
vabr0215a8e2017-03-28 12:47:342177 flag_descriptions::kAutofillAccessoryViewName,
2178 flag_descriptions::kAutofillAccessoryViewDescription, kOsAndroid,
Friedrich Horschiga562f1812018-11-19 10:36:022179 FEATURE_WITH_PARAMS_VALUE_TYPE(
2180 autofill::features::kAutofillKeyboardAccessory,
2181 kAutofillKeyboardAccessoryFeatureVariations,
2182 "AutofillKeyboardAccessoryVariations")},
skymd6d2c8d32016-09-26 22:06:072183#endif // OS_ANDROID
dalecurtis8e5e2f42015-05-13 17:16:462184#if defined(OS_WIN)
dschuyler336363e2015-06-12 02:01:472185 {"try-supported-channel-layouts",
vabr0215a8e2017-03-28 12:47:342186 flag_descriptions::kTrySupportedChannelLayoutsName,
2187 flag_descriptions::kTrySupportedChannelLayoutsDescription, kOsWin,
dschuyler336363e2015-06-12 02:01:472188 SINGLE_VALUE_TYPE(switches::kTrySupportedChannelLayouts)},
skymd6d2c8d32016-09-26 22:06:072189#endif // OS_WIN
taptedcafe3b92015-06-03 21:57:362190#if defined(OS_MACOSX)
Greg Kerrf46f31872019-08-08 20:22:442191 {"mac-syscall-sandbox", flag_descriptions::kMacSyscallSandboxName,
2192 flag_descriptions::kMacSyscallSandboxDescription, kOsMac,
2193 FEATURE_VALUE_TYPE(features::kMacSyscallSandbox)},
Greg Kerr32483d1c2018-12-18 02:29:142194 {"mac-v2-gpu-sandbox", flag_descriptions::kMacV2GPUSandboxName,
2195 flag_descriptions::kMacV2GPUSandboxDescription, kOsMac,
2196 FEATURE_VALUE_TYPE(features::kMacV2GPUSandbox)},
vabr0215a8e2017-03-28 12:47:342197 {"mac-views-task-manager", flag_descriptions::kMacViewsTaskManagerName,
2198 flag_descriptions::kMacViewsTaskManagerDescription, kOsMac,
ellyjones63762e982017-03-15 14:04:292199 FEATURE_VALUE_TYPE(features::kViewsTaskManager)},
skymd6d2c8d32016-09-26 22:06:072200#endif // OS_MACOSX
Will Cassella40837ba2019-07-01 21:32:002201#if BUILDFLAG(ENABLE_VR)
vabr0215a8e2017-03-28 12:47:342202 {"enable-webvr", flag_descriptions::kWebvrName,
2203 flag_descriptions::kWebvrDescription, kOsAll,
bajones02443532015-06-22 21:17:402204 SINGLE_VALUE_TYPE(switches::kEnableWebVR)},
Brandon Jonese9d9b2b2017-12-11 22:20:112205 {"webxr", flag_descriptions::kWebXrName,
2206 flag_descriptions::kWebXrDescription, kOsAll,
2207 FEATURE_VALUE_TYPE(features::kWebXr)},
Brandon Jones3c1295802019-08-21 18:18:222208 {"webxr-ar-module", flag_descriptions::kWebXrArModuleName,
2209 flag_descriptions::kWebXrArModuleDescription, kOsAll,
2210 FEATURE_VALUE_TYPE(features::kWebXrArModule)},
Klaus Weidner38db9a12019-10-04 22:44:062211 {"webxr-ar-dom-overlay", flag_descriptions::kWebXrArDOMOverlayName,
2212 flag_descriptions::kWebXrArDOMOverlayDescription, kOsAndroid,
2213 FEATURE_VALUE_TYPE(features::kWebXrArDOMOverlay)},
Ian Vollick7aaccf92018-04-07 23:10:432214 {"webxr-hit-test", flag_descriptions::kWebXrHitTestName,
2215 flag_descriptions::kWebXrHitTestDescription, kOsAll,
2216 FEATURE_VALUE_TYPE(features::kWebXrHitTest)},
Piotr Bialecki2cab3f292019-08-09 17:36:472217 {"webxr-anchors", flag_descriptions::kWebXrAnchorsName,
2218 flag_descriptions::kWebXrAnchorsDescription, kOsAll,
Piotr Bialecki7489a6a02019-08-29 01:14:542219 FEATURE_VALUE_TYPE(features::kWebXrAnchors)},
Piotr Bialeckid77fb9c2019-04-26 17:06:242220 {"webxr-plane-detection", flag_descriptions::kWebXrPlaneDetectionName,
2221 flag_descriptions::kWebXrPlaneDetectionDescription, kOsAll,
2222 FEATURE_VALUE_TYPE(features::kWebXrPlaneDetection)},
Alex Cooper151b596e2019-02-21 01:26:572223 {"webxr-orientation-sensor-device",
2224 flag_descriptions::kWebXrOrientationSensorDeviceName,
2225 flag_descriptions::kWebXrOrientationSensorDeviceDescription, kOsDesktop,
2226 FEATURE_VALUE_TYPE(device::kWebXrOrientationSensorDevice)},
Bill Orr103ed272018-02-14 21:23:052227#if BUILDFLAG(ENABLE_OCULUS_VR)
2228 {"oculus-vr", flag_descriptions::kOculusVRName,
2229 flag_descriptions::kOculusVRDescription, kOsWin,
2230 FEATURE_VALUE_TYPE(features::kOculusVR)},
2231#endif // ENABLE_OCULUS_VR
Bill Orr49527562017-11-22 16:58:482232#if BUILDFLAG(ENABLE_OPENVR)
2233 {"openvr", flag_descriptions::kOpenVRName,
2234 flag_descriptions::kOpenVRDescription, kOsWin,
2235 FEATURE_VALUE_TYPE(features::kOpenVR)},
2236#endif // ENABLE_OPENVR
Bill Orrd2af6bd52019-01-23 02:50:242237#if BUILDFLAG(ENABLE_WINDOWS_MR)
2238 {"windows-mixed-reality", flag_descriptions::kWindowsMixedRealityName,
2239 flag_descriptions::kWindowsMixedRealityDescription, kOsWin,
2240 FEATURE_VALUE_TYPE(features::kWindowsMixedReality)},
2241#endif // ENABLE_WINDOWS_MR
Patrick Tofafbf66232019-06-16 08:39:152242#if BUILDFLAG(ENABLE_OPENXR)
2243 {"openxr", flag_descriptions::kOpenXRName,
2244 flag_descriptions::kOpenXRDescription, kOsWin,
2245 FEATURE_VALUE_TYPE(features::kOpenXR)},
2246#endif // ENABLE_OPENXR
Will Cassella40837ba2019-07-01 21:32:002247#if !defined(OS_ANDROID)
Bill Orrecfb9fe2018-10-02 00:11:102248 {"xr-sandbox", flag_descriptions::kXRSandboxName,
2249 flag_descriptions::kXRSandboxDescription, kOsWin,
2250 FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)},
Will Cassella40837ba2019-07-01 21:32:002251#endif // !defined(OS_ANDROID)
cjgrant373c0682017-03-21 20:50:482252#endif // ENABLE_VR
kcwu31f10242015-06-29 14:58:222253#if defined(OS_CHROMEOS)
henryhsub5ab1502015-07-30 07:22:462254 {"disable-accelerated-mjpeg-decode",
vabr0215a8e2017-03-28 12:47:342255 flag_descriptions::kAcceleratedMjpegDecodeName,
2256 flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS,
flackr88fd5122015-11-25 04:44:502257 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
kcwu31f10242015-06-29 14:58:222258#endif // OS_CHROMEOS
Joe Downing8cbbc192018-05-14 17:37:072259 {"system-keyboard-lock", flag_descriptions::kSystemKeyboardLockName,
2260 flag_descriptions::kSystemKeyboardLockDescription, kOsDesktop,
2261 FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)},
kkimlabs5d14d9a2015-08-01 23:17:142262#if defined(OS_ANDROID)
petewil2abcf042017-04-10 21:45:002263 {"offline-pages-load-signal-collecting",
2264 flag_descriptions::kOfflinePagesLoadSignalCollectingName,
2265 flag_descriptions::kOfflinePagesLoadSignalCollectingDescription,
Elly Fong-Jones94fc8632019-08-14 18:23:032266 kOsAndroid,
petewil2abcf042017-04-10 21:45:002267 FEATURE_VALUE_TYPE(
2268 offline_pages::kOfflinePagesLoadSignalCollectingFeature)},
Yafei Duan36b4b5b2018-08-07 00:40:032269 {"offline-pages-live-page-sharing",
2270 flag_descriptions::kOfflinePagesLivePageSharingName,
2271 flag_descriptions::kOfflinePagesLivePageSharingDescription, kOsAndroid,
2272 FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesLivePageSharingFeature)},
vabr0215a8e2017-03-28 12:47:342273 {"offline-pages-prefetching",
2274 flag_descriptions::kOfflinePagesPrefetchingName,
2275 flag_descriptions::kOfflinePagesPrefetchingDescription, kOsAndroid,
dewittj60defc82017-03-18 02:58:312276 FEATURE_VALUE_TYPE(offline_pages::kPrefetchingOfflinePagesFeature)},
Candice Sy74fa7a352018-03-30 23:46:492277 {"offline-pages-failed-download",
2278 flag_descriptions::kOfflinePagesDescriptiveFailStatusName,
2279 flag_descriptions::kOfflinePagesDescriptiveFailStatusDescription,
2280 kOsAndroid,
2281 FEATURE_VALUE_TYPE(
2282 offline_pages::kOfflinePagesDescriptiveFailStatusFeature)},
Candice Sy229768e02017-12-21 00:19:222283 {"offline-pages-pending-download",
2284 flag_descriptions::kOfflinePagesDescriptivePendingStatusName,
2285 flag_descriptions::kOfflinePagesDescriptivePendingStatusDescription,
2286 kOsAndroid,
2287 FEATURE_VALUE_TYPE(
2288 offline_pages::kOfflinePagesDescriptivePendingStatusFeature)},
Pete Williamson7845dff2017-09-20 11:06:192289 {"offline-pages-resource-based-snapshot",
2290 flag_descriptions::kOfflinePagesResourceBasedSnapshotName,
2291 flag_descriptions::kOfflinePagesResourceBasedSnapshotDescription,
Elly Fong-Jones94fc8632019-08-14 18:23:032292 kOsAndroid,
Pete Williamson7845dff2017-09-20 11:06:192293 FEATURE_VALUE_TYPE(
2294 offline_pages::kOfflinePagesResourceBasedSnapshotFeature)},
Collin Baker17f92a52017-07-19 21:41:252295 {"offline-pages-renovations",
2296 flag_descriptions::kOfflinePagesRenovationsName,
2297 flag_descriptions::kOfflinePagesRenovationsDescription, kOsAndroid,
2298 FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesRenovationsFeature)},
Carlos Knippschild7ebb82302018-03-22 20:59:422299 {"offline-pages-in-downloads-home-open-in-cct",
2300 flag_descriptions::kOfflinePagesInDownloadHomeOpenInCctName,
2301 flag_descriptions::kOfflinePagesInDownloadHomeOpenInCctDescription,
2302 kOsAndroid,
2303 FEATURE_VALUE_TYPE(
2304 offline_pages::kOfflinePagesInDownloadHomeOpenInCctFeature)},
Cathy Lie0d88762018-04-12 08:03:012305 {"offline-pages-alternate-dino-page",
2306 flag_descriptions::kOfflinePagesShowAlternateDinoPageName,
2307 flag_descriptions::kOfflinePagesShowAlternateDinoPageDescription,
2308 kOsAndroid,
2309 FEATURE_VALUE_TYPE(
2310 offline_pages::kOfflinePagesShowAlternateDinoPageFeature)},
Jian Liade82832018-09-06 22:31:412311 {"offline-indicator-choice", flag_descriptions::kOfflineIndicatorChoiceName,
2312 flag_descriptions::kOfflineIndicatorChoiceDescription, kOsAndroid,
David Benjaminbf1f48f2018-11-14 23:14:502313 FEATURE_WITH_PARAMS_VALUE_TYPE(offline_pages::kOfflineIndicatorFeature,
2314 kOfflineIndicatorFeatureVariations,
2315 "OfflineIndicator")},
Jian Liade82832018-09-06 22:31:412316 {"offline-indicator-always-http-probe",
2317 flag_descriptions::kOfflineIndicatorAlwaysHttpProbeName,
Elly Fong-Jones94fc8632019-08-14 18:23:032318 flag_descriptions::kOfflineIndicatorAlwaysHttpProbeDescription, kOsAndroid,
Jian Liade82832018-09-06 22:31:412319 FEATURE_VALUE_TYPE(
2320 offline_pages::kOfflineIndicatorAlwaysHttpProbeFeature)},
Shakti Sahu44a49182019-10-15 00:11:512321 {"offline-home", flag_descriptions::kOfflineHomeName,
2322 flag_descriptions::kOfflineHomeDescription, kOsAndroid,
2323 FEATURE_VALUE_TYPE(chrome::android::kOfflineHome)},
Sinan Sahin18cc52c2019-09-12 23:07:152324 {"offline-indicator-v2", flag_descriptions::kOfflineIndicatorV2Name,
2325 flag_descriptions::kOfflineIndicatorV2Description, kOsAndroid,
2326 FEATURE_VALUE_TYPE(chrome::android::kOfflineIndicatorV2)},
Mark Lieufaa1b762019-01-08 19:37:282327 {"on-the-fly-mhtml-hash-computation",
2328 flag_descriptions::kOnTheFlyMhtmlHashComputationName,
Elly Fong-Jones94fc8632019-08-14 18:23:032329 flag_descriptions::kOnTheFlyMhtmlHashComputationDescription, kOsAndroid,
Mark Lieufaa1b762019-01-08 19:37:282330 FEATURE_VALUE_TYPE(offline_pages::kOnTheFlyMhtmlHashComputationFeature)},
Jazz Xu32261b542019-06-13 20:11:272331 {"android-picture-in-picture-api",
2332 flag_descriptions::kAndroidPictureInPictureAPIName,
2333 flag_descriptions::kAndroidPictureInPictureAPIDescription, kOsAndroid,
2334 FEATURE_VALUE_TYPE(media::kPictureInPictureAPI)},
skymd6d2c8d32016-09-26 22:06:072335#endif // OS_ANDROID
bmcquadeed75dc72016-04-12 19:41:232336 {"disallow-doc-written-script-loads",
vabr0215a8e2017-03-28 12:47:342337 flag_descriptions::kDisallowDocWrittenScriptsUiName,
2338 flag_descriptions::kDisallowDocWrittenScriptsUiDescription, kOsAll,
bmcquade43544d72015-08-06 03:39:212339 // NOTE: if we want to add additional experiment entries for other
2340 // features controlled by kBlinkSettings, we'll need to add logic to
2341 // merge the flag values.
shivanishaa96778d2016-10-19 17:18:572342 ENABLE_DISABLE_VALUE_TYPE_AND_VALUE(
bmcquadeed75dc72016-04-12 19:41:232343 switches::kBlinkSettings,
shivanishaa96778d2016-10-19 17:18:572344 "disallowFetchForDocWrittenScriptsInMainFrame=true",
2345 switches::kBlinkSettings,
2346 "disallowFetchForDocWrittenScriptsInMainFrame=false")},
georgesak169749ab2015-08-10 19:10:192347#if defined(OS_WIN)
vabr0215a8e2017-03-28 12:47:342348 {"use-winrt-midi-api", flag_descriptions::kUseWinrtMidiApiName,
2349 flag_descriptions::kUseWinrtMidiApiDescription, kOsWin,
shaochuan2d340032016-10-29 07:26:002350 FEATURE_VALUE_TYPE(midi::features::kMidiManagerWinrt)},
skymd6d2c8d32016-09-26 22:06:072351#endif // OS_WIN
alematead0c0ac2015-09-22 07:43:532352#if defined(OS_CHROMEOS)
vabr0215a8e2017-03-28 12:47:342353 {"cros-regions-mode", flag_descriptions::kCrosRegionsModeName,
2354 flag_descriptions::kCrosRegionsModeDescription, kOsCrOS,
alematead0c0ac2015-09-22 07:43:532355 MULTI_VALUE_TYPE(kCrosRegionsModeChoices)},
2356#endif // OS_CHROMEOS
Cliff Smolinsky9544a352019-10-04 21:28:462357#if defined(OS_WIN)
2358 {"enable-aura-tooltips-on-windows",
2359 flag_descriptions::kEnableAuraTooltipsOnWindowsName,
2360 flag_descriptions::kEnableAuraTooltipsOnWindowsDescription, kOsWin,
2361 FEATURE_VALUE_TYPE(views::features::kEnableAuraTooltipsOnWindows)},
2362#endif // OS_WIN
jdonnellydcb7f072016-06-02 16:09:582363#if defined(TOOLKIT_VIEWS) || defined(OS_ANDROID)
2364 {"enable-autofill-credit-card-upload",
vabr0215a8e2017-03-28 12:47:342365 flag_descriptions::kAutofillCreditCardUploadName,
2366 flag_descriptions::kAutofillCreditCardUploadDescription, kOsAll,
Anne Lim2716ba92018-08-28 01:47:272367 FEATURE_VALUE_TYPE(autofill::features::kAutofillUpstream)},
skym72486712016-10-18 20:37:472368#endif // TOOLKIT_VIEWS || OS_ANDROID
vabr0215a8e2017-03-28 12:47:342369 {"force-ui-direction", flag_descriptions::kForceUiDirectionName,
2370 flag_descriptions::kForceUiDirectionDescription, kOsAll,
mgiuca49ae7c72015-12-04 04:36:482371 MULTI_VALUE_TYPE(kForceUIDirectionChoices)},
krb6822b602017-05-02 14:53:212372 {"force-text-direction", flag_descriptions::kForceTextDirectionName,
2373 flag_descriptions::kForceTextDirectionDescription, kOsAll,
2374 MULTI_VALUE_TYPE(kForceTextDirectionChoices)},
xhwangfa2d9d472015-12-18 23:31:182375#if defined(OS_ANDROID)
Tommy Nyquist3c02e592018-10-18 23:36:442376 {"force-update-menu-type", flag_descriptions::kUpdateMenuTypeName,
2377 flag_descriptions::kUpdateMenuTypeDescription, kOsAndroid,
2378 MULTI_VALUE_TYPE(kForceUpdateMenuTypeChoices)},
Tommy Nyquist26ffb642019-02-20 20:31:522379 {"enable-inline-update-flow", flag_descriptions::kInlineUpdateFlowName,
2380 flag_descriptions::kInlineUpdateFlowDescription, kOsAndroid,
2381 FEATURE_VALUE_TYPE(chrome::android::kInlineUpdateFlow)},
twellingtonce0b29ba2017-04-19 21:01:172382 {"update-menu-item-custom-summary",
2383 flag_descriptions::kUpdateMenuItemCustomSummaryName,
2384 flag_descriptions::kUpdateMenuItemCustomSummaryDescription, kOsAndroid,
2385 SINGLE_VALUE_TYPE_AND_VALUE(
2386 switches::kForceShowUpdateMenuItemCustomSummary,
2387 "Custom Summary")},
vabr0215a8e2017-03-28 12:47:342388 {"force-show-update-menu-badge", flag_descriptions::kUpdateMenuBadgeName,
2389 flag_descriptions::kUpdateMenuBadgeDescription, kOsAndroid,
twellingtonce51db32015-12-30 16:24:292390 SINGLE_VALUE_TYPE(switches::kForceShowUpdateMenuBadge)},
vabr0215a8e2017-03-28 12:47:342391 {"set-market-url-for-testing",
2392 flag_descriptions::kSetMarketUrlForTestingName,
2393 flag_descriptions::kSetMarketUrlForTestingDescription, kOsAndroid,
Caitlin Fischer37e01232019-05-24 13:05:452394 SINGLE_VALUE_TYPE_AND_VALUE(switches::kMarketUrlForTesting,
2395 "https://play.google.com/store/apps/"
2396 "details?id=com.android.chrome")},
twellingtonce51db32015-12-30 16:24:292397#endif // OS_ANDROID
David Benjaminb9c645c2019-10-09 23:49:112398 {"tls13-hardening-for-local-anchors",
2399 flag_descriptions::kTLS13HardeningForLocalAnchorsName,
2400 flag_descriptions::kTLS13HardeningForLocalAnchorsDescription, kOsAll,
2401 FEATURE_VALUE_TYPE(features::kTLS13HardeningForLocalAnchors)},
Steven Valdez89a44ea92019-05-01 15:18:492402 {"enable-tls13-early-data", flag_descriptions::kEnableTLS13EarlyDataName,
2403 flag_descriptions::kEnableTLS13EarlyDataDescription, kOsAll,
2404 FEATURE_VALUE_TYPE(net::features::kEnableTLS13EarlyData)},
treib58464e92016-02-24 11:34:442405#if defined(OS_ANDROID)
Theresa920e0ed2018-03-07 18:12:442406 {"interest-feed-content-suggestions",
2407 flag_descriptions::kInterestFeedContentSuggestionsName,
2408 flag_descriptions::kInterestFeedContentSuggestionsDescription, kOsAndroid,
Sky Malice0ddbf7642019-03-07 23:40:232409 FEATURE_WITH_PARAMS_VALUE_TYPE(feed::kInterestFeedContentSuggestions,
2410 kInterestFeedFeatureVariations,
2411 "InterestFeedContentSuggestions")},
Ian Wells665a2b92019-07-12 21:19:002412 {"interest-feed-notifications",
2413 flag_descriptions::kInterestFeedNotificationsName,
2414 flag_descriptions::kInterestFeedNotificationsDescription, kOsAndroid,
2415 FEATURE_VALUE_TYPE(feed::kInterestFeedNotifications)},
jkrcal8f8a5672017-03-02 17:44:172416 {"enable-ntp-remote-suggestions",
vabr0215a8e2017-03-28 12:47:342417 flag_descriptions::kEnableNtpRemoteSuggestionsName,
2418 flag_descriptions::kEnableNtpRemoteSuggestionsDescription, kOsAndroid,
David Benjaminbf1f48f2018-11-14 23:14:502419 FEATURE_WITH_PARAMS_VALUE_TYPE(ntp_snippets::kArticleSuggestionsFeature,
2420 kRemoteSuggestionsFeatureVariations,
2421 "NTPArticleSuggestions")},
skymd6d2c8d32016-09-26 22:06:072422#endif // OS_ANDROID
Mustaq Ahmedc646c0a2017-10-20 20:08:302423 {"user-activation-v2", flag_descriptions::kUserActivationV2Name,
2424 flag_descriptions::kUserActivationV2Description, kOsAll,
2425 FEATURE_VALUE_TYPE(features::kUserActivationV2)},
changwan8c342742016-02-26 00:53:392426#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342427 {"offlining-recent-pages", flag_descriptions::kOffliningRecentPagesName,
2428 flag_descriptions::kOffliningRecentPagesDescription, kOsAndroid,
dimich1b3ad9bd2016-03-09 00:34:122429 FEATURE_VALUE_TYPE(offline_pages::kOffliningRecentPagesFeature)},
vabr0215a8e2017-03-28 12:47:342430 {"offline-pages-ct", flag_descriptions::kOfflinePagesCtName,
2431 flag_descriptions::kOfflinePagesCtDescription, kOsAndroid,
dewittj54fd49512016-06-17 18:25:262432 FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesCTFeature)},
Cathy Li2ea68bf2017-07-06 03:27:082433 {"offline-pages-ct-v2", flag_descriptions::kOfflinePagesCtV2Name,
2434 flag_descriptions::kOfflinePagesCtV2Description, kOsAndroid,
2435 FEATURE_VALUE_TYPE(offline_pages::kOfflinePagesCTV2Feature)},
Cathy Li7311d792018-04-05 00:34:162436 {"offline-pages-ct-suppress-completed-notification",
2437 flag_descriptions::kOfflinePagesCTSuppressNotificationsName,
2438 flag_descriptions::kOfflinePagesCTSuppressNotificationsDescription,
Elly Fong-Jones94fc8632019-08-14 18:23:032439 kOsAndroid,
Cathy Li7311d792018-04-05 00:34:162440 FEATURE_VALUE_TYPE(
2441 offline_pages::kOfflinePagesCTSuppressNotificationsFeature)},
skymd6d2c8d32016-09-26 22:06:072442#endif // OS_ANDROID
nikhil17ef14e22017-12-13 07:35:312443 {"PasswordImport", flag_descriptions::kPasswordImportName,
Vaclav Brozek999f75a2017-12-05 11:15:142444 flag_descriptions::kPasswordImportDescription, kOsAll,
Vaclav Brozekd8a3f542017-11-16 14:21:132445 FEATURE_VALUE_TYPE(password_manager::features::kPasswordImport)},
Friedrich Horschig03c91982018-01-25 14:21:282446#if defined(OS_ANDROID)
Ivana Zuzica4cf4802019-07-10 19:02:322447 {"password-editing-android", flag_descriptions::kPasswordEditingAndroidName,
2448 flag_descriptions::kPasswordEditingAndroidDescription, kOsAndroid,
2449 FEATURE_VALUE_TYPE(password_manager::features::kPasswordEditingAndroid)},
2450#endif // OS_ANDROID
Aran Gilman85b72c8f2019-10-16 17:51:192451#if !defined(OS_CHROMEOS)
2452 // TODO(https://crbug.com/1011696): Investigate crash reports and re-enable
2453 // for ChromeOS.
Aran Gilman5e9672bed2019-08-02 19:07:492454 {"enable-force-dark", flag_descriptions::kForceWebContentsDarkModeName,
Aran Gilman85b72c8f2019-10-16 17:51:192455 flag_descriptions::kForceWebContentsDarkModeDescription,
2456 kOsWin | kOsLinux | kOsMac | kOsAndroid,
Aran Gilman5e9672bed2019-08-02 19:07:492457 FEATURE_WITH_PARAMS_VALUE_TYPE(blink::features::kForceWebContentsDarkMode,
2458 kForceDarkVariations,
2459 "ForceDarkVariations")},
Aran Gilman85b72c8f2019-10-16 17:51:192460#endif // !OS_CHROMEOS
Ivana Zuzica4cf4802019-07-10 19:02:322461#if defined(OS_ANDROID)
Becky Zhou65584142019-01-10 18:22:292462#if BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2463 {"enable-android-night-mode", flag_descriptions::kAndroidNightModeName,
2464 flag_descriptions::kAndroidNightModeDescription, kOsAndroid,
Theresa Wellingtonc412e9b2019-09-23 18:16:302465 FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kAndroidNightMode,
2466 kAndroidNightModeFeatureVariations,
2467 "AndroidNightMode")},
Becky Zhou65584142019-01-10 18:22:292468#endif // BUILDFLAG(ENABLE_ANDROID_NIGHT_MODE)
2469#endif // OS_ANDROID
dmazzoni756089a22016-03-15 23:55:162470 {"enable-experimental-accessibility-features",
vabr0215a8e2017-03-28 12:47:342471 flag_descriptions::kExperimentalAccessibilityFeaturesName,
Elly Fong-Jones94fc8632019-08-14 18:23:032472 flag_descriptions::kExperimentalAccessibilityFeaturesDescription, kOsCrOS,
Chris Halle952239e2018-11-06 06:49:522473 SINGLE_VALUE_TYPE(::switches::kEnableExperimentalAccessibilityFeatures)},
Chris Hall4a4225f62019-01-18 03:07:162474 {"enable-experimental-accessibility-language-detection",
2475 flag_descriptions::kExperimentalAccessibilityLanguageDetectionName,
2476 flag_descriptions::kExperimentalAccessibilityLanguageDetectionDescription,
Chris Hall2e490ec2019-08-08 02:14:142477 kOsAll,
Chris Hall4a4225f62019-01-18 03:07:162478 SINGLE_VALUE_TYPE(
2479 ::switches::kEnableExperimentalAccessibilityLanguageDetection)},
Chris Halle952239e2018-11-06 06:49:522480#if defined(OS_CHROMEOS)
fukino1b5ebe952017-04-07 05:35:302481 {"enable-encryption-migration",
2482 flag_descriptions::kEnableEncryptionMigrationName,
Elly Fong-Jones94fc8632019-08-14 18:23:032483 flag_descriptions::kEnableEncryptionMigrationDescription, kOsCrOS,
fukino3e769db2017-04-21 02:25:172484 ENABLE_DISABLE_VALUE_TYPE(
2485 chromeos::switches::kEnableEncryptionMigration,
2486 chromeos::switches::kDisableEncryptionMigration)},
Leo Zhang49c34d22019-04-02 09:57:592487 {"enable-cros-ime-input-logic-fst",
2488 flag_descriptions::kImeInputLogicFstName,
2489 flag_descriptions::kImeInputLogicFstDescription, kOsCrOS,
2490 FEATURE_VALUE_TYPE(chromeos::features::kImeInputLogicFst)},
Katie D652135c2018-11-27 18:30:132491 {"enable-experimental-accessibility-autoclick",
2492 flag_descriptions::kExperimentalAccessibilityAutoclickName,
2493 flag_descriptions::kExperimentalAccessibilityAutoclickDescription, kOsCrOS,
2494 SINGLE_VALUE_TYPE(::switches::kEnableExperimentalAccessibilityAutoclick)},
Anastasia Helfinsteinafecc68c2018-11-26 19:20:172495 {"enable-experimental-accessibility-switch-access",
2496 flag_descriptions::kExperimentalAccessibilitySwitchAccessName,
2497 flag_descriptions::kExperimentalAccessibilitySwitchAccessDescription,
2498 kOsCrOS,
2499 SINGLE_VALUE_TYPE(
2500 ::switches::kEnableExperimentalAccessibilitySwitchAccess)},
Rose Garcia26e2ae32019-06-25 00:57:542501 {"enable-experimental-accessibility-switch-access-text",
2502 flag_descriptions::kExperimentalAccessibilitySwitchAccessTextName,
2503 flag_descriptions::kExperimentalAccessibilitySwitchAccessTextDescription,
2504 kOsCrOS,
2505 SINGLE_VALUE_TYPE(
2506 ::switches::kEnableExperimentalAccessibilitySwitchAccessText)},
Akihiro Ota3ff6f8a2019-01-18 17:43:042507 {"enable-experimental-accessibility-chromevox-language-switching",
2508 flag_descriptions::
2509 kExperimentalAccessibilityChromeVoxLanguageSwitchingName,
2510 flag_descriptions::
2511 kExperimentalAccessibilityChromeVoxLanguageSwitchingDescription,
2512 kOsCrOS,
2513 SINGLE_VALUE_TYPE(
2514 ::switches::
2515 kEnableExperimentalAccessibilityChromeVoxLanguageSwitching)},
Akihiro Otacfdd4482019-08-21 23:41:032516 {"enable-experimental-accessibility-chromevox-sub-node-language-"
2517 "switching",
2518 flag_descriptions::
2519 kExperimentalAccessibilityChromeVoxSubNodeLanguageSwitchingName,
2520 flag_descriptions::
2521 kExperimentalAccessibilityChromeVoxSubNodeLanguageSwitchingDescription,
2522 kOsCrOS,
2523 SINGLE_VALUE_TYPE(
2524 ::switches::
2525 kEnableExperimentalAccessibilityChromeVoxSubNodeLanguageSwitching)},
Jon Flatley8c785582019-06-05 00:33:422526 {"enable-experimental-kernel-vm-support",
2527 flag_descriptions::kKernelnextVMsName,
2528 flag_descriptions::kKernelnextVMsDescription, kOsCrOS,
2529 FEATURE_VALUE_TYPE(features::kKernelnextVMs)},
skym72486712016-10-18 20:37:472530#endif // OS_CHROMEOS
Nico Webereaa08412019-08-14 01:24:372531#if !defined(OS_ANDROID) && BUILDFLAG(GOOGLE_CHROME_BRANDING)
edwardjung23f16702016-04-01 12:17:432532 {"enable-google-branded-context-menu",
vabr0215a8e2017-03-28 12:47:342533 flag_descriptions::kGoogleBrandedContextMenuName,
Elly Fong-Jones94fc8632019-08-14 18:23:032534 flag_descriptions::kGoogleBrandedContextMenuDescription, kOsDesktop,
Edward Jung1fa418d2019-01-30 11:27:472535 FEATURE_VALUE_TYPE(features::kGoogleBrandedContextMenu)},
Nico Webereaa08412019-08-14 01:24:372536#endif // !OS_ANDROID && BUILDFLAG(GOOGLE_CHROME_BRANDING)
spqchanf4e28562016-04-13 02:17:242537#if defined(OS_MACOSX)
Sidney San Martín678fd4112019-03-30 00:13:052538 {"enable-immersive-fullscreen-toolbar",
2539 flag_descriptions::kImmersiveFullscreenName,
Elly Fong-Jones94fc8632019-08-14 18:23:032540 flag_descriptions::kImmersiveFullscreenDescription, kOsMac,
Sidney San Martín678fd4112019-03-30 00:13:052541 FEATURE_VALUE_TYPE(features::kImmersiveFullscreen)},
skymd6d2c8d32016-09-26 22:06:072542#endif // OS_MACOSX
Christian Dullweber3cc579a22018-09-11 10:54:442543 {"rewrite-leveldb-on-deletion",
2544 flag_descriptions::kRewriteLevelDBOnDeletionName,
Elly Fong-Jones94fc8632019-08-14 18:23:032545 flag_descriptions::kRewriteLevelDBOnDeletionDescription, kOsAll,
2546 FEATURE_VALUE_TYPE(leveldb::kLevelDBRewriteFeature)},
vabr0215a8e2017-03-28 12:47:342547 {"passive-listener-default",
2548 flag_descriptions::kPassiveEventListenerDefaultName,
2549 flag_descriptions::kPassiveEventListenerDefaultDescription, kOsAll,
dtapuskaf65650b2016-05-13 17:21:342550 MULTI_VALUE_TYPE(kPassiveListenersChoices)},
asvitkineab33c922016-08-30 20:34:192551 {"document-passive-event-listeners",
vabr0215a8e2017-03-28 12:47:342552 flag_descriptions::kPassiveDocumentEventListenersName,
2553 flag_descriptions::kPassiveDocumentEventListenersDescription, kOsAll,
dtapuskaacc2fb22016-07-06 23:26:232554 FEATURE_VALUE_TYPE(features::kPassiveDocumentEventListeners)},
Sahel Sharify7400e882018-08-13 17:13:212555 {"document-passive-wheel-event-listeners",
2556 flag_descriptions::kPassiveDocumentWheelEventListenersName,
Elly Fong-Jones94fc8632019-08-14 18:23:032557 flag_descriptions::kPassiveDocumentWheelEventListenersDescription, kOsAll,
Sahel Sharify7400e882018-08-13 17:13:212558 FEATURE_VALUE_TYPE(features::kPassiveDocumentWheelEventListeners)},
asvitkineab33c922016-08-30 20:34:192559 {"passive-event-listeners-due-to-fling",
vabr0215a8e2017-03-28 12:47:342560 flag_descriptions::kPassiveEventListenersDueToFlingName,
2561 flag_descriptions::kPassiveEventListenersDueToFlingDescription, kOsAll,
lanwei59bb2572016-08-15 23:29:522562 FEATURE_VALUE_TYPE(features::kPassiveEventListenersDueToFling)},
Sarthak Shahd641e552019-09-19 01:17:262563#if defined(OS_WIN)
2564 {"enable-experimental-fling-animation",
2565 flag_descriptions::kExperimentalFlingAnimationName,
2566 flag_descriptions::kExperimentalFlingAnimationDescription, kOsWin,
2567 FEATURE_VALUE_TYPE(features::kExperimentalFlingAnimation)},
2568#endif
Rouslan Solomakhinded840112018-11-02 13:27:102569 {"per-method-can-make-payment-quota",
2570 flag_descriptions::kPerMethodCanMakePaymentQuotaName,
2571 flag_descriptions::kPerMethodCanMakePaymentQuotaDescription, kOsAll,
2572 FEATURE_VALUE_TYPE(
2573 payments::features::kWebPaymentsPerMethodCanMakePaymentQuota)},
Danyao Wang47a0f312019-05-09 20:52:242574 {"enable-web-payments-experimental-features",
2575 flag_descriptions::kWebPaymentsExperimentalFeaturesName,
2576 flag_descriptions::kWebPaymentsExperimentalFeaturesDescription, kOsAll,
2577 FEATURE_VALUE_TYPE(payments::features::kWebPaymentsExperimentalFeatures)},
vabr0215a8e2017-03-28 12:47:342578 {"fill-on-account-select", flag_descriptions::kFillOnAccountSelectName,
2579 flag_descriptions::kFillOnAccountSelectDescription, kOsAll,
vabr6bf3a252016-06-20 14:26:402580 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelect)},
jdoerrie11c5f4f2019-02-04 18:29:182581 {"fill-on-account-select-http",
2582 flag_descriptions::kFillOnAccountSelectHttpName,
2583 flag_descriptions::kFillOnAccountSelectHttpDescription, kOsAll,
2584 FEATURE_VALUE_TYPE(password_manager::features::kFillOnAccountSelectHttp)},
CJ DiMeglio7b4a199f2017-11-30 01:26:502585 {"enable-surfaces-for-videos",
2586 flag_descriptions::kUseSurfaceLayerForVideoName,
2587 flag_descriptions::kUseSurfaceLayerForVideoDescription, kOsAll,
2588 FEATURE_VALUE_TYPE(media::kUseSurfaceLayerForVideo)},
yfriedman33d6dc52016-08-16 23:29:122589#if defined(OS_ANDROID)
vabr0215a8e2017-03-28 12:47:342590 {"no-credit-card-abort", flag_descriptions::kNoCreditCardAbort,
2591 flag_descriptions::kNoCreditCardAbortDescription, kOsAndroid,
sebsgd9595aa2016-10-25 15:34:032592 FEATURE_VALUE_TYPE(chrome::android::kNoCreditCardAbort)},
skymd6d2c8d32016-09-26 22:06:072593#endif // OS_ANDROID
azurewei588a4712016-09-05 14:18:022594#if defined(OS_CHROMEOS)
vabr0215a8e2017-03-28 12:47:342595 {"arc-boot-completed-broadcast", flag_descriptions::kArcBootCompleted,
Elly Fong-Jones94fc8632019-08-14 18:23:032596 flag_descriptions::kArcBootCompletedDescription, kOsCrOS,
xzhou938368c2016-10-04 04:33:172597 FEATURE_VALUE_TYPE(arc::kBootCompletedBroadcastFeature)},
Ryo Hashimoto8f4b30ced2019-04-08 12:14:192598 {"arc-custom-tabs-experiment",
2599 flag_descriptions::kArcCustomTabsExperimentName,
Elly Fong-Jones94fc8632019-08-14 18:23:032600 flag_descriptions::kArcCustomTabsExperimentDescription, kOsCrOS,
Ryo Hashimoto8f4b30ced2019-04-08 12:14:192601 FEATURE_VALUE_TYPE(arc::kCustomTabsExperimentFeature)},
Naoki Fukino153de8a2019-01-22 08:37:542602 {"arc-documents-provider", flag_descriptions::kArcDocumentsProviderName,
Elly Fong-Jones94fc8632019-08-14 18:23:032603 flag_descriptions::kArcDocumentsProviderDescription, kOsCrOS,
Naoki Fukino153de8a2019-01-22 08:37:542604 FEATURE_VALUE_TYPE(arc::kEnableDocumentsProviderInFilesAppFeature)},
Satoshi Niwa8b1d5282018-10-24 04:53:032605 {"arc-file-picker-experiment",
2606 flag_descriptions::kArcFilePickerExperimentName,
2607 flag_descriptions::kArcFilePickerExperimentDescription, kOsCrOS,
2608 FEATURE_VALUE_TYPE(arc::kFilePickerExperimentFeature)},
Lev Rumyantsev6eddc802019-08-27 19:41:212609 {"arc-native-bridge-toggle", flag_descriptions::kArcNativeBridgeToggleName,
2610 flag_descriptions::kArcNativeBridgeToggleDescription, kOsCrOS,
2611 FEATURE_VALUE_TYPE(arc::kNativeBridgeToggleFeature)},
Jesse Schettlerc3d0a652019-04-23 18:49:242612 {"arc-print-spooler-experiment",
2613 flag_descriptions::kArcPrintSpoolerExperimentName,
2614 flag_descriptions::kArcPrintSpoolerExperimentDescription, kOsCrOS,
2615 FEATURE_VALUE_TYPE(arc::kPrintSpoolerExperimentFeature)},
lgchengecd1c1a62018-01-09 02:59:462616 {"arc-usb-host", flag_descriptions::kArcUsbHostName,
Elly Fong-Jones94fc8632019-08-14 18:23:032617 flag_descriptions::kArcUsbHostDescription, kOsCrOS,
lgchengecd1c1a62018-01-09 02:59:462618 FEATURE_VALUE_TYPE(arc::kUsbHostFeature)},
Yusuke Sato7e790eb2019-06-06 00:21:042619 {"arc-usb-storage-ui", flag_descriptions::kArcUsbStorageUIName,
2620 flag_descriptions::kArcUsbStorageUIDescription, kOsCrOS,
2621 FEATURE_VALUE_TYPE(arc::kUsbStorageUIFeature)},
Kevin Cernekeeb7f96a52017-10-25 17:40:182622 {"arc-vpn", flag_descriptions::kArcVpnName,
Elly Fong-Jones94fc8632019-08-14 18:23:032623 flag_descriptions::kArcVpnDescription, kOsCrOS,
Kevin Cernekeeb7f96a52017-10-25 17:40:182624 FEATURE_VALUE_TYPE(arc::kVpnFeature)},
skym72486712016-10-18 20:37:472625#endif // OS_CHROMEOS
Wenjie Shid38245192019-07-11 16:20:502626#if defined(OS_WIN)
2627 {"enable-winrt-sensor-implementation",
2628 flag_descriptions::kWinrtSensorsImplementationName,
2629 flag_descriptions::kWinrtSensorsImplementationDescription, kOsWin,
2630 FEATURE_VALUE_TYPE(features::kWinrtSensorsImplementation)},
2631#endif
Mikhail Pozdnyakov73373a62017-08-24 17:31:252632 {"enable-generic-sensor-extra-classes",
2633 flag_descriptions::kEnableGenericSensorExtraClassesName,
2634 flag_descriptions::kEnableGenericSensorExtraClassesDescription, kOsAll,
2635 FEATURE_VALUE_TYPE(features::kGenericSensorExtraClasses)},
altimin1fca2be2016-10-12 21:06:432636 {"expensive-background-timer-throttling",
vabr0215a8e2017-03-28 12:47:342637 flag_descriptions::kExpensiveBackgroundTimerThrottlingName,
2638 flag_descriptions::kExpensiveBackgroundTimerThrottlingDescription, kOsAll,
altimin1fca2be2016-10-12 21:06:432639 FEATURE_VALUE_TYPE(features::kExpensiveBackgroundTimerThrottling)},
dpapaded8349472017-10-25 03:21:272640#if BUILDFLAG(ENABLE_PRINT_PREVIEW)
rbpotter9990eb42018-07-12 05:34:592641 {"enable-cloud-printer-handler",
2642 flag_descriptions::kCloudPrinterHandlerName,
2643 flag_descriptions::kCloudPrinterHandlerDescription, kOsDesktop,
2644 FEATURE_VALUE_TYPE(features::kCloudPrinterHandler)},
rbpotter62fe2c92019-03-26 22:01:292645 {"enable-new-print-preview-layout",
2646 flag_descriptions::kNewPrintPreviewLayoutName,
2647 flag_descriptions::kNewPrintPreviewLayoutDescription, kOsDesktop,
2648 FEATURE_VALUE_TYPE(features::kNewPrintPreviewLayout)},
dpapaded8349472017-10-25 03:21:272649#endif
xdai05509b82016-12-19 23:48:142650
bruthigeafb0c02017-06-09 13:11:532651#if defined(OS_CHROMEOS)
Mike Wasserman8f8b0852018-12-03 22:08:102652 {ui_devtools::switches::kEnableUiDevTools,
2653 flag_descriptions::kUiDevToolsName,
bruthigeafb0c02017-06-09 13:11:532654 flag_descriptions::kUiDevToolsDescription, kOsCrOS,
Mike Wasserman8f8b0852018-12-03 22:08:102655 SINGLE_VALUE_TYPE(ui_devtools::switches::kEnableUiDevTools)},
bruthigeafb0c02017-06-09 13:11:532656#endif // defined(OS_CHROMEOS)
2657
Jared Saulfafb058b2017-12-11 22:08:262658 {"enable-autofill-credit-card-ablation-experiment",
2659 flag_descriptions::kEnableAutofillCreditCardAblationExperimentDisplayName,
2660 flag_descriptions::kEnableAutofillCreditCardAblationExperimentDescription,
2661 kOsAll,
Anne Lim2716ba92018-08-28 01:47:272662 FEATURE_VALUE_TYPE(
2663 autofill::features::kAutofillCreditCardAblationExperiment)},
Jared Saulbc672a072018-06-16 05:22:122664 {"enable-autofill-credit-card-upload-editable-cardholder-name",
2665 flag_descriptions::
2666 kEnableAutofillCreditCardUploadEditableCardholderNameName,
2667 flag_descriptions::
2668 kEnableAutofillCreditCardUploadEditableCardholderNameDescription,
Jared Saul21b9f4d2019-08-09 22:56:382669 kOsAll,
Anne Lim2716ba92018-08-28 01:47:272670 FEATURE_VALUE_TYPE(
2671 autofill::features::kAutofillUpstreamEditableCardholderName)},
Hao Zhang1be9c262018-11-03 00:23:512672 {"enable-autofill-credit-card-upload-editable-expiration-date",
2673 flag_descriptions::
2674 kEnableAutofillCreditCardUploadEditableExpirationDateName,
2675 flag_descriptions::
2676 kEnableAutofillCreditCardUploadEditableExpirationDateDescription,
Jared Saul21b9f4d2019-08-09 22:56:382677 kOsAll,
Hao Zhang1be9c262018-11-03 00:23:512678 FEATURE_VALUE_TYPE(
2679 autofill::features::kAutofillUpstreamEditableExpirationDate)},
Anne Lim30351782019-03-01 01:57:162680 {"enable-autofill-local-card-migration-uses-strike-system-v2",
2681 flag_descriptions::kEnableAutofillLocalCardMigrationUsesStrikeSystemV2Name,
2682 flag_descriptions::
2683 kEnableAutofillLocalCardMigrationUsesStrikeSystemV2Description,
Jared Saul21b9f4d2019-08-09 22:56:382684 kOsAll,
Anne Lim30351782019-03-01 01:57:162685 FEATURE_VALUE_TYPE(
2686 autofill::features::kAutofillLocalCardMigrationUsesStrikeSystemV2)},
tmartinocd414732018-02-12 19:01:012687
kcarattinidb5f41b2017-01-18 13:24:062688#if defined(OS_ANDROID)
Fabio Tirelo918089a2018-10-22 21:24:082689 {"enable-autofill-manual-fallback",
2690 flag_descriptions::kAutofillManualFallbackAndroidName,
2691 flag_descriptions::kAutofillManualFallbackAndroidDescription, kOsAndroid,
2692 FEATURE_VALUE_TYPE(autofill::features::kAutofillManualFallbackAndroid)},
2693
Fabio Tirelo315e65922018-09-05 03:35:492694 {"enable-autofill-refresh-style",
2695 flag_descriptions::kEnableAutofillRefreshStyleName,
2696 flag_descriptions::kEnableAutofillRefreshStyleDescription, kOsAndroid,
2697 FEATURE_VALUE_TYPE(autofill::features::kAutofillRefreshStyleAndroid)},
kcarattinidb5f41b2017-01-18 13:24:062698#endif
2699
malaykeshavb43ccf22017-01-20 21:24:572700#if defined(OS_CHROMEOS)
vabr0215a8e2017-03-28 12:47:342701 {"enable-touchscreen-calibration",
2702 flag_descriptions::kTouchscreenCalibrationName,
2703 flag_descriptions::kTouchscreenCalibrationDescription, kOsCrOS,
malaykeshavb43ccf22017-01-20 21:24:572704 SINGLE_VALUE_TYPE(chromeos::switches::kEnableTouchCalibrationSetting)},
Rouslan Solomakhinbed1af22017-06-09 18:40:572705#endif // defined(OS_CHROMEOS)
yamaguchid99a64b2017-05-12 15:33:492706#if defined(OS_CHROMEOS)
Naoki Fukino7cd1d102018-07-17 13:21:262707 {"android-files-in-files-app",
Naoki Fukino008a0022018-05-23 18:33:002708 flag_descriptions::kShowAndroidFilesInFilesAppName,
Elly Fong-Jones94fc8632019-08-14 18:23:032709 flag_descriptions::kShowAndroidFilesInFilesAppDescription, kOsCrOS,
Naoki Fukino7cd1d102018-07-17 13:21:262710 ENABLE_DISABLE_VALUE_TYPE(
2711 chromeos::switches::kShowAndroidFilesInFilesApp,
2712 chromeos::switches::kHideAndroidFilesInFilesApp)},
Christopher Lam28530012019-07-11 04:05:122713 {"camera-system-web-app", flag_descriptions::kCameraSystemWebAppName,
2714 flag_descriptions::kCameraSystemWebAppDescription, kOsCrOS,
2715 FEATURE_VALUE_TYPE(chromeos::features::kCameraSystemWebApp)},
Ben Wells7238dd02019-05-02 08:20:322716 {"crostini-gpu-support", flag_descriptions::kCrostiniGpuSupportName,
2717 flag_descriptions::kCrostiniGpuSupportDescription, kOsCrOS,
2718 FEATURE_VALUE_TYPE(chromeos::features::kCrostiniGpuSupport)},
Nicholas Verne89be53b2019-03-27 23:08:322719 {"crostini-usb-allow-unsupported",
2720 flag_descriptions::kCrostiniUsbAllowUnsupportedName,
2721 flag_descriptions::kCrostiniUsbAllowUnsupportedDescription, kOsCrOS,
2722 FEATURE_VALUE_TYPE(chromeos::features::kCrostiniUsbAllowUnsupported)},
Alex Danilo284b4482019-04-02 09:20:172723 {"file-manager-feedback-panel",
2724 flag_descriptions::kFileManagerFeedbackPanelName,
2725 flag_descriptions::kFileManagerFeedbackPanelDescription, kOsCrOS,
2726 FEATURE_VALUE_TYPE(chromeos::features::kEnableFileManagerFeedbackPanel)},
Noel Gordonf4315f42019-05-14 04:42:202727 {"file-manager-piex-wasm", flag_descriptions::kFileManagerPiexWasmName,
2728 flag_descriptions::kFileManagerPiexWasmDescription, kOsCrOS,
2729 FEATURE_VALUE_TYPE(chromeos::features::kEnableFileManagerPiexWasm)},
Austin Tankiang4f973632019-08-12 08:33:232730 {"files-ng", flag_descriptions::kFilesNGName,
2731 flag_descriptions::kFilesNGDescription, kOsCrOS,
2732 FEATURE_VALUE_TYPE(chromeos::features::kFilesNG)},
yamaguchid99a64b2017-05-12 15:33:492733#endif // OS_CHROMEOS
malaykeshavb43ccf22017-01-20 21:24:572734
rbpotter5f0e96f2017-01-25 22:04:362735#if defined(OS_WIN)
vabr0215a8e2017-03-28 12:47:342736 {"gdi-text-printing", flag_descriptions::kGdiTextPrinting,
Elly Fong-Jones94fc8632019-08-14 18:23:032737 flag_descriptions::kGdiTextPrintingDescription, kOsWin,
rbpotter58bc882e2017-02-01 03:44:242738 FEATURE_VALUE_TYPE(features::kGdiTextPrinting)},
rbpotter58bc882e2017-02-01 03:44:242739#endif // defined(OS_WIN)
xutanbc979772017-01-31 20:41:262740
reillyg6204d732017-02-13 22:24:562741#if defined(OS_WIN)
vabr0215a8e2017-03-28 12:47:342742 {"new-usb-backend", flag_descriptions::kNewUsbBackendName,
2743 flag_descriptions::kNewUsbBackendDescription, kOsWin,
reillyg6204d732017-02-13 22:24:562744 FEATURE_VALUE_TYPE(device::kNewUsbBackend)},
2745#endif // defined(OS_WIN)
toyoshim0f1c3f32017-02-10 10:03:322746
Orin Jaworskie999b4f2019-01-18 04:16:042747#if defined(OS_ANDROID)
Brandon Wylief8dd4e82019-07-11 16:39:572748 {"omnibox-search-engine-logo",
2749 flag_descriptions::kOmniboxSearchEngineLogoName,
2750 flag_descriptions::kOmniboxSearchEngineLogoDescription, kOsAndroid,
Brandon Wylieb57a5dc2019-08-14 02:13:112751 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxSearchEngineLogo,
2752 kOmniboxSearchEngineLogoFeatureVariations,
2753 "OmniboxSearchEngineLogo")},
Orin Jaworskie999b4f2019-01-18 04:16:042754#endif // defined(OS_ANDROID)
Tomasz Wiszkowskic87dff12019-01-15 02:57:512755
Tommy Lie8454292019-08-30 20:06:152756 {"omnibox-on-device-head-suggestions",
2757 flag_descriptions::kOmniboxOnDeviceHeadSuggestionsName,
2758 flag_descriptions::kOmniboxOnDeviceHeadSuggestionsDescription, kOsAll,
2759 FEATURE_VALUE_TYPE(omnibox::kOnDeviceHeadProvider)},
2760
Moe Ahmadid0ce5de2019-08-30 21:55:022761 {"omnibox-on-focus-suggestions",
2762 flag_descriptions::kOmniboxOnFocusSuggestionsName,
2763 flag_descriptions::kOmniboxOnFocusSuggestionsDescription, kOsAll,
2764 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOnFocusSuggestions,
2765 kOmniboxOnFocusSuggestionsVariations,
2766 "OmniboxBundledExperimentV1")},
2767
Tomasz Wiszkowskic7fd5bed2019-02-11 17:33:232768 {"omnibox-rich-entity-suggestions",
2769 flag_descriptions::kOmniboxRichEntitySuggestionsName,
2770 flag_descriptions::kOmniboxRichEntitySuggestionsDescription, kOsAll,
2771 FEATURE_VALUE_TYPE(omnibox::kOmniboxRichEntitySuggestions)},
2772
Kevin Bailey38514f42019-05-28 17:48:122773 {"omnibox-group-suggestions-by-search-vs-url",
2774 flag_descriptions::kOmniboxGroupSuggestionsBySearchVsUrlName,
2775 flag_descriptions::kOmniboxGroupSuggestionsBySearchVsUrlDescription,
2776 kOsAll,
2777 FEATURE_VALUE_TYPE(omnibox::kOmniboxGroupSuggestionsBySearchVsUrl)},
2778
Tommy Li7d1a68b2019-09-06 23:12:522779 {"omnibox-preserve-default-match-against-async-update",
2780 flag_descriptions::kOmniboxPreserveDefaultMatchAgainstAsyncUpdateName,
2781 flag_descriptions::
2782 kOmniboxPreserveDefaultMatchAgainstAsyncUpdateDescription,
2783 kOsAll,
2784 FEATURE_VALUE_TYPE(
2785 omnibox::kOmniboxPreserveDefaultMatchAgainstAsyncUpdate)},
2786
manukaddd3c42019-04-09 21:20:592787 {"omnibox-local-entity-suggestions",
2788 flag_descriptions::kOmniboxLocalEntitySuggestionsName,
2789 flag_descriptions::kOmniboxLocalEntitySuggestionsDescription, kOsDesktop,
2790 FEATURE_VALUE_TYPE(omnibox::kOmniboxLocalEntitySuggestions)},
2791
Tomasz Wiszkowskic87dff12019-01-15 02:57:512792#if defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
Kevin Bailey9ec05532019-01-31 23:01:332793 {"omnibox-experimental-keyword-mode",
2794 flag_descriptions::kOmniboxExperimentalKeywordModeName,
Elly Fong-Jones94fc8632019-08-14 18:23:032795 flag_descriptions::kOmniboxExperimentalKeywordModeDescription, kOsDesktop,
Kevin Bailey9ec05532019-01-31 23:01:332796 FEATURE_VALUE_TYPE(omnibox::kExperimentalKeywordMode)},
Orin Jaworski04c08b42018-07-11 02:39:562797 {"omnibox-reverse-answers", flag_descriptions::kOmniboxReverseAnswersName,
2798 flag_descriptions::kOmniboxReverseAnswersDescription, kOsDesktop,
2799 FEATURE_VALUE_TYPE(omnibox::kOmniboxReverseAnswers)},
Kevin Bailey7d918b92019-05-02 16:00:142800 {"omnibox-short-bookmark-suggestions",
2801 flag_descriptions::kOmniboxShortBookmarkSuggestionsName,
2802 flag_descriptions::kOmniboxShortBookmarkSuggestionsDescription, kOsDesktop,
2803 FEATURE_VALUE_TYPE(omnibox::kOmniboxShortBookmarkSuggestions)},
Kevin Bailey898669972017-11-06 15:34:492804 {"omnibox-tab-switch-suggestions",
2805 flag_descriptions::kOmniboxTabSwitchSuggestionsName,
2806 flag_descriptions::kOmniboxTabSwitchSuggestionsDescription, kOsDesktop,
Kevin Bailey68950832018-05-24 16:01:042807 FEATURE_VALUE_TYPE(omnibox::kOmniboxTabSwitchSuggestions)},
Kevin Bailey37bbf1d2019-08-21 19:23:552808 {"omnibox-tab-switch-suggestions-dedicated-row",
2809 flag_descriptions::kOmniboxTabSwitchSuggestionsDedicatedRowName,
2810 flag_descriptions::kOmniboxTabSwitchSuggestionsDedicatedRowDescription,
2811 kOsDesktop,
2812 FEATURE_VALUE_TYPE(omnibox::kOmniboxTabSwitchSuggestionsDedicatedRow)},
Orin Jaworskiae2df652018-09-26 01:11:062813 {"omnibox-pedal-suggestions",
2814 flag_descriptions::kOmniboxPedalSuggestionsName,
2815 flag_descriptions::kOmniboxPedalSuggestionsDescription, kOsDesktop,
Orin Jaworski506db4d2019-02-14 20:17:142816 FEATURE_VALUE_TYPE(omnibox::kOmniboxPedalSuggestions)},
Tommy C. Li065ddce72019-04-11 22:55:122817 {"omnibox-suggestion-transparency-options",
2818 flag_descriptions::kOmniboxSuggestionTransparencyOptionsName,
2819 flag_descriptions::kOmniboxSuggestionTransparencyOptionsDescription,
2820 kOsAll,
2821 FEATURE_VALUE_TYPE(omnibox::kOmniboxSuggestionTransparencyOptions)},
Travis Skarebcdb5ed32018-08-17 01:49:402822 {"omnibox-drive-suggestions",
2823 flag_descriptions::kOmniboxDriveSuggestionsName,
2824 flag_descriptions::kOmniboxDriveSuggestionsDescriptions, kOsDesktop,
manukda8584b2019-07-19 19:42:062825 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kDocumentProvider,
2826 kOmniboxDocumentProviderVariations,
2827 "OmniboxBundledExperimentV1")},
manuk4542e232019-09-11 19:27:352828 {"omnibox-autocomplete-titles",
2829 flag_descriptions::kOmniboxAutocompleteTitlesName,
2830 flag_descriptions::kOmniboxAutocompleteTitlesDescription, kOsDesktop,
2831 FEATURE_VALUE_TYPE(omnibox::kAutocompleteTitles)},
Michael Giuffridadc8030c2017-08-02 13:22:442832#endif // defined(OS_LINUX) || defined(OS_MACOSX) || defined(OS_WIN)
krb98783dd2017-03-01 15:45:132833
Justin Donnelly4e448cb2017-07-07 21:32:132834 {"enable-speculative-service-worker-start-on-query-input",
2835 flag_descriptions::kSpeculativeServiceWorkerStartOnQueryInputName,
2836 flag_descriptions::kSpeculativeServiceWorkerStartOnQueryInputDescription,
2837 kOsAll,
2838 FEATURE_VALUE_TYPE(omnibox::kSpeculativeServiceWorkerStartOnQueryInput)},
2839
Caitlin Fischer37e01232019-05-24 13:05:452840 // NOTE: This feature is generic and marked kOsAll but is used only in
2841 // CrOS for AndroidMessagesIntegration feature.
Azeem Arshad3b1ef73122018-08-30 02:04:152842 {"enable-service-worker-long-running-message",
2843 flag_descriptions::kServiceWorkerLongRunningMessageName,
2844 flag_descriptions::kServiceWorkerLongRunningMessageDescription, kOsAll,
2845 FEATURE_VALUE_TYPE(features::kServiceWorkerLongRunningMessage)},
2846
Matt Falkenhagen8af3b7e2019-10-01 14:44:162847 {"enable-service-worker-on-ui", flag_descriptions::kServiceWorkerOnUIName,
2848 flag_descriptions::kServiceWorkerOnUIDescription, kOsAll,
2849 FEATURE_VALUE_TYPE(features::kServiceWorkerOnUI)},
2850
dtseng431540d2017-03-14 22:17:442851#if defined(OS_CHROMEOS)
Mattias Nissler6bb633f2019-02-13 23:41:462852 {"scheduler-configuration", flag_descriptions::kSchedulerConfigurationName,
2853 flag_descriptions::kSchedulerConfigurationDescription, kOsCrOS,
2854 MULTI_VALUE_TYPE(kSchedulerConfigurationChoices)},
sammiequond5837762017-03-16 21:14:592855#endif // OS_CHROMEOS
2856
jwanda1582bcf2017-03-30 04:33:482857#if defined(OS_ANDROID)
Lei Tianbd5a3bf2018-02-28 19:01:162858 {"enable-command-line-on-non-rooted-devices",
2859 flag_descriptions::kEnableCommandLineOnNonRootedName,
2860 flag_descriptions::kEnableCommandLineOnNoRootedDescription, kOsAndroid,
2861 FEATURE_VALUE_TYPE(chrome::android::kCommandLineOnNonRooted)},
2862#endif // OS_ANDROID
2863
2864#if defined(OS_ANDROID)
Sinan Sahin3bafe272019-03-11 17:03:062865 {"enable-revamped-context-menu",
2866 flag_descriptions::kEnableRevampedContextMenuName,
2867 flag_descriptions::kEnableRevampedContextMenuDescription, kOsAndroid,
2868 FEATURE_VALUE_TYPE(chrome::android::kRevampedContextMenu)},
2869#endif // OS_ANDROID
2870
gcomanici8cabc77f2017-04-27 20:04:542871 {"omnibox-display-title-for-current-url",
2872 flag_descriptions::kOmniboxDisplayTitleForCurrentUrlName,
Gheorghe Comanicia0837522017-12-01 20:20:002873 flag_descriptions::kOmniboxDisplayTitleForCurrentUrlDescription, kOsAll,
2874 FEATURE_VALUE_TYPE(omnibox::kDisplayTitleForCurrentUrl)},
gcomanici8cabc77f2017-04-27 20:04:542875
Christopher Cameronceb8727d2017-09-07 23:53:162876 {"force-color-profile", flag_descriptions::kForceColorProfileName,
2877 flag_descriptions::kForceColorProfileDescription, kOsAll,
2878 MULTI_VALUE_TYPE(kForceColorProfileChoices)},
2879
alexander.shalamov588eca42017-04-20 13:32:422880#if defined(OS_ANDROID)
2881 {"enable-webnfc", flag_descriptions::kEnableWebNfcName,
2882 flag_descriptions::kEnableWebNfcDescription, kOsAndroid,
2883 FEATURE_VALUE_TYPE(features::kWebNfc)},
2884#endif
2885
tbansald3e08ca62017-05-04 19:51:092886 {"force-effective-connection-type",
2887 flag_descriptions::kForceEffectiveConnectionTypeName,
2888 flag_descriptions::kForceEffectiveConnectionTypeDescription, kOsAll,
2889 MULTI_VALUE_TYPE(kForceEffectiveConnectionTypeChoices)},
2890
Alison Maherc07a3fb2019-10-07 21:25:032891 {"forced-colors", flag_descriptions::kForcedColorsName,
2892 flag_descriptions::kForcedColorsDescription, kOsAll,
2893 FEATURE_VALUE_TYPE(features::kForcedColors)},
2894
Alexei Filippov522a5222019-03-29 03:33:182895 {"memlog", flag_descriptions::kMemlogName,
2896 flag_descriptions::kMemlogDescription, kOsAll,
2897 MULTI_VALUE_TYPE(kMemlogModeChoices)},
erikchen14046432017-08-17 19:55:592898
Alexei Filippov522a5222019-03-29 03:33:182899 {"memlog-sampling-rate", flag_descriptions::kMemlogSamplingRateName,
2900 flag_descriptions::kMemlogSamplingRateDescription, kOsAll,
2901 MULTI_VALUE_TYPE(kMemlogSamplingRateChoices)},
erikchen8bc20d82018-02-14 03:21:512902
Alexei Filippov522a5222019-03-29 03:33:182903 {"memlog-stack-mode", flag_descriptions::kMemlogStackModeName,
2904 flag_descriptions::kMemlogStackModeDescription, kOsAll,
2905 MULTI_VALUE_TYPE(kMemlogStackModeChoices)},
Erik Chen3303fd0232018-01-11 20:29:052906
Tommy C. Lie4194b732018-09-28 22:21:512907 {"omnibox-ui-hide-steady-state-url-scheme",
2908 flag_descriptions::kOmniboxUIHideSteadyStateUrlSchemeName,
2909 flag_descriptions::kOmniboxUIHideSteadyStateUrlSchemeDescription, kOsAll,
Tommy C. Li7a292252018-10-29 22:40:252910 FEATURE_VALUE_TYPE(omnibox::kHideSteadyStateUrlScheme)},
Tommy C. Lie4194b732018-09-28 22:21:512911
2912 {"omnibox-ui-hide-steady-state-url-trivial-subdomains",
2913 flag_descriptions::kOmniboxUIHideSteadyStateUrlTrivialSubdomainsName,
Tommy C. Lid79d4402017-12-22 22:49:122914 flag_descriptions::
Tommy C. Lie4194b732018-09-28 22:21:512915 kOmniboxUIHideSteadyStateUrlTrivialSubdomainsDescription,
Tommy C. Li7a292252018-10-29 22:40:252916 kOsAll, FEATURE_VALUE_TYPE(omnibox::kHideSteadyStateUrlTrivialSubdomains)},
Tommy C. Lid79d4402017-12-22 22:49:122917
Tommy C. Libef94ee02018-10-17 19:56:362918 {"omnibox-ui-hide-steady-state-url-path-query-and-ref",
2919 flag_descriptions::kOmniboxUIHideSteadyStateUrlPathQueryAndRefName,
2920 flag_descriptions::kOmniboxUIHideSteadyStateUrlPathQueryAndRefDescription,
Tommy C. Li7a292252018-10-29 22:40:252921 kOsAll, FEATURE_VALUE_TYPE(omnibox::kHideSteadyStateUrlPathQueryAndRef)},
Tommy C. Libef94ee02018-10-17 19:56:362922
Tommy C. Lib20aec72018-11-19 21:38:232923 {"omnibox-ui-one-click-unelide",
2924 flag_descriptions::kOmniboxUIOneClickUnelideName,
2925 flag_descriptions::kOmniboxUIOneClickUnelideDescription, kOsAll,
2926 FEATURE_VALUE_TYPE(omnibox::kOneClickUnelide)},
Tommy C. Li8875a442017-08-23 00:10:592927
tommyclia5a538f92017-05-15 19:09:382928 {"omnibox-ui-max-autocomplete-matches",
2929 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName,
Patrick Noland2b4968b2019-06-27 14:50:262930 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription,
2931 kOsDesktop | kOsAndroid,
tommyclia5a538f92017-05-15 19:09:382932 FEATURE_WITH_PARAMS_VALUE_TYPE(
2933 omnibox::kUIExperimentMaxAutocompleteMatches,
2934 kOmniboxUIMaxAutocompleteMatchesVariations,
Patrick Noland9e1fc5052019-07-31 00:24:112935 "OmniboxBundledExperimentV1")},
tommyclia5a538f92017-05-15 19:09:382936
Kevin Baileycd6889922019-05-30 17:22:552937 {"omnibox-max-url-matches", flag_descriptions::kOmniboxMaxURLMatchesName,
2938 flag_descriptions::kOmniboxMaxURLMatchesDescription, kOsAll,
2939 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kOmniboxMaxURLMatches,
2940 kOmniboxMaxURLMatchesVariations,
2941 "OmniboxMaxURLMatchesVariations")},
2942
Tommy C. Liba4e66ef2019-02-12 21:33:282943 {"omnibox-ui-show-suggestion-favicons",
2944 flag_descriptions::kOmniboxUIShowSuggestionFaviconsName,
Tomasz Wiszkowski4af1f7352019-04-08 16:46:152945 flag_descriptions::kOmniboxUIShowSuggestionFaviconsDescription,
2946 kOsDesktop | kOsAndroid,
Tommy C. Liba4e66ef2019-02-12 21:33:282947 FEATURE_VALUE_TYPE(omnibox::kUIExperimentShowSuggestionFavicons)},
2948
Justin Donnelly65c9e8b2017-10-01 05:15:012949 {"omnibox-ui-swap-title-and-url",
2950 flag_descriptions::kOmniboxUISwapTitleAndUrlName,
2951 flag_descriptions::kOmniboxUISwapTitleAndUrlDescription, kOsDesktop,
2952 FEATURE_VALUE_TYPE(omnibox::kUIExperimentSwapTitleAndUrl)},
2953
Tomasz Wiszkowski947f6d0d2019-03-15 22:27:252954 {"omnibox-zero-suggestions-on-ntp",
2955 flag_descriptions::kOmniboxZeroSuggestionsOnNTPName,
Moe Ahmadid8e09be2019-08-30 03:26:352956 flag_descriptions::kOmniboxZeroSuggestionsOnNTPDescription,
2957 kOsDesktop | kOsAndroid,
Tomasz Wiszkowski947f6d0d2019-03-15 22:27:252958 FEATURE_VALUE_TYPE(omnibox::kZeroSuggestionsOnNTP)},
Tomasz Wiszkowski947f6d0d2019-03-15 22:27:252959
Moe Ahmadi4005ec92019-09-09 16:55:532960 {"omnibox-zero-suggestions-on-ntp-realbox",
2961 flag_descriptions::kOmniboxZeroSuggestionsOnNTPRealboxName,
2962 flag_descriptions::kOmniboxZeroSuggestionsOnNTPRealboxDescription,
2963 kOsDesktop, FEATURE_VALUE_TYPE(omnibox::kZeroSuggestionsOnNTPRealbox)},
2964
Tommy Li1d03b9bf2019-09-23 23:46:342965 {"omnibox-zero-suggestions-on-serp",
2966 flag_descriptions::kOmniboxZeroSuggestionsOnSERPName,
2967 flag_descriptions::kOmniboxZeroSuggestionsOnSERPDescription, kOsDesktop,
2968 FEATURE_VALUE_TYPE(omnibox::kZeroSuggestionsOnSERP)},
2969
manuk2e55a7b2019-02-12 20:08:232970 {"omnibox-material-design-weather-icons",
2971 flag_descriptions::kOmniboxMaterialDesignWeatherIconsName,
2972 flag_descriptions::kOmniboxMaterialDesignWeatherIconsDescription,
2973 kOsDesktop,
2974 FEATURE_VALUE_TYPE(omnibox::kOmniboxMaterialDesignWeatherIcons)},
2975
Patrick Noland9e1fc5052019-07-31 00:24:112976 {"omnibox-disable-instant-extended-limit",
2977 flag_descriptions::kOmniboxDisableInstantExtendedLimitName,
2978 flag_descriptions::kOmniboxDisableInstantExtendedLimitDescription, kOsAll,
2979 FEATURE_VALUE_TYPE(omnibox::kOmniboxDisableInstantExtendedLimit)},
2980
Claudio Magni81326f92017-09-01 05:21:182981 {"use-new-accept-language-header",
2982 flag_descriptions::kUseNewAcceptLanguageHeaderName,
2983 flag_descriptions::kUseNewAcceptLanguageHeaderDescription, kOsAll,
2984 FEATURE_VALUE_TYPE(features::kUseNewAcceptLanguageHeader)},
2985
yhanadac5bff5b2017-05-18 06:37:092986#if defined(OS_CHROMEOS)
Gabrielle Paladoaebf7ca2019-01-16 07:07:062987 {"handwriting-gesture", flag_descriptions::kHandwritingGestureName,
Elly Fong-Jones94fc8632019-08-14 18:23:032988 flag_descriptions::kHandwritingGestureDescription, kOsCrOS,
Gabrielle Paladoaebf7ca2019-01-16 07:07:062989 FEATURE_VALUE_TYPE(features::kHandwritingGesture)},
alemate2cb0d752017-08-11 05:22:162990#endif // OS_CHROMEOS
yhanadac5bff5b2017-05-18 06:37:092991
John Abd-El-Malek8067cc02017-12-04 23:23:202992 {"network-service-in-process",
2993 flag_descriptions::kEnableNetworkServiceInProcessName,
2994 flag_descriptions::kEnableNetworkServiceInProcessDescription, kOsAll,
2995 FEATURE_VALUE_TYPE(features::kNetworkServiceInProcess)},
2996
Takashi Toyoshima2e01e692018-11-16 03:23:272997 {"out-of-blink-cors", flag_descriptions::kEnableOutOfBlinkCorsName,
2998 flag_descriptions::kEnableOutOfBlinkCorsDescription, kOsAll,
2999 FEATURE_VALUE_TYPE(network::features::kOutOfBlinkCors)},
Yutaka Hirano98be3272017-08-07 17:55:393000
Yutaka Hirano4903cf92019-07-17 04:30:313001 {"cross-origin-embedder-policy",
3002 flag_descriptions::kCrossOriginEmbedderPolicyName,
3003 flag_descriptions::kCrossOriginEmbedderPolicyDescription, kOsAll,
3004 FEATURE_VALUE_TYPE(network::features::kCrossOriginEmbedderPolicy)},
3005
Yutaka Hiranoaa0e62e2019-09-05 11:01:043006 {"disable-keepalive-fetch", flag_descriptions::kDisableKeepaliveFetchName,
3007 flag_descriptions::kDisableKeepaliveFetchDescription, kOsAll,
3008 FEATURE_VALUE_TYPE(network::features::kDisableKeepaliveFetch)},
3009
Dominic Farolino780df942019-09-04 06:49:443010 {"prefetch-privacy-changes", flag_descriptions::kPrefetchPrivacyChangesName,
3011 flag_descriptions::kPrefetchPrivacyChangesDescription, kOsAll,
3012 FEATURE_VALUE_TYPE(blink::features::kPrefetchPrivacyChanges)},
Dominic Farolino693fd72d2019-08-05 11:09:443013
Dominic Farolino516f7f42019-08-30 12:33:243014 {"prefetch-main-resource-network-isolation-key",
3015 flag_descriptions::kPrefetchMainResourceNetworkIsolationKeyName,
3016 flag_descriptions::kPrefetchMainResourceNetworkIsolationKeyDescription,
3017 kOsAll,
3018 FEATURE_VALUE_TYPE(
3019 network::features::kPrefetchMainResourceNetworkIsolationKey)},
3020
Benoit Lizeab08362c2017-07-19 14:50:543021#if defined(OS_ANDROID)
3022 {"omnibox-spare-renderer", flag_descriptions::kOmniboxSpareRendererName,
3023 flag_descriptions::kOmniboxSpareRendererDescription, kOsAndroid,
3024 FEATURE_VALUE_TYPE(chrome::android::kOmniboxSpareRenderer)},
3025#endif
3026
Takashi Toyoshima14f64f562017-07-19 08:38:203027#if defined(OS_CHROMEOS)
Ahmed Fakhry4f567e692018-10-16 15:51:083028 {"double-tap-to-zoom-in-tablet-mode",
3029 flag_descriptions::kDoubleTapToZoomInTabletModeName,
3030 flag_descriptions::kDoubleTapToZoomInTabletModeDescription, kOsCrOS,
3031 FEATURE_VALUE_TYPE(features::kDoubleTapToZoomInTabletMode)},
Toni Barzic0f3440a62017-07-19 20:19:313032#endif // defined(OS_CHROMEOS)
3033
Taylor Bergquistbcc15462018-12-05 00:36:563034 {"tab-groups", flag_descriptions::kTabGroupsName,
3035 flag_descriptions::kTabGroupsDescription, kOsDesktop,
3036 FEATURE_VALUE_TYPE(features::kTabGroups)},
3037
Taylor Bergquist187a9f92019-08-12 22:13:153038 {"new-tabstrip-animation", flag_descriptions::kNewTabstripAnimationName,
3039 flag_descriptions::kNewTabstripAnimationDescription, kOsDesktop,
3040 FEATURE_VALUE_TYPE(features::kNewTabstripAnimation)},
3041
Charlene Yan0ccd7f52019-04-12 23:20:593042 {"scrollable-tabstrip", flag_descriptions::kScrollableTabStripName,
3043 flag_descriptions::kScrollableTabStripDescription, kOsDesktop,
3044 FEATURE_VALUE_TYPE(features::kScrollableTabStrip)},
3045
Dana Fried07b03c62019-07-31 19:20:563046 {"tab-outlines-in-low-contrast-themes",
3047 flag_descriptions::kTabOutlinesInLowContrastThemesName,
3048 flag_descriptions::kTabOutlinesInLowContrastThemesDescription, kOsDesktop,
3049 FEATURE_VALUE_TYPE(features::kTabOutlinesInLowContrastThemes)},
3050
Dana Friedac7b8ff2019-09-18 21:27:573051 {"prominent-dark-mode-active-tab-title",
3052 flag_descriptions::kProminentDarkModeActiveTabTitleName,
3053 flag_descriptions::kProminentDarkModeActiveTabTitleDescription, kOsDesktop,
3054 FEATURE_VALUE_TYPE(features::kProminentDarkModeActiveTabTitle)},
3055
Dmitry Skiba9c3efa72017-07-20 22:01:143056#if defined(OS_ANDROID)
Wei-Yin Chen (陳威尹)41b22412017-07-21 02:51:183057 {"enable-reader-mode-in-cct", flag_descriptions::kReaderModeInCCTName,
3058 flag_descriptions::kReaderModeInCCTDescription, kOsAndroid,
3059 FEATURE_VALUE_TYPE(chrome::android::kReaderModeInCCT)},
3060#endif // !defined(OS_ANDROID)
3061
Amber Won478561d2017-08-19 01:02:593062 {"click-to-open-pdf", flag_descriptions::kClickToOpenPDFName,
3063 flag_descriptions::kClickToOpenPDFDescription, kOsAll,
3064 FEATURE_VALUE_TYPE(features::kClickToOpenPDFPlaceholder)},
3065
lanwei83f54452018-06-21 23:51:043066#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
Dave Tapuskadd43469d2017-08-22 22:15:533067 {"direct-manipulation-stylus",
3068 flag_descriptions::kDirectManipulationStylusName,
lanwei83f54452018-06-21 23:51:043069 flag_descriptions::kDirectManipulationStylusDescription,
3070 kOsWin | kOsMac | kOsLinux,
Dave Tapuskadd43469d2017-08-22 22:15:533071 FEATURE_VALUE_TYPE(features::kDirectManipulationStylus)},
lanwei83f54452018-06-21 23:51:043072#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
Dave Tapuskadd43469d2017-08-22 22:15:533073
Chris Pickel3a227ae62017-08-24 10:47:263074#if !defined(OS_ANDROID)
Gayane Petrosyan556e9172019-05-10 18:13:473075 {"chrome-colors", flag_descriptions::kChromeColorsName,
3076 flag_descriptions::kChromeColorsDescription, kOsDesktop,
3077 FEATURE_VALUE_TYPE(features::kChromeColors)},
3078
Gayane Petrosyanc2ad4362019-07-30 05:43:263079 {"chrome-colors-custom-color-picker",
3080 flag_descriptions::kChromeColorsCustomColorPickerName,
3081 flag_descriptions::kChromeColorsCustomColorPickerDescription, kOsDesktop,
3082 FEATURE_VALUE_TYPE(features::kChromeColorsCustomColorPicker)},
3083
Dan Beamfa47cc32019-10-17 20:20:583084 {"ntp-confirm-suggestion-removals",
3085 flag_descriptions::kNtpConfirmSuggestionRemovalsName,
3086 flag_descriptions::kNtpConfirmSuggestionRemovalsDescription, kOsDesktop,
3087 FEATURE_VALUE_TYPE(features::kConfirmNtpSuggestionRemovals)},
3088
Kyle Milka24687352019-04-11 21:13:083089 {"ntp-customization-menu-v2",
3090 flag_descriptions::kNtpCustomizationMenuV2Name,
3091 flag_descriptions::kNtpCustomizationMenuV2Description, kOsDesktop,
3092 FEATURE_VALUE_TYPE(features::kNtpCustomizationMenuV2)},
Dan Beam8388f3d2019-05-11 01:51:053093
Dan Beama76152f42019-09-24 03:58:083094 {"ntp-dismiss-promos", flag_descriptions::kNtpDismissPromosName,
3095 flag_descriptions::kNtpDismissPromosDescription, kOsDesktop,
3096 FEATURE_VALUE_TYPE(features::kDismissNtpPromos)},
3097
Dan Beam697798fa2019-08-28 03:38:073098 {"ntp-realbox", flag_descriptions::kNtpRealboxName,
3099 flag_descriptions::kNtpRealboxDescription, kOsDesktop,
3100 FEATURE_VALUE_TYPE(features::kNtpRealbox)},
Esmael El-Moslimany3cb921e2019-09-12 17:50:283101
3102 {"webui-a11y-enhancements", flag_descriptions::kWebUIA11yEnhancementsName,
3103 flag_descriptions::kWebUIA11yEnhancementsDescription, kOsDesktop,
3104 FEATURE_VALUE_TYPE(features::kWebUIA11yEnhancements)},
Chris Pickel3a227ae62017-08-24 10:47:263105#endif // !defined(OS_ANDROID)
3106
Tomas Popelaafffa972018-11-13 20:42:053107#if defined(DCHECK_IS_CONFIGURABLE)
Weza6ca5b92018-03-23 19:03:073108 {"dcheck-is-fatal", flag_descriptions::kDcheckIsFatalName,
3109 flag_descriptions::kDcheckIsFatalDescription, kOsWin,
3110 FEATURE_VALUE_TYPE(base::kDCheckIsFatalFeature)},
Tomas Popelaafffa972018-11-13 20:42:053111#endif // defined(DCHECK_IS_CONFIGURABLE)
Wez6656c572017-08-29 22:29:583112
F#m59d036e2017-09-13 07:22:173113 {"enable-pixel-canvas-recording",
3114 flag_descriptions::kEnablePixelCanvasRecordingName,
Bret Sepulveda4dccec92018-03-31 00:02:243115 flag_descriptions::kEnablePixelCanvasRecordingDescription, kOsDesktop,
F#m59d036e2017-09-13 07:22:173116 FEATURE_VALUE_TYPE(features::kEnablePixelCanvasRecording)},
Sammie Quonef6b4882017-09-14 16:50:053117
Xing Liu5400a002017-09-15 21:48:293118 {"enable-parallel-downloading", flag_descriptions::kParallelDownloadingName,
3119 flag_descriptions::kParallelDownloadingDescription, kOsAll,
Min Qind461ee462018-03-09 19:39:153120 FEATURE_VALUE_TYPE(download::features::kParallelDownloading)},
Xing Liu5400a002017-09-15 21:48:293121
Ella Geb58eed12019-09-05 23:37:013122 {"enable-pointer-lock-options", flag_descriptions::kPointerLockOptionsName,
3123 flag_descriptions::kPointerLockOptionsDescription, kOsDesktop,
3124 FEATURE_VALUE_TYPE(features::kPointerLockOptions)},
3125
Miriam Gershenson8cf1397222018-01-23 22:48:293126#if defined(OS_ANDROID)
3127 {"enable-async-dns", flag_descriptions::kAsyncDnsName,
3128 flag_descriptions::kAsyncDnsDescription, kOsAndroid,
3129 FEATURE_VALUE_TYPE(features::kAsyncDns)},
3130#endif // defined(OS_ANDROID)
3131
Wei-Yin Chen (陳威尹)80683452017-10-02 19:08:253132#if defined(OS_ANDROID)
Shakti Sahu07b052712019-04-02 00:39:373133 {"download-auto-resumption-native",
3134 flag_descriptions::kDownloadAutoResumptionNativeName,
3135 flag_descriptions::kDownloadAutoResumptionNativeDescription, kOsAndroid,
3136 FEATURE_VALUE_TYPE(download::features::kDownloadAutoResumptionNative)},
3137#endif
3138
Shakti Sahu5a046f62019-03-12 19:25:343139 {"enable-new-download-backend",
3140 flag_descriptions::kEnableNewDownloadBackendName,
3141 flag_descriptions::kEnableNewDownloadBackendDescription, kOsAll,
3142 FEATURE_VALUE_TYPE(
3143 download::features::kUseDownloadOfflineContentProvider)},
3144
Dan Harrington541db9e2018-07-30 18:36:303145#if defined(OS_ANDROID)
Hesen Zhangf7ad6142019-03-12 23:48:313146 {"download-rename", flag_descriptions::kDownloadRenameName,
3147 flag_descriptions::kDownloadRenameDescription, kOsAndroid,
3148 FEATURE_VALUE_TYPE(chrome::android::kDownloadRename)},
3149#endif
3150
Hesen Zhanga555a8d72019-10-18 00:05:373151#if defined(OS_ANDROID)
3152 {"update-notification-scheduling-integration",
3153 flag_descriptions::kUpdateNotificationSchedulingIntegrationName,
3154 flag_descriptions::kUpdateNotificationSchedulingIntegrationDescription,
3155 kOsAndroid,
3156 FEATURE_VALUE_TYPE(
3157 chrome::android::kUpdateNotificationSchedulingIntegration)},
3158#endif
3159
Min Qin3a3945262019-05-30 01:49:003160 {"download-resumption-without-strong-validators",
3161 flag_descriptions::kDownloadResumptionWithoutStrongValidatorsName,
3162 flag_descriptions::kDownloadResumptionWithoutStrongValidatorsDescription,
3163 kOsAll,
3164 FEATURE_VALUE_TYPE(
3165 download::features::kAllowDownloadResumptionWithoutStrongValidators)},
3166
Caroline Risinge121c2b2018-12-03 20:19:293167 {"tab-hover-cards", flag_descriptions::kTabHoverCardsName,
3168 flag_descriptions::kTabHoverCardsDescription, kOsDesktop,
Caroline Risinga14701de2019-03-18 18:54:553169 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kTabHoverCards,
3170 kTabHoverCardsFeatureVariations,
3171 "TabHoverCards")},
Caroline Risinge121c2b2018-12-03 20:19:293172
Dana Friedacaa8ef52019-02-08 02:20:353173 {"tab-hover-card-images", flag_descriptions::kTabHoverCardImagesName,
3174 flag_descriptions::kTabHoverCardImagesDescription, kOsDesktop,
3175 FEATURE_VALUE_TYPE(features::kTabHoverCardImages)},
3176
Shubhie Panicker56c99a22018-03-21 00:22:283177 {"stop-non-timers-in-background",
3178 flag_descriptions::kStopNonTimersInBackgroundName,
Scott Haseleya37af6ea2018-07-31 22:53:013179 flag_descriptions::kStopNonTimersInBackgroundDescription, kOsAll,
Scott Haseley7757f6c2018-08-03 14:33:233180 FEATURE_VALUE_TYPE(blink::features::kStopNonTimersInBackground)},
Shubhie Panicker56c99a22018-03-21 00:22:283181
Shubhie Panickerfaf082ed2018-01-03 04:49:153182 {"stop-in-background", flag_descriptions::kStopInBackgroundName,
Elly Fong-Jones94fc8632019-08-14 18:23:033183 flag_descriptions::kStopInBackgroundDescription, kOsAndroid,
Scott Haseley8eefdcd2018-08-22 16:50:193184 FEATURE_VALUE_TYPE(blink::features::kStopInBackground)},
Shubhie Panickerfaf082ed2018-01-03 04:49:153185
Jarryd5b6e5ce2019-08-23 19:15:483186 {"enable-storage-pressure-ui", flag_descriptions::kStoragePressureUIName,
3187 flag_descriptions::kStoragePressureUIDescription, kOsAll,
3188 FEATURE_VALUE_TYPE(features::kStoragePressureUI)},
3189
Bernhard Bauer5533f9912017-11-06 17:56:023190 {"enable-network-logging-to-file",
3191 flag_descriptions::kEnableNetworkLoggingToFileName,
3192 flag_descriptions::kEnableNetworkLoggingToFileDescription, kOsAll,
John Abd-El-Malek91243b32018-01-19 06:08:333193 SINGLE_VALUE_TYPE(network::switches::kLogNetLog)},
Becca Hughes59c05b42017-11-03 13:11:583194
Emily Starkbafa9062017-12-27 15:22:463195 {"enable-mark-http-as", flag_descriptions::kMarkHttpAsName,
3196 flag_descriptions::kMarkHttpAsDescription, kOsAll,
3197 FEATURE_WITH_PARAMS_VALUE_TYPE(
3198 security_state::features::kMarkHttpAsFeature,
3199 kMarkHttpAsFeatureVariations,
Christopher Thompson46cf6f82019-03-06 05:09:483200 "HTTPReallyBadFinal")},
Emily Starkbafa9062017-12-27 15:22:463201
Balazs Engedy00c5cea2018-03-30 15:36:393202#if !defined(OS_ANDROID)
3203 {"enable-web-authentication-testing-api",
3204 flag_descriptions::kEnableWebAuthenticationTestingAPIName,
3205 flag_descriptions::kEnableWebAuthenticationTestingAPIDescription,
3206 kOsDesktop, SINGLE_VALUE_TYPE(switches::kEnableWebAuthTestingAPI)},
3207#endif // !defined(OS_ANDROID)
3208
Jun Choi7ed708122018-06-15 21:13:543209#if !defined(OS_ANDROID)
Jun Choif6ffe492018-11-09 23:02:443210 {"enable-web-authentication-ble-support",
3211 flag_descriptions::kEnableWebAuthenticationBleSupportName,
3212 flag_descriptions::kEnableWebAuthenticationBleSupportDescription,
3213 kOsDesktop, FEATURE_VALUE_TYPE(features::kWebAuthBle)},
3214#endif // !defined(OS_ANDROID)
3215
Martin Kreichgauercd786f62019-01-24 05:52:583216#if !defined(OS_ANDROID)
Adam Langley7542a7b2019-10-04 02:00:553217 {"enable-web-authentication-cable-v2-support",
3218 flag_descriptions::kEnableWebAuthenticationCableV2SupportName,
3219 flag_descriptions::kEnableWebAuthenticationCableV2SupportDescription,
3220 kOsDesktop, FEATURE_VALUE_TYPE(device::kWebAuthPhoneSupport)},
Martin Kreichgauercd786f62019-01-24 05:52:583221#endif // !defined(OS_ANDROID)
3222
kylechar7051c092018-02-05 20:31:393223 {"enable-viz-display-compositor",
3224 flag_descriptions::kVizDisplayCompositorName,
kylechar29d85c442019-08-22 21:33:233225 flag_descriptions::kVizDisplayCompositorDescription, kOsCrOS,
kylechar7051c092018-02-05 20:31:393226 FEATURE_VALUE_TYPE(features::kVizDisplayCompositor)},
3227
David Roger6762a092018-01-31 15:55:073228 {"unified-consent", flag_descriptions::kUnifiedConsentName,
3229 flag_descriptions::kUnifiedConsentDescription, kOsAll,
Thomas Tangl460a58612018-11-30 12:06:523230 FEATURE_VALUE_TYPE(unified_consent::kUnifiedConsent)},
Jérôme Lebelfe1b2e02018-08-03 12:26:203231
Christopher Thompson75ff845d2018-02-01 20:12:463232 {"simplify-https-indicator", flag_descriptions::kSimplifyHttpsIndicatorName,
3233 flag_descriptions::kSimplifyHttpsIndicatorDescription, kOsDesktop,
Christopher Thompsonc26ef302019-06-07 01:55:453234 FEATURE_VALUE_TYPE(omnibox::kSimplifyHttpsIndicator)},
Christopher Thompson75ff845d2018-02-01 20:12:463235
James Forshawfd0ce342018-02-14 09:55:393236#if defined(OS_WIN)
3237 {"enable-gpu-appcontainer", flag_descriptions::kEnableGpuAppcontainerName,
3238 flag_descriptions::kEnableGpuAppcontainerDescription, kOsWin,
3239 ENABLE_DISABLE_VALUE_TYPE(
3240 service_manager::switches::kEnableGpuAppContainer,
3241 service_manager::switches::kDisableGpuAppContainer)},
3242#endif // OS_WIN
3243
Carlos IL766fbc882018-02-16 02:34:523244 {"BundledConnectionHelp", flag_descriptions::kBundledConnectionHelpName,
3245 flag_descriptions::kBundledConnectionHelpDescription, kOsAll,
3246 FEATURE_VALUE_TYPE(features::kBundledConnectionHelpFeature)},
3247
Troy Hildebrandt7228ad12018-02-23 21:18:243248 {"enable-query-in-omnibox", flag_descriptions::kQueryInOmniboxName,
Tommy C. Lid65704502018-08-16 17:52:313249 flag_descriptions::kQueryInOmniboxDescription, kOsAll,
3250 FEATURE_VALUE_TYPE(omnibox::kQueryInOmnibox)},
Troy Hildebrandt7228ad12018-02-23 21:18:243251
kylechar33079262019-07-05 02:51:043252 {"enable-viz-hit-test-surface-layer", flag_descriptions::kVizHitTestName,
Xianda Sunfa2a35922019-04-15 19:01:283253 flag_descriptions::kVizHitTestDescription, kOsAll,
kylechar33079262019-07-05 02:51:043254 FEATURE_VALUE_TYPE(features::kEnableVizHitTestSurfaceLayer)},
Ria Jiang6a129b982018-03-01 18:30:403255
Lei Zhangfc8ec942018-11-17 02:53:363256#if BUILDFLAG(ENABLE_PDF)
dstockwellcc759202019-01-11 00:42:123257#if defined(OS_CHROMEOS)
3258 {"pdf-annotations", flag_descriptions::kPdfAnnotations,
Elly Fong-Jones94fc8632019-08-14 18:23:033259 flag_descriptions::kPdfAnnotationsDescription, kOsCrOS,
dstockwellcc759202019-01-11 00:42:123260 FEATURE_VALUE_TYPE(chrome_pdf::features::kPDFAnnotations)},
3261#endif // defined(OS_CHROMEOS)
3262
Lei Zhang802201c2018-11-14 18:16:283263 {"pdf-form-save", flag_descriptions::kPdfFormSaveName,
3264 flag_descriptions::kPdfFormSaveDescription, kOsDesktop,
3265 FEATURE_VALUE_TYPE(chrome_pdf::features::kSaveEditedPDFForm)},
Lei Zhangfc8ec942018-11-17 02:53:363266#endif // BUILDFLAG(ENABLE_PDF)
Lei Zhang802201c2018-11-14 18:16:283267
Wei Li189867e2018-04-28 03:07:043268#if BUILDFLAG(ENABLE_PRINTING)
Wei Li790e7a8572018-03-23 01:31:553269 {"use-pdf-compositor-service-for-print",
3270 flag_descriptions::kUsePdfCompositorServiceName,
Lei Zhang8724b3c2019-01-24 22:27:083271 flag_descriptions::kUsePdfCompositorServiceDescription, kOsAll,
Wei Li790e7a8572018-03-23 01:31:553272 FEATURE_VALUE_TYPE(printing::features::kUsePdfCompositorServiceForPrint)},
Daniel Hosseinian7b57a422019-06-11 23:52:323273
3274 {"harfbuzz-pdf-subsetter", flag_descriptions::kHarfBuzzPDFSubsetterName,
3275 flag_descriptions::kHarfBuzzPDFSubsetterDescription, kOsAll,
3276 FEATURE_VALUE_TYPE(printing::features::kHarfBuzzPDFSubsetter)},
Lei Zhang48a4a5262018-04-17 20:18:443277#endif
Wei Li790e7a8572018-03-23 01:31:553278
Parastoo Geranmayeh0f5ebbc2019-01-21 21:01:093279 {"autofill-profile-client-validation",
3280 flag_descriptions::kAutofillProfileClientValidationName,
3281 flag_descriptions::kAutofillProfileClientValidationDescription, kOsAll,
3282 FEATURE_VALUE_TYPE(autofill::features::kAutofillProfileClientValidation)},
3283
Parastoo Geranmayeh25fccec22019-01-29 18:38:133284 {"autofill-profile-server-validation",
3285 flag_descriptions::kAutofillProfileServerValidationName,
3286 flag_descriptions::kAutofillProfileServerValidationDescription, kOsAll,
3287 FEATURE_VALUE_TYPE(autofill::features::kAutofillProfileServerValidation)},
3288
Parastoo Geranmayeha1895c12019-04-25 16:43:383289 {"autofill-reject-company-birthyear",
3290 flag_descriptions::kAutofillRejectCompanyBirthyearName,
3291 flag_descriptions::kAutofillRejectCompanyBirthyearDescription, kOsAll,
3292 FEATURE_VALUE_TYPE(autofill::features::kAutofillRejectCompanyBirthyear)},
3293
Moe Ahmadid3ddfcb2018-04-20 19:51:083294 {"autofill-restrict-formless-form-extraction",
3295 flag_descriptions::kAutofillRestrictUnownedFieldsToFormlessCheckoutName,
3296 flag_descriptions::
3297 kAutofillRestrictUnownedFieldsToFormlessCheckoutDescription,
Elly Fong-Jones94fc8632019-08-14 18:23:033298 kOsAll,
Moe Ahmadid3ddfcb2018-04-20 19:51:083299 FEATURE_VALUE_TYPE(
3300 autofill::features::kAutofillRestrictUnownedFieldsToFormlessCheckout)},
3301
Ryan Landay4242dbc22018-04-04 01:47:333302#if defined(OS_ANDROID)
Mia Glaese57c6b192019-08-05 20:40:403303 {"enable-start-surface", flag_descriptions::kStartSurfaceAndroidName,
3304 flag_descriptions::kStartSurfaceAndroidDescription, kOsAndroid,
3305 FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kStartSurfaceAndroid,
3306 kStartSurfaceAndroidVariations,
3307 "StartSurfaceAndroid")},
gogerald939debf2019-07-16 17:31:483308
David Maunder915c7ef2019-09-20 16:22:083309 {"enable-close-tab-suggestions",
3310 flag_descriptions::kCloseTabSuggestionsName,
3311 flag_descriptions::kCloseTabSuggestionsDescription, kOsAndroid,
3312 FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCloseTabSuggestions,
David Maunderc1dfc022019-08-27 18:00:373313 kCloseTabSuggestionsStaleVariations,
David Maunder915c7ef2019-09-20 16:22:083314 "CloseSuggestionsTab")},
David Maunderc1dfc022019-08-27 18:00:373315
Ryan Landay4242dbc22018-04-04 01:47:333316 {"enable-horizontal-tab-switcher",
3317 flag_descriptions::kHorizontalTabSwitcherAndroidName,
3318 flag_descriptions::kHorizontalTabSwitcherAndroidDescription, kOsAndroid,
3319 FEATURE_VALUE_TYPE(chrome::android::kHorizontalTabSwitcherAndroid)},
Yusuf Ozuysal67f05a02019-02-15 19:30:523320
3321 {"enable-tab-grid-layout", flag_descriptions::kTabGridLayoutAndroidName,
3322 flag_descriptions::kTabGridLayoutAndroidDescription, kOsAndroid,
Yue Zhangd7013b532019-06-20 00:06:223323 FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabGridLayoutAndroid,
3324 kTabGridLayoutAndroidVariations,
3325 "TabGridLayoutAndroid")},
Yusuf Ozuysal436d90b82019-03-15 22:17:583326
3327 {"enable-tab-groups", flag_descriptions::kTabGroupsAndroidName,
3328 flag_descriptions::kTabGroupsAndroidDescription, kOsAndroid,
3329 FEATURE_VALUE_TYPE(chrome::android::kTabGroupsAndroid)},
Ryan Landay4242dbc22018-04-04 01:47:333330
Yue Zhang2834d6b2019-05-01 17:30:283331 {"enable-tab-groups-ui-improvements",
3332 flag_descriptions::kTabGroupsUiImprovementsAndroidName,
3333 flag_descriptions::kTabGroupsUiImprovementsAndroidDescription, kOsAndroid,
3334 FEATURE_VALUE_TYPE(chrome::android::kTabGroupsUiImprovementsAndroid)},
3335
Matt Simmons2048b2a2018-12-20 20:12:563336 {"enable-tab-switcher-on-return",
3337 flag_descriptions::kTabSwitcherOnReturnName,
3338 flag_descriptions::kTabSwitcherOnReturnDescription, kOsAndroid,
3339 FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kTabSwitcherOnReturn,
3340 kTabSwitcherOnReturnVariations,
3341 "TabSwitcherOnReturn")},
Matt Simmons1fd0c9f2019-04-15 19:08:223342
Wei-Yin Chen (陳威尹)102222492019-05-22 19:27:093343 {"enable-tab-to-gts-animation",
3344 flag_descriptions::kTabToGTSAnimationAndroidName,
3345 flag_descriptions::kTabToGTSAnimationAndroidDescription, kOsAndroid,
3346 FEATURE_VALUE_TYPE(chrome::android::kTabToGTSAnimation)},
3347
Matt Simmons1fd0c9f2019-04-15 19:08:223348 {"enable-tab-engagement-reporting",
3349 flag_descriptions::kTabEngagementReportingName,
3350 flag_descriptions::kTabEngagementReportingDescription, kOsAndroid,
3351 FEATURE_VALUE_TYPE(chrome::android::kTabEngagementReportingAndroid)},
3352#endif // OS_ANDROID
Matt Simmons2048b2a2018-12-20 20:12:563353
Hiroshige Hayashizaki3ee116af2019-03-05 10:11:223354 {"enable-built-in-module-all", flag_descriptions::kBuiltInModuleAllName,
3355 flag_descriptions::kBuiltInModuleAllDescription, kOsAll,
3356 FEATURE_VALUE_TYPE(features::kBuiltInModuleAll)},
Hiroshige Hayashizaki99d5821e2018-05-02 04:25:413357
Mason Freedc166cf12019-06-14 19:04:263358 {"enable-backdrop-filter", flag_descriptions::kEnableCSSBackdropFilterName,
3359 flag_descriptions::kEnableCSSBackdropFilterDescription, kOsAll,
3360 FEATURE_VALUE_TYPE(blink::features::kCSSBackdropFilter)},
3361
Vladimir Levin43758ecc2019-05-09 18:04:033362 {"enable-display-locking", flag_descriptions::kEnableDisplayLockingName,
3363 flag_descriptions::kEnableDisplayLockingDescription, kOsAll,
3364 FEATURE_VALUE_TYPE(blink::features::kDisplayLocking)},
3365
Ian Kilpatricke68ef11a2018-07-04 03:52:103366 {"enable-layout-ng", flag_descriptions::kEnableLayoutNGName,
3367 flag_descriptions::kEnableLayoutNGDescription, kOsAll,
3368 FEATURE_VALUE_TYPE(blink::features::kLayoutNG)},
3369
rajendrant793ff512018-08-10 17:07:593370 {"enable-lazy-image-loading",
3371 flag_descriptions::kEnableLazyImageLoadingName,
3372 flag_descriptions::kEnableLazyImageLoadingDescription, kOsAll,
Scott Littledf79081b2019-05-29 23:03:393373 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kLazyImageLoading,
3374 kLazyImageLoadingVariations,
3375 "LazyLoad")},
rajendrant793ff512018-08-10 17:07:593376
Scott Littled0fd2d002018-04-13 03:37:263377 {"enable-lazy-frame-loading",
3378 flag_descriptions::kEnableLazyFrameLoadingName,
3379 flag_descriptions::kEnableLazyFrameLoadingDescription, kOsAll,
Scott Littledf79081b2019-05-29 23:03:393380 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kLazyFrameLoading,
3381 kLazyFrameLoadingVariations,
3382 "LazyLoad")},
wutao7bfb1f22018-04-19 01:30:583383
Roger McFarlane2eceba982018-05-18 01:37:113384 {"autofill-cache-query-responses",
3385 flag_descriptions::kAutofillCacheQueryResponsesName,
3386 flag_descriptions::kAutofillCacheQueryResponsesDescription, kOsAll,
3387 FEATURE_VALUE_TYPE(autofill::features::kAutofillCacheQueryResponses)},
Fabio Tirelo3773dea2018-09-11 15:21:523388
Jeffrey Cohen05cdafa392018-08-15 20:49:173389 {"autofill-enable-company-name",
3390 flag_descriptions::kAutofillEnableCompanyNameName,
Elly Fong-Jones94fc8632019-08-14 18:23:033391 flag_descriptions::kAutofillEnableCompanyNameDescription, kOsAll,
Jeffrey Cohen05cdafa392018-08-15 20:49:173392 FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableCompanyName)},
siyua1d492612019-03-14 09:27:453393
3394 {"autofill-enable-toolbar-status-chip",
3395 flag_descriptions::kAutofillEnableToolbarStatusChipName,
3396 flag_descriptions::kAutofillEnableToolbarStatusChipDescription,
3397 kOsMac | kOsWin | kOsLinux,
3398 FEATURE_VALUE_TYPE(autofill::features::kAutofillEnableToolbarStatusChip)},
3399
Roger McFarlane1a37d7b2018-04-20 22:45:193400 {"autofill-enforce-min-required-fields-for-heuristics",
3401 flag_descriptions::kAutofillEnforceMinRequiredFieldsForHeuristicsName,
3402 flag_descriptions::
3403 kAutofillEnforceMinRequiredFieldsForHeuristicsDescription,
Elly Fong-Jones94fc8632019-08-14 18:23:033404 kOsAll,
Roger McFarlane1a37d7b2018-04-20 22:45:193405 FEATURE_VALUE_TYPE(
3406 autofill::features::kAutofillEnforceMinRequiredFieldsForHeuristics)},
3407 {"autofill-enforce-min-required-fields-for-query",
3408 flag_descriptions::kAutofillEnforceMinRequiredFieldsForQueryName,
3409 flag_descriptions::kAutofillEnforceMinRequiredFieldsForQueryDescription,
Elly Fong-Jones94fc8632019-08-14 18:23:033410 kOsAll,
Roger McFarlane1a37d7b2018-04-20 22:45:193411 FEATURE_VALUE_TYPE(
3412 autofill::features::kAutofillEnforceMinRequiredFieldsForQuery)},
3413 {"autofill-enforce-min-required-fields-for-upload",
3414 flag_descriptions::kAutofillEnforceMinRequiredFieldsForUploadName,
3415 flag_descriptions::kAutofillEnforceMinRequiredFieldsForUploadDescription,
Elly Fong-Jones94fc8632019-08-14 18:23:033416 kOsAll,
Roger McFarlane1a37d7b2018-04-20 22:45:193417 FEATURE_VALUE_TYPE(
3418 autofill::features::kAutofillEnforceMinRequiredFieldsForUpload)},
Anne Lime625362e2018-08-29 03:13:253419 {"autofill-no-local-save-on-upload-success",
3420 flag_descriptions::kAutofillNoLocalSaveOnUploadSuccessName,
3421 flag_descriptions::kAutofillNoLocalSaveOnUploadSuccessDescription, kOsAll,
3422 FEATURE_VALUE_TYPE(
3423 autofill::features::kAutofillNoLocalSaveOnUploadSuccess)},
Roger McFarlanee193ab122018-11-22 20:55:073424 {"autofill-rich-metadata-queries",
3425 flag_descriptions::kAutofillRichMetadataQueriesName,
Elly Fong-Jones94fc8632019-08-14 18:23:033426 flag_descriptions::kAutofillRichMetadataQueriesDescription, kOsAll,
Roger McFarlanee193ab122018-11-22 20:55:073427 FEATURE_VALUE_TYPE(autofill::features::kAutofillRichMetadataQueries)},
Ian Clelland37a985d2018-05-04 02:43:133428 {"enable-experimental-productivity-features",
3429 flag_descriptions::kExperimentalProductivityFeaturesName,
3430 flag_descriptions::kExperimentalProductivityFeaturesDescription, kOsAll,
3431 FEATURE_VALUE_TYPE(features::kExperimentalProductivityFeatures)},
Roger McFarlane1a37d7b2018-04-20 22:45:193432
chaopenge2b6e5f2018-05-08 16:40:453433#if defined(USE_AURA)
3434 {"touchpad-overscroll-history-navigation",
3435 flag_descriptions::kTouchpadOverscrollHistoryNavigationName,
3436 flag_descriptions::kTouchpadOverscrollHistoryNavigationDescription,
3437 kOsWin | kOsCrOS,
3438 FEATURE_VALUE_TYPE(features::kTouchpadOverscrollHistoryNavigation)},
3439#endif
3440
Christopher Thompson2ffffa2c2018-05-18 23:06:373441 {"disallow-unsafe-http-downloads",
3442 flag_descriptions::kDisallowUnsafeHttpDownloadsName,
3443 flag_descriptions::kDisallowUnsafeHttpDownloadsNameDescription, kOsAll,
3444 FEATURE_VALUE_TYPE(features::kDisallowUnsafeHttpDownloads)},
3445
Mustafa Emre Acerb3aa36a82018-05-22 21:44:053446 {"unsafely-treat-insecure-origin-as-secure",
3447 flag_descriptions::kTreatInsecureOriginAsSecureName,
Elly Fong-Jones94fc8632019-08-14 18:23:033448 flag_descriptions::kTreatInsecureOriginAsSecureDescription, kOsAll,
Lukasz Anforowicz9527fd42019-03-13 19:08:503449 ORIGIN_LIST_VALUE_TYPE(
3450 network::switches::kUnsafelyTreatInsecureOriginAsSecure,
3451 "")},
Adam Ricec786ad8a2018-05-22 09:49:153452
Joe DeBlasio2a4fb9982019-05-06 23:44:433453 {"treat-unsafe-downloads-as-active-content",
3454 flag_descriptions::kTreatUnsafeDownloadsAsActiveName,
3455 flag_descriptions::kTreatUnsafeDownloadsAsActiveDescription, kOsDesktop,
3456 FEATURE_VALUE_TYPE(features::kTreatUnsafeDownloadsAsActive)},
3457
Qiang Xu53d1a5832018-05-24 18:44:193458#if defined(OS_CHROMEOS)
Vladislav Kaznacheevaa213a02018-10-29 17:54:283459 {"enable-play-store-search", flag_descriptions::kEnablePlayStoreSearchName,
3460 flag_descriptions::kEnablePlayStoreSearchDescription, kOsCrOS,
3461 FEATURE_VALUE_TYPE(app_list_features::kEnablePlayStoreAppSearch)},
3462
3463 {"enable-app-data-search", flag_descriptions::kEnableAppDataSearchName,
3464 flag_descriptions::kEnableAppDataSearchDescription, kOsCrOS,
3465 FEATURE_VALUE_TYPE(app_list_features::kEnableAppDataSearch)},
3466
Matthew Mourgoscf22b4b2019-03-06 23:46:393467 {"enable-app-grid-ghost", flag_descriptions::kEnableAppGridGhostName,
3468 flag_descriptions::kEnableAppGridGhostDescription, kOsCrOS,
3469 FEATURE_VALUE_TYPE(app_list_features::kEnableAppGridGhost)},
Kevin Strohbehnb65b5c42019-06-25 00:29:103470
3471 {"enable-search-box-selection",
3472 flag_descriptions::kEnableSearchBoxSelectionName,
3473 flag_descriptions::kEnableSearchBoxSelectionDescription, kOsCrOS,
3474 FEATURE_VALUE_TYPE(app_list_features::kEnableSearchBoxSelection)},
Qiang Xu53d1a5832018-05-24 18:44:193475#endif // OS_CHROMEOS
3476
Dominic Mazzoniaa4b97d2019-04-03 22:43:483477 {"enable-accessibility-image-descriptions",
3478 flag_descriptions::kEnableAccessibilityImageDescriptionsName,
3479 flag_descriptions::kEnableAccessibilityImageDescriptionsDescription,
3480 kOsDesktop,
3481 FEATURE_VALUE_TYPE(features::kExperimentalAccessibilityLabels)},
3482
Aaron Leventhal3576a1e2019-10-08 20:17:293483 {"enable-accessibility-expose-aria-annotations",
3484 flag_descriptions::kAccessibilityExposeARIAAnnotationsName,
3485 flag_descriptions::kAccessibilityExposeARIAAnnotationsDescription, kOsAll,
3486 FEATURE_VALUE_TYPE(features::kEnableAccessibilityExposeARIAAnnotations)},
3487
Adam Ettenbergerdcf51b42019-09-23 19:33:413488 {"enable-accessibility-expose-display-none",
3489 flag_descriptions::kAccessibilityExposeDisplayNoneName,
3490 flag_descriptions::kAccessibilityExposeDisplayNoneDescription, kOsAll,
3491 FEATURE_VALUE_TYPE(features::kEnableAccessibilityExposeDisplayNone)},
3492
Dominic Mazzoni8ac98962018-05-25 05:44:553493 {"enable-accessibility-object-model",
3494 flag_descriptions::kEnableAccessibilityObjectModelName,
3495 flag_descriptions::kEnableAccessibilityObjectModelDescription, kOsAll,
3496 SINGLE_VALUE_TYPE(switches::kEnableAccessibilityObjectModel)},
3497
Becca Hughes6d73bac542018-06-18 20:38:503498#if defined(OS_ANDROID)
Michael van Ouwerkerkbda4ad82018-06-19 14:08:003499 {"cct-module", flag_descriptions::kCCTModuleName,
3500 flag_descriptions::kCCTModuleDescription, kOsAndroid,
3501 FEATURE_VALUE_TYPE(chrome::android::kCCTModule)},
Michael van Ouwerkerk29a7a292018-10-09 09:20:143502 {"cct-module-cache", flag_descriptions::kCCTModuleCacheName,
Elly Fong-Jones94fc8632019-08-14 18:23:033503 flag_descriptions::kCCTModuleCacheDescription, kOsAndroid,
Michael van Ouwerkerka5df1ec2018-10-11 11:57:403504 FEATURE_WITH_PARAMS_VALUE_TYPE(chrome::android::kCCTModuleCache,
3505 kCCTModuleCacheVariations,
3506 "CCTModule")},
John Lin170c00b2018-11-21 15:44:253507 {"cct-module-custom-header", flag_descriptions::kCCTModuleCustomHeaderName,
3508 flag_descriptions::kCCTModuleCustomHeaderDescription, kOsAndroid,
3509 FEATURE_VALUE_TYPE(chrome::android::kCCTModuleCustomHeader)},
Michael van Ouwerkerk0878427a2019-02-13 15:11:423510 {"cct-module-custom-request-header",
3511 flag_descriptions::kCCTModuleCustomRequestHeaderName,
Elly Fong-Jones94fc8632019-08-14 18:23:033512 flag_descriptions::kCCTModuleCustomRequestHeaderDescription, kOsAndroid,
Michael van Ouwerkerk0878427a2019-02-13 15:11:423513 FEATURE_VALUE_TYPE(chrome::android::kCCTModuleCustomRequestHeader)},
alihanlivdumlu12ac4772019-01-17 17:37:183514 {"cct-module-dex-loading", flag_descriptions::kCCTModuleDexLoadingName,
Elly Fong-Jones94fc8632019-08-14 18:23:033515 flag_descriptions::kCCTModuleDexLoadingDescription, kOsAndroid,
alihanlivdumlu12ac4772019-01-17 17:37:183516 FEATURE_VALUE_TYPE(chrome::android::kCCTModuleDexLoading)},
barkerd84051482018-11-13 14:46:563517 {"cct-module-post-message", flag_descriptions::kCCTModulePostMessageName,
Elly Fong-Jones94fc8632019-08-14 18:23:033518 flag_descriptions::kCCTModulePostMessageDescription, kOsAndroid,
barkerd84051482018-11-13 14:46:563519 FEATURE_VALUE_TYPE(chrome::android::kCCTModulePostMessage)},
Xing Liu7d57dd32019-01-20 02:34:183520 {"cct-module-use-intent-extras",
Anna Malova9bb4ead2019-01-18 18:01:263521 flag_descriptions::kCCTModuleUseIntentExtrasName,
Elly Fong-Jones94fc8632019-08-14 18:23:033522 flag_descriptions::kCCTModuleUseIntentExtrasDescription, kOsAndroid,
Anna Malova9bb4ead2019-01-18 18:01:263523 FEATURE_VALUE_TYPE(chrome::android::kCCTModuleUseIntentExtras)},
Michael van Ouwerkerkbda4ad82018-06-19 14:08:003524#endif
3525
Sebastien Marchandd33f7dc2018-06-22 22:07:063526#if !defined(OS_ANDROID)
Francois Doraycd3a0962019-10-11 20:13:333527 {"proactive-tab-freeze", flag_descriptions::kTabFreezeName,
3528 flag_descriptions::kTabFreezeDescription, kOsDesktop,
Sebastien Marchandd33f7dc2018-06-22 22:07:063529 FEATURE_WITH_PARAMS_VALUE_TYPE(
3530 features::kProactiveTabFreezeAndDiscard,
Francois Doraycd3a0962019-10-11 20:13:333531 kTabFreezeVariations,
Sebastien Marchandf0e2d8fa2018-09-18 19:55:413532 resource_coordinator::kProactiveTabFreezeAndDiscardFeatureName)},
Sebastien Marchandd33f7dc2018-06-22 22:07:063533#endif
3534
Luum Habtemariamdaa8fd22018-06-25 22:39:433535#if defined(OS_CHROMEOS)
3536 {"enable-arc-cups-api", flag_descriptions::kArcCupsApiName,
Elly Fong-Jones94fc8632019-08-14 18:23:033537 flag_descriptions::kArcCupsApiDescription, kOsCrOS,
Luum Habtemariamdaa8fd22018-06-25 22:39:433538 FEATURE_VALUE_TYPE(features::kArcCupsApi)},
3539#endif // OS_CHROMEOS
3540
Sam McNally201fbf94e2018-07-04 03:15:203541#if defined(OS_CHROMEOS)
Jazz Xu2e5886662018-12-14 00:38:483542 {"enable-native-controls",
3543 flag_descriptions::kEnableVideoPlayerNativeControlsName,
Elly Fong-Jones94fc8632019-08-14 18:23:033544 flag_descriptions::kEnableVideoPlayerNativeControlsDescription, kOsCrOS,
Jazz Xu2e5886662018-12-14 00:38:483545 FEATURE_VALUE_TYPE(chromeos::features::kVideoPlayerNativeControls)},
3546#endif
3547
Tibor Goldschwendt11b3cf22018-07-04 15:32:443548#if defined(OS_ANDROID)
3549 {"background-task-component-update",
3550 flag_descriptions::kBackgroundTaskComponentUpdateName,
Elly Fong-Jones94fc8632019-08-14 18:23:033551 flag_descriptions::kBackgroundTaskComponentUpdateDescription, kOsAndroid,
Tibor Goldschwendt11b3cf22018-07-04 15:32:443552 FEATURE_VALUE_TYPE(chrome::android::kBackgroundTaskComponentUpdate)},
3553#endif
3554
Jorge Gil5a8ccde2018-07-10 01:46:213555#if defined(OS_CHROMEOS)
3556 {"smart-text-selection", flag_descriptions::kSmartTextSelectionName,
Elly Fong-Jones94fc8632019-08-14 18:23:033557 flag_descriptions::kSmartTextSelectionDescription, kOsCrOS,
Jorge Gil5a8ccde2018-07-10 01:46:213558 FEATURE_VALUE_TYPE(arc::kSmartTextSelectionFeature)},
3559#endif // OS_CHROMEOS
3560
Kunihiko Sakamoto4d407982018-07-10 04:56:293561 {"allow-sxg-certs-without-extension",
3562 flag_descriptions::kAllowSignedHTTPExchangeCertsWithoutExtensionName,
3563 flag_descriptions::
3564 kAllowSignedHTTPExchangeCertsWithoutExtensionDescription,
3565 kOsAll,
3566 FEATURE_VALUE_TYPE(
3567 features::kAllowSignedHTTPExchangeCertsWithoutExtension)},
3568
Tsuyoshi Horo3bab99c2019-05-20 11:05:143569 {"enable-sxg-subresource-prefetching",
3570 flag_descriptions::kEnableSignedExchangeSubresourcePrefetchName,
3571 flag_descriptions::kEnableSignedExchangeSubresourcePrefetchDescription,
3572 kOsAll, FEATURE_VALUE_TYPE(features::kSignedExchangeSubresourcePrefetch)},
3573
Tsuyoshi Horo636e8652019-05-31 03:34:083574 {"enable-sxg-prefetch-cache-for-navigations",
3575 flag_descriptions::kEnableSignedExchangePrefetchCacheForNavigationsName,
3576 flag_descriptions::
3577 kEnableSignedExchangePrefetchCacheForNavigationsDescription,
3578 kOsAll,
3579 FEATURE_VALUE_TYPE(features::kSignedExchangePrefetchCacheForNavigations)},
3580
Florian Uunk8c428ea2018-07-18 11:12:523581 {"enable-autofill-account-wallet-storage",
3582 flag_descriptions::kEnableAutofillAccountWalletStorageName,
3583 flag_descriptions::kEnableAutofillAccountWalletStorageDescription,
3584 kOsDesktop,
3585 FEATURE_VALUE_TYPE(
3586 autofill::features::kAutofillEnableAccountWalletStorage)},
3587
wutao42ee9daa2018-07-19 00:12:173588#if defined(OS_CHROMEOS)
Jenny Zhang81fc4c52018-07-23 22:12:323589 {"enable-zero-state-suggestions",
3590 flag_descriptions::kEnableZeroStateSuggestionsName,
Elly Fong-Jones94fc8632019-08-14 18:23:033591 flag_descriptions::kEnableZeroStateSuggestionsDescription, kOsCrOS,
Mostyn Bramley-Moore177b931d2018-09-24 22:53:243592 FEATURE_VALUE_TYPE(app_list_features::kEnableZeroStateSuggestions)},
Rob Schonbergercf5aeeea2019-02-27 16:57:373593 {"enable-zero-state-app-reinstall-suggestions",
3594 flag_descriptions::kEnableAppReinstallZeroStateName,
3595 flag_descriptions::kEnableAppReinstallZeroStateDescription, kOsCrOS,
3596 FEATURE_VALUE_TYPE(app_list_features::kEnableAppReinstallZeroState)},
wutao42ee9daa2018-07-19 00:12:173597#endif // OS_CHROMEOS
3598
Himanshu Jajue760efb2019-10-17 11:07:533599 {"enable-sync-device-info-in-transport-mode",
3600 flag_descriptions::kSyncDeviceInfoInTransportModeName,
3601 flag_descriptions::kSyncDeviceInfoInTransportModeDescription, kOsAll,
3602 FEATURE_VALUE_TYPE(switches::kSyncDeviceInfoInTransportMode)},
3603
Mohamed Amir Yosef0178fa892018-07-23 17:43:523604 {"enable-sync-uss-bookmarks",
3605 flag_descriptions::kEnableSyncUSSBookmarksName,
3606 flag_descriptions::kEnableSyncUSSBookmarksDescription, kOsAll,
3607 FEATURE_VALUE_TYPE(switches::kSyncUSSBookmarks)},
Ulan Degenbaevb5466a92018-07-19 12:35:343608
Mustafa Emre Acer137dc8b2018-08-29 20:38:133609 {"enable-lookalike-url-navigation-suggestions",
3610 flag_descriptions::kLookalikeUrlNavigationSuggestionsName,
Mustafa Emre Acerea6f7592019-03-01 21:22:223611 flag_descriptions::kLookalikeUrlNavigationSuggestionsDescription, kOsAll,
Mustafa Emre Acer62ec7222018-11-13 02:49:303612 FEATURE_VALUE_TYPE(features::kLookalikeUrlNavigationSuggestionsUI)},
Mustafa Emre Acer9f169912018-07-23 22:40:133613
Ella Gebee81c92018-08-14 15:51:093614 {"enable-resampling-input-events",
3615 flag_descriptions::kEnableResamplingInputEventsName,
3616 flag_descriptions::kEnableResamplingInputEventsDescription, kOsAll,
3617 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kResamplingInputEvents,
3618 kResamplingInputEventsFeatureVariations,
3619 "ResamplingInputEvents")},
3620
3621 {"enable-resampling-scroll-events",
3622 flag_descriptions::kEnableResamplingScrollEventsName,
3623 flag_descriptions::kEnableResamplingScrollEventsDescription, kOsAll,
3624 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kResamplingScrollEvents,
3625 kResamplingInputEventsFeatureVariations,
3626 "ResamplingScrollEvents")},
3627
Axel Antoine12df71182019-07-25 18:11:213628 {"enable-filtering-scroll-events",
3629 flag_descriptions::kFilteringScrollPredictionName,
3630 flag_descriptions::kFilteringScrollPredictionDescription, kOsAll,
3631 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kFilteringScrollPrediction,
3632 kFilteringPredictionFeatureVariations,
3633 "FilteringScrollPrediction")},
3634
Rahul Arakeriac87fb12019-05-14 00:07:223635 {"compositor-threaded-scrollbar-scrolling",
Rahul Arakeri61a2ad272019-03-19 22:55:083636 flag_descriptions::kCompositorThreadedScrollbarScrollingName,
3637 flag_descriptions::kCompositorThreadedScrollbarScrollingDescription,
3638 kOsAll,
3639 FEATURE_VALUE_TYPE(features::kCompositorThreadedScrollbarScrolling)},
3640
Kushagra Sinha8a181fc2018-08-20 17:15:493641#if defined(OS_CHROMEOS)
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233642 {"enable-vaapi-jpeg-image-decode-acceleration",
3643 flag_descriptions::kVaapiJpegImageDecodeAccelerationName,
Andres Calderon Jaramillo806aeefb2019-08-01 19:21:413644 flag_descriptions::kVaapiJpegImageDecodeAccelerationDescription, kOsCrOS,
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233645 FEATURE_VALUE_TYPE(features::kVaapiJpegImageDecodeAcceleration)},
Gil Dekel8f4b5642019-07-27 05:27:403646
3647 {"enable-vaapi-webp-image-decode-acceleration",
3648 flag_descriptions::kVaapiWebPImageDecodeAccelerationName,
3649 flag_descriptions::kVaapiWebPImageDecodeAccelerationDescription, kOsCrOS,
3650 FEATURE_VALUE_TYPE(features::kVaapiWebPImageDecodeAcceleration)},
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233651#endif
Sammie Quone302a1802019-02-11 17:54:453652
David Bienvenud0ddda32018-11-01 16:59:163653#if defined(OS_WIN)
3654 {"calculate-native-win-occlusion",
3655 flag_descriptions::kCalculateNativeWinOcclusionName,
Elly Fong-Jones94fc8632019-08-14 18:23:033656 flag_descriptions::kCalculateNativeWinOcclusionDescription, kOsWin,
David Bienvenud0ddda32018-11-01 16:59:163657 FEATURE_VALUE_TYPE(features::kCalculateNativeWinOcclusion)},
3658#endif // OS_WIN
Andres Calderon Jaramillo43c0e8a2018-08-21 02:46:233659
Jeffrey Cohenf04130a42018-08-29 00:22:273660#if !defined(OS_ANDROID)
Adam Yid374d792018-11-02 23:05:583661 {"happiness-tracking-surveys-for-desktop",
Jeffrey Cohenf04130a42018-08-29 00:22:273662 flag_descriptions::kHappinessTrackingSurveysForDesktopName,
3663 flag_descriptions::kHappinessTrackingSurveysForDesktopDescription,
3664 kOsDesktop,
3665 FEATURE_VALUE_TYPE(features::kHappinessTrackingSurveysForDesktop)},
Wei Li2946b352019-08-19 21:49:543666
3667 {"happiness-tracking-surveys-for-desktop-demo",
3668 flag_descriptions::kHappinessTrackingSurveysForDesktopDemoName,
3669 flag_descriptions::kHappinessTrackingSurveysForDesktopDemoDescription,
3670 kOsDesktop,
3671 FEATURE_VALUE_TYPE(features::kHappinessTrackingSurveysForDesktopDemo)},
Jeffrey Cohenf04130a42018-08-29 00:22:273672#endif // !defined(OS_ANDROID)
3673
momohattfc352292018-08-29 05:12:363674 {"enable-service-worker-imported-script-update-check",
3675 flag_descriptions::kServiceWorkerImportedScriptUpdateCheckName,
3676 flag_descriptions::kServiceWorkerImportedScriptUpdateCheckDescription,
3677 kOsAll,
3678 FEATURE_VALUE_TYPE(
3679 blink::features::kServiceWorkerImportedScriptUpdateCheck)},
3680
Valeriya Sinevich972ac122018-09-05 07:33:193681 {"use-multilogin-endpoint", flag_descriptions::kUseMultiloginEndpointName,
3682 flag_descriptions::kUseMultiloginEndpointDescription, kOsAll,
3683 FEATURE_VALUE_TYPE(kUseMultiloginEndpoint)},
3684
Allen Webbcdc8e69d2018-09-12 20:36:003685#if defined(OS_CHROMEOS)
3686 {"enable-usbguard", flag_descriptions::kUsbguardName,
3687 flag_descriptions::kUsbguardDescription, kOsCrOS,
3688 FEATURE_VALUE_TYPE(features::kUsbguard)},
Micah Morton02d3aba2018-11-20 01:51:453689 {"enable-fs-nosymfollow", flag_descriptions::kFsNosymfollowName,
Elly Fong-Jones94fc8632019-08-14 18:23:033690 flag_descriptions::kFsNosymfollowDescription, kOsCrOS,
Micah Mortonf236deb72018-11-26 19:32:373691 FEATURE_VALUE_TYPE(chromeos::features::kFsNosymfollow)},
Becca Hughes34415e82018-10-05 18:47:373692 {"enable-arc-unified-audio-focus",
3693 flag_descriptions::kEnableArcUnifiedAudioFocusName,
Elly Fong-Jones94fc8632019-08-14 18:23:033694 flag_descriptions::kEnableArcUnifiedAudioFocusDescription, kOsCrOS,
Becca Hughes34415e82018-10-05 18:47:373695 FEATURE_VALUE_TYPE(arc::kEnableUnifiedAudioFocusFeature)},
3696#endif // defined(OS_CHROMEOS)
3697
Olli Etuaho122321192018-09-07 10:15:293698#if defined(OS_WIN)
3699 {"use-angle", flag_descriptions::kUseAngleName,
3700 flag_descriptions::kUseAngleDescription, kOsWin,
3701 MULTI_VALUE_TYPE(kUseAngleChoices)},
3702#endif
Kamila02f7e072018-10-08 09:50:283703#if defined(OS_ANDROID)
Kamila472a5942018-11-26 09:48:273704 {"android-site-settings-ui-refresh",
3705 flag_descriptions::kAndroidSiteSettingsUIRefreshName,
3706 flag_descriptions::kAndroidSiteSettingsUIRefreshDescription, kOsAndroid,
3707 FEATURE_VALUE_TYPE(chrome::android::kAndroidSiteSettingsUIRefresh)},
Jinsuk Kim00e52be2019-03-21 02:26:403708 {"draw-vertically-edge-to-edge",
3709 flag_descriptions::kDrawVerticallyEdgeToEdgeName,
3710 flag_descriptions::kDrawVerticallyEdgeToEdgeDescription, kOsAndroid,
3711 FEATURE_VALUE_TYPE(chrome::android::kDrawVerticallyEdgeToEdge)},
Kamila02f7e072018-10-08 09:50:283712#endif
Donn Denmanffaeaa32018-10-12 17:37:533713#if defined(OS_ANDROID)
3714 {"enable-ephemeral-tab", flag_descriptions::kEphemeralTabName,
3715 flag_descriptions::kEphemeralTabDescription, kOsAndroid,
3716 FEATURE_VALUE_TYPE(chrome::android::kEphemeralTab)},
Shakti Sahuec6030f2019-09-10 22:09:313717 {"enable-ephemeral-tab-bottom-sheet",
3718 flag_descriptions::kEphemeralTabUsingBottomSheetName,
3719 flag_descriptions::kEphemeralTabUsingBottomSheetDescription, kOsAndroid,
3720 FEATURE_VALUE_TYPE(chrome::android::kEphemeralTabUsingBottomSheet)},
Donn Denman43baac62019-05-22 17:31:053721 {"overlay-new-layout", flag_descriptions::kOverlayNewLayoutName,
3722 flag_descriptions::kOverlayNewLayoutDescription, kOsAndroid,
3723 FEATURE_VALUE_TYPE(chrome::android::kOverlayNewLayout)},
Varun Khaneja80712a82018-10-12 23:34:593724 {"safe-browsing-use-local-blacklists-v2",
3725 flag_descriptions::kSafeBrowsingUseLocalBlacklistsV2Name,
3726 flag_descriptions::kSafeBrowsingUseLocalBlacklistsV2Description,
3727 kOsAndroid, FEATURE_VALUE_TYPE(safe_browsing::kUseLocalBlacklistsV2)},
3728#endif // defined(OS_ANDROID)
3729
Xiaohui Chenfb0943e2018-10-16 22:44:373730#if defined(OS_CHROMEOS)
Xiaohui Chenf4283f32018-11-26 20:02:503731 {"enable-assistant-dsp", flag_descriptions::kEnableGoogleAssistantDspName,
Xiaohui Chene6dd8892019-08-12 21:50:093732 flag_descriptions::kEnableGoogleAssistantDspDescription, kOsCrOS,
Xiaohui Chenf4283f32018-11-26 20:02:503733 FEATURE_VALUE_TYPE(chromeos::assistant::features::kEnableDspHotword)},
Yue Liebaa9952018-12-07 21:41:263734
3735 {"enable-assistant-app-support",
3736 flag_descriptions::kEnableAssistantAppSupportName,
3737 flag_descriptions::kEnableAssistantAppSupportDescription, kOsCrOS,
3738 FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantAppSupport)},
Meilin Wangb57f92f2019-04-19 04:27:103739
lif5c5bec62019-06-26 22:56:053740 {"enable-assistant-media-session-integration",
3741 flag_descriptions::kEnableAssistantMediaSessionIntegrationName,
3742 flag_descriptions::kEnableAssistantMediaSessionIntegrationDescription,
3743 kOsCrOS,
3744 FEATURE_VALUE_TYPE(
3745 chromeos::assistant::features::kEnableMediaSessionIntegration)},
Becca Hughes3d63a91d2018-10-17 19:30:393746#endif // defined(OS_CHROMEOS)
Michael Lippautz6081dfa2018-10-18 13:10:143747
Michael van Ouwerkerkd4e4a392019-07-26 14:41:133748#if defined(OS_ANDROID)
Richard Knoll368596e52019-08-14 09:16:283749 {"click-to-call-open-dialer-directly",
3750 flag_descriptions::kClickToCallOpenDialerDirectlyName,
3751 flag_descriptions::kClickToCallOpenDialerDirectlyDescription, kOsAndroid,
3752 FEATURE_VALUE_TYPE(chrome::android::kClickToCallOpenDialerDirectly)},
3753
Yasmin71ff2672019-06-20 16:22:493754 {"click-to-call-receiver", flag_descriptions::kClickToCallReceiverName,
Michael van Ouwerkerkd4e4a392019-07-26 14:41:133755 flag_descriptions::kClickToCallReceiverDescription, kOsAndroid,
Yasmin71ff2672019-06-20 16:22:493756 FEATURE_VALUE_TYPE(kClickToCallReceiver)},
Michael van Ouwerkerkd4e4a392019-07-26 14:41:133757#endif // defined(OS_ANDROID)
Yasmin71ff2672019-06-20 16:22:493758
Richard Knoll5e85eb122019-09-05 11:15:333759#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
3760 defined(OS_CHROMEOS)
Himanshu Jaju12eeb0c2019-08-12 10:23:573761 {"click-to-call-context-menu-selected-text",
3762 flag_descriptions::kClickToCallContextMenuForSelectedTextName,
3763 flag_descriptions::kClickToCallContextMenuForSelectedTextDescription,
Richard Knoll5e85eb122019-09-05 11:15:333764 kOsDesktop, FEATURE_VALUE_TYPE(kClickToCallContextMenuForSelectedText)},
Himanshu Jaju12eeb0c2019-08-12 10:23:573765
Yasmin71ff2672019-06-20 16:22:493766 {"click-to-call-ui", flag_descriptions::kClickToCallUIName,
Richard Knoll5e85eb122019-09-05 11:15:333767 flag_descriptions::kClickToCallUIDescription, kOsDesktop,
Yasmin71ff2672019-06-20 16:22:493768 FEATURE_VALUE_TYPE(kClickToCallUI)},
Richard Knoll5e85eb122019-09-05 11:15:333769#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) ||
3770 // defined(OS_CHROMEOS)
Yasmin71ff2672019-06-20 16:22:493771
Yasmin69a132f2019-08-07 15:30:363772 {"shared-clipboard-receiver",
3773 flag_descriptions::kSharedClipboardReceiverName,
3774 flag_descriptions::kSharedClipboardReceiverDescription, kOsAll,
3775 FEATURE_VALUE_TYPE(kSharedClipboardReceiver)},
3776
3777 {"shared-clipboard-ui", flag_descriptions::kSharedClipboardUIName,
3778 flag_descriptions::kSharedClipboardUIDescription, kOsAll,
3779 FEATURE_VALUE_TYPE(kSharedClipboardUI)},
3780
Ramin Halavati8aad5b22019-07-22 12:52:213781 {"enable-ambient-authentication-in-incognito",
3782 flag_descriptions::kEnableAmbientAuthenticationInIncognitoName,
3783 flag_descriptions::kEnableAmbientAuthenticationInIncognitoDescription,
3784 kOsAll,
3785 FEATURE_VALUE_TYPE(features::kEnableAmbientAuthenticationInIncognito)},
3786
3787 {"enable-ambient-authentication-in-guest-session",
3788 flag_descriptions::kEnableAmbientAuthenticationInGuestSessionName,
3789 flag_descriptions::kEnableAmbientAuthenticationInGuestSessionDescription,
3790 kOsAll,
3791 FEATURE_VALUE_TYPE(features::kEnableAmbientAuthenticationInGuestSession)},
3792
Travis Skare885f8ad2019-04-25 21:33:373793 {"enable-send-tab-to-self-when-signed-in",
3794 flag_descriptions::kSendTabToSelfWhenSignedInName,
3795 flag_descriptions::kSendTabToSelfWhenSignedInDescription, kOsAll,
3796 FEATURE_VALUE_TYPE(send_tab_to_self::kSendTabToSelfWhenSignedIn)},
3797
rajendrantcfa60ba2018-10-30 09:16:543798 {"enable-data-reduction-proxy-with-network-service",
3799 flag_descriptions::kEnableDataReductionProxyNetworkServiceName,
3800 flag_descriptions::kEnableDataReductionProxyNetworkServiceDescription,
3801 kOsAll,
3802 FEATURE_VALUE_TYPE(data_reduction_proxy::features::
3803 kDataReductionProxyEnabledWithNetworkService)},
Himanshu Jajudbcee232019-06-17 19:41:493804
3805 {"enable-sharing-device-registration",
3806 flag_descriptions::kSharingDeviceRegistrationName,
3807 flag_descriptions::kSharingDeviceRegistrationDescription, kOsAll,
3808 FEATURE_VALUE_TYPE(kSharingDeviceRegistration)},
3809
Alex Chauf2b97662019-10-04 11:21:513810 {"sharing-derive-vapid-key", flag_descriptions::kSharingDeriveVapidKeyName,
3811 flag_descriptions::kSharingDeriveVapidKeyDescription, kOsAll,
3812 FEATURE_VALUE_TYPE(kSharingDeriveVapidKey)},
3813
Himanshu Jaju8211bd9b2019-08-12 18:53:143814 {"sharing-use-device-info", flag_descriptions::kSharingUseDeviceInfoName,
3815 flag_descriptions::kSharingUseDeviceInfoDescription, kOsAll,
3816 FEATURE_VALUE_TYPE(kSharingUseDeviceInfo)},
3817
Alexander Alekseev38e1e0a2018-11-08 22:48:483818#if defined(OS_CHROMEOS)
3819 {"discover-app", flag_descriptions::kEnableDiscoverAppName,
3820 flag_descriptions::kEnableDiscoverAppDescription, kOsCrOS,
3821 FEATURE_VALUE_TYPE(chromeos::features::kDiscoverApp)},
3822#endif // defined(OS_CHROMEOS)
Pavel Shmakov798f4742018-11-15 21:27:383823
Eliot Courtneye87a9c32018-11-20 03:33:023824#if defined(OS_CHROMEOS)
3825 {"ash-enable-pip-rounded-corners",
3826 flag_descriptions::kAshEnablePipRoundedCornersName,
Elly Fong-Jones94fc8632019-08-14 18:23:033827 flag_descriptions::kAshEnablePipRoundedCornersDescription, kOsCrOS,
Eliot Courtneye87a9c32018-11-20 03:33:023828 FEATURE_VALUE_TYPE(ash::features::kPipRoundedCorners)},
Min Chen3e342562019-05-04 00:08:363829
3830 {"ash-swap-side-volume-buttons-for-orientation",
3831 flag_descriptions::kAshSwapSideVolumeButtonsForOrientationName,
3832 flag_descriptions::kAshSwapSideVolumeButtonsForOrientationDescription,
3833 kOsCrOS,
3834 FEATURE_VALUE_TYPE(ash::features::kSwapSideVolumeButtonsForOrientation)},
Eliot Courtneye87a9c32018-11-20 03:33:023835#endif // defined(OS_CHROMEOS)
Ioana Pandele1ed7ef72018-11-21 15:22:033836 {"google-password-manager", flag_descriptions::kGooglePasswordManagerName,
3837 flag_descriptions::kGooglePasswordManagerDescription, kOsAll,
3838 FEATURE_VALUE_TYPE(password_manager::features::kGooglePasswordManager)},
David Bokan911bded2018-11-27 23:23:323839
3840 {"enable-implicit-root-scroller",
3841 flag_descriptions::kEnableImplicitRootScrollerName,
3842 flag_descriptions::kEnableImplicitRootScrollerDescription, kOsAll,
3843 FEATURE_VALUE_TYPE(blink::features::kImplicitRootScroller)},
Xiaohui Chenc3baca42018-11-30 19:29:373844
Cathie Cheneac70602019-10-10 02:55:293845 {"enable-cssom-view-scroll-coordinates",
3846 flag_descriptions::kEnableCSSOMViewScrollCoordinatesName,
3847 flag_descriptions::kEnableCSSOMViewScrollCoordinatesDescription, kOsAll,
3848 FEATURE_VALUE_TYPE(blink::features::kCSSOMViewScrollCoordinates)},
3849
David Bokane9370c22019-02-14 15:19:583850 {"enable-text-fragment-anchor",
3851 flag_descriptions::kEnableTextFragmentAnchorName,
3852 flag_descriptions::kEnableTextFragmentAnchorDescription, kOsAll,
3853 FEATURE_VALUE_TYPE(blink::features::kTextFragmentAnchor)},
3854
Xiaohui Chenc3baca42018-11-30 19:29:373855#if defined(OS_CHROMEOS)
3856 {"enable-assistant-stereo-input",
3857 flag_descriptions::kEnableGoogleAssistantStereoInputName,
Xiaohui Chene6dd8892019-08-12 21:50:093858 flag_descriptions::kEnableGoogleAssistantStereoInputDescription, kOsCrOS,
Xiaohui Chenc3baca42018-11-30 19:29:373859 FEATURE_VALUE_TYPE(
3860 chromeos::assistant::features::kEnableStereoAudioInput)},
3861#endif // defined(OS_CHROMEOS)
Henrik Grunell63f2d772018-12-06 17:25:203862
3863#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
3864 {"force-enable-system-aec", flag_descriptions::kForceEnableSystemAecName,
3865 flag_descriptions::kForceEnableSystemAecDescription, kOsMac | kOsCrOS,
3866 FEATURE_VALUE_TYPE(features::kForceEnableSystemAec)},
3867#endif // defined(OS_MACOSX) || defined(OS_CHROMEOS)
sebsgca14b092018-12-07 16:56:153868
Lei Zhange065b572018-12-11 08:00:413869#if BUILDFLAG(ENABLE_PRINT_PREVIEW) && defined(OS_MACOSX)
3870 {"enable-custom-mac-paper-sizes",
3871 flag_descriptions::kEnableCustomMacPaperSizesName,
Elly Fong-Jones94fc8632019-08-14 18:23:033872 flag_descriptions::kEnableCustomMacPaperSizesDescription, kOsMac,
Lei Zhange065b572018-12-11 08:00:413873 FEATURE_VALUE_TYPE(printing::features::kEnableCustomMacPaperSizes)},
3874#endif
Collin Baker0a45d6a2018-12-20 19:21:503875
Collin Baker4ab8ad82019-06-06 17:02:543876#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) || \
3877 defined(OS_CHROMEOS)
Collin Baker0a45d6a2018-12-20 19:21:503878 {"enable-reopen-tab-in-product-help",
3879 flag_descriptions::kReopenTabInProductHelpName,
Elly Fong-Jones94fc8632019-08-14 18:23:033880 flag_descriptions::kReopenTabInProductHelpDescription, kOsDesktop,
Collin Baker0a45d6a2018-12-20 19:21:503881 FEATURE_VALUE_TYPE(feature_engagement::kIPHReopenTabFeature)},
Collin Baker4ab8ad82019-06-06 17:02:543882#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX) ||
3883 // defined(OS_CHROMEOS)
Becca Hughesac86cd442019-01-09 23:49:543884
3885 {"enable-audio-focus-enforcement",
3886 flag_descriptions::kEnableAudioFocusEnforcementName,
3887 flag_descriptions::kEnableAudioFocusEnforcementDescription, kOsDesktop,
3888 FEATURE_VALUE_TYPE(media_session::features::kAudioFocusEnforcement)},
3889 {"enable-media-session-service",
3890 flag_descriptions::kEnableMediaSessionServiceName,
3891 flag_descriptions::kEnableMediaSessionServiceDescription, kOsDesktop,
3892 FEATURE_VALUE_TYPE(media_session::features::kMediaSessionService)},
Daniel Rubery91874e32019-01-10 22:12:343893 {"enable-safe-browsing-ap-download-verdicts",
3894 flag_descriptions::kSafeBrowsingUseAPDownloadVerdictsName,
3895 flag_descriptions::kSafeBrowsingUseAPDownloadVerdictsDescription,
Elly Fong-Jones94fc8632019-08-14 18:23:033896 kOsDesktop,
Daniel Ruberyf379e592019-04-03 23:05:493897 FEATURE_VALUE_TYPE(safe_browsing::kForceUseAPDownloadProtection)},
Vikas Soni78daa632019-01-12 01:32:523898 {"enable-gpu-service-logging",
3899 flag_descriptions::kEnableGpuServiceLoggingName,
3900 flag_descriptions::kEnableGpuServiceLoggingDescription, kOsAll,
3901 SINGLE_VALUE_TYPE(switches::kEnableGPUServiceLogging)},
Daniel Ng96ab0c82019-01-16 01:21:553902
Tommy Steimelc9bc2ce2019-03-12 22:45:583903#if !defined(OS_ANDROID)
Tommy Steimel1aadd7b2019-01-18 19:39:423904 {"hardware-media-key-handling",
3905 flag_descriptions::kHardwareMediaKeyHandling,
Tommy Steimelc9bc2ce2019-03-12 22:45:583906 flag_descriptions::kHardwareMediaKeyHandlingDescription, kOsDesktop,
Tommy Steimel1aadd7b2019-01-18 19:39:423907 FEATURE_VALUE_TYPE(media::kHardwareMediaKeyHandling)},
3908#endif
Xing Liu7d57dd32019-01-20 02:34:183909
Stephen Chenney1bcaec832019-10-10 18:31:013910 {"enable-paint-holding", flag_descriptions::kPaintHoldingName,
3911 flag_descriptions::kPaintHoldingDescription, kOsAll,
3912 FEATURE_VALUE_TYPE(blink::features::kPaintHolding)},
Stephen Chenneyde6e5c82019-01-21 01:56:043913
Reka Normana11e57fc2019-01-29 21:56:583914#if !defined(OS_ANDROID)
3915 {"app-management", flag_descriptions::kAppManagementName,
3916 flag_descriptions::kAppManagementDescription, kOsDesktop,
3917 FEATURE_VALUE_TYPE(features::kAppManagement)},
3918#endif // !defined(OS_ANDROID)
3919
3920#if defined(OS_CHROMEOS)
3921 {"app-service-ash", flag_descriptions::kAppServiceAshName,
Elly Fong-Jones94fc8632019-08-14 18:23:033922 flag_descriptions::kAppServiceAshDescription, kOsCrOS,
Reka Normana11e57fc2019-01-29 21:56:583923 FEATURE_VALUE_TYPE(features::kAppServiceAsh)},
Sammie Quonfe640ca2019-01-30 17:54:183924
Maggie Caid250297a2019-09-09 09:30:343925 {"app-service-intent-handling",
3926 flag_descriptions::kAppServiceIntentHandlingName,
3927 flag_descriptions::kAppServiceIntentHandlingDescription, kOsCrOS,
3928 FEATURE_VALUE_TYPE(features::kAppServiceIntentHandling)},
3929
nancy54da6c52019-08-28 21:03:323930 {"app-service-shelf", flag_descriptions::kAppServiceShelfName,
3931 flag_descriptions::kAppServiceShelfDescription, kOsCrOS,
3932 FEATURE_VALUE_TYPE(features::kAppServiceShelf)},
3933
Sammie Quonfe640ca2019-01-30 17:54:183934 {"ash-enable-overview-rounded-corners",
3935 flag_descriptions::kAshEnableOverviewRoundedCornersName,
3936 flag_descriptions::kAshEnableOverviewRoundedCornersDescription, kOsCrOS,
3937 FEATURE_VALUE_TYPE(ash::features::kEnableOverviewRoundedCorners)},
Miguel Casas-Sanchezdcd69152019-09-04 21:22:363938
3939 {"use-fake-device-for-media-stream",
3940 flag_descriptions::kUseFakeDeviceForMediaStreamName,
3941 flag_descriptions::kUseFakeDeviceForMediaStreamDescription, kOsCrOS,
3942 FEATURE_VALUE_TYPE(media::kUseFakeDeviceForMediaStream)},
Reka Normana11e57fc2019-01-29 21:56:583943#endif // defined(OS_CHROMEOS)
3944
Frank Liberato754d14f2019-01-30 23:31:173945#if defined(OS_WIN)
3946 {"d3d11-video-decoder", flag_descriptions::kD3D11VideoDecoderName,
3947 flag_descriptions::kD3D11VideoDecoderDescription, kOsWin,
3948 FEATURE_VALUE_TYPE(media::kD3D11VideoDecoder)},
3949#endif
3950
Hui(Andy) Wufbebf91d22019-02-01 01:23:543951#if defined(OS_ANDROID)
3952 {"autofill-assistant-chrome-entry",
3953 flag_descriptions::kAutofillAssistantChromeEntryName,
3954 flag_descriptions::kAutofillAssistantChromeEntryDescription, kOsAndroid,
3955 FEATURE_VALUE_TYPE(
3956 autofill_assistant::features::kAutofillAssistantChromeEntry)},
Jordan Demeulenaere9404ba232019-07-01 12:57:163957
3958 {"autofill-assistant-direct-actions",
3959 flag_descriptions::kAutofillAssistantDirectActionsName,
3960 flag_descriptions::kAutofillAssistantDirectActionsDescription, kOsAndroid,
3961 FEATURE_VALUE_TYPE(
3962 autofill_assistant::features::kAutofillAssistantDirectActions)},
Hui(Andy) Wufbebf91d22019-02-01 01:23:543963#endif // defined(OS_ANDROID)
3964
Yue Ru Suna50a80f2019-02-08 05:02:583965 {"disable-best-effort-tasks",
3966 flag_descriptions::kDisableBestEffortTasksName,
3967 flag_descriptions::kDisableBestEffortTasksDescription, kOsAll,
3968 SINGLE_VALUE_TYPE(switches::kDisableBestEffortTasks)},
Mohamed Amir Yosef3074dfc2019-02-06 18:34:433969 {"enable-sync-uss-passwords",
3970 flag_descriptions::kEnableSyncUSSPasswordsName,
Mohamed Amir Yosefe980bb32019-07-29 16:39:193971 flag_descriptions::kEnableSyncUSSPasswordsDescription, kOsAll,
Mohamed Amir Yosef3074dfc2019-02-06 18:34:433972 FEATURE_VALUE_TYPE(switches::kSyncUSSPasswords)},
3973
David Bienvenuc713d502019-02-07 23:46:323974#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3975 {"web-contents-occlusion", flag_descriptions::kWebContentsOcclusionName,
3976 flag_descriptions::kWebContentsOcclusionDescription,
3977 kOsWin | kOsMac | kOsCrOS,
3978 FEATURE_VALUE_TYPE(features::kWebContentsOcclusion)},
3979#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
3980
Sreerenj Balachandran2a5fd0972019-02-08 22:15:203981 {"enable-webrtc-hw-vp9-encoding",
3982 flag_descriptions::kWebrtcHwVP9EncodingName,
Elly Fong-Jones94fc8632019-08-14 18:23:033983 flag_descriptions::kWebrtcHwVP9EncodingDescription, kOsCrOS,
Antonio Gomes76a8ec62019-09-03 23:20:173984 FEATURE_VALUE_TYPE(blink::features::kWebRtcHWVP9Encoding)},
Sreerenj Balachandran2a5fd0972019-02-08 22:15:203985
Ioana Pandeled8dc2b692019-02-20 12:04:153986#if defined(OS_ANDROID)
3987 {"manual-password-generation-android",
3988 flag_descriptions::kManualPasswordGenerationAndroidName,
Elly Fong-Jones94fc8632019-08-14 18:23:033989 flag_descriptions::kManualPasswordGenerationAndroidDescription, kOsAndroid,
Ioana Pandeled8dc2b692019-02-20 12:04:153990 FEATURE_VALUE_TYPE(
3991 password_manager::features::kManualPasswordGenerationAndroid)},
David Roger2183afb2019-02-21 14:19:153992 {"mobile-identity-consistency",
3993 flag_descriptions::kMobileIdentityConsistencyName,
3994 flag_descriptions::kMobileIdentityConsistencyDescription, kOsAndroid,
3995 FEATURE_VALUE_TYPE(signin::kMiceFeature)},
Pavel Yatsuk6b1e3a072019-05-08 22:18:253996 {"identity-disc", flag_descriptions::kIdentityDiscName,
3997 flag_descriptions::kIdentityDiscDescription, kOsAndroid,
3998 FEATURE_VALUE_TYPE(chrome::android::kIdentityDisc)},
Ioana Pandeled8dc2b692019-02-20 12:04:153999#endif // defined(OS_ANDROID)
4000
Caitlin Fischer31e60b22019-03-21 21:43:374001 {"autofill-use-improved-label-disambiguation",
4002 flag_descriptions::kAutofillUseImprovedLabelDisambiguationName,
4003 flag_descriptions::kAutofillUseImprovedLabelDisambiguationDescription,
4004 kOsAll,
4005 FEATURE_VALUE_TYPE(
4006 autofill::features::kAutofillUseImprovedLabelDisambiguation)},
Caitlin Fischerfd366e72019-02-20 20:47:324007
Anna Malovaf7c734a2019-03-01 13:08:454008#if defined(OS_ANDROID)
4009 {"cct-target-translate-language",
4010 flag_descriptions::kCCTTargetTranslateLanguageName,
4011 flag_descriptions::kCCTTargetTranslateLanguageDescription, kOsAndroid,
4012 FEATURE_VALUE_TYPE(chrome::android::kCCTTargetTranslateLanguage)},
4013#endif
4014
Hiroshige Hayashizaki3ee116af2019-03-05 10:11:224015 {"enable-built-in-module-infra", flag_descriptions::kBuiltInModuleInfraName,
4016 flag_descriptions::kBuiltInModuleInfraDescription, kOsAll,
4017 FEATURE_VALUE_TYPE(features::kBuiltInModuleInfra)},
4018
4019 {"enable-built-in-module-kv-storage",
4020 flag_descriptions::kBuiltInModuleKvStorageName,
4021 flag_descriptions::kBuiltInModuleKvStorageDescription, kOsAll,
4022 FEATURE_VALUE_TYPE(features::kBuiltInModuleKvStorage)},
4023
Marijn Kruisselbrinkca4bb5e2019-04-22 18:19:424024 {"native-file-system-api", flag_descriptions::kNativeFileSystemAPIName,
4025 flag_descriptions::kNativeFileSystemAPIDescription, kOsAll,
4026 FEATURE_VALUE_TYPE(blink::features::kNativeFileSystemAPI)},
Marijn Kruisselbrinkfa0e1052019-03-05 22:32:554027
Jay Harris583f48922019-05-06 05:55:244028 {"file-handling-api", flag_descriptions::kFileHandlingAPIName,
Jay Harris4347cf02019-10-01 06:47:134029 flag_descriptions::kFileHandlingAPIDescription, kOsDesktop,
Jay Harris583f48922019-05-06 05:55:244030 FEATURE_VALUE_TYPE(blink::features::kFileHandlingAPI)},
4031
Maggie Caib3e2a6c2019-03-12 05:12:544032#if !defined(OS_ANDROID)
4033 {"enable-intent-picker", flag_descriptions::kIntentPickerName,
4034 flag_descriptions::kIntentPickerDescription, kOsMac | kOsWin | kOsLinux,
4035 FEATURE_VALUE_TYPE(features::kIntentPicker)},
4036#endif // !defined(OS_ANDROID)
4037
Collin Baker75a29462019-03-13 19:57:314038#if defined(TOOLKIT_VIEWS)
4039 {"installable-ink-drop", flag_descriptions::kInstallableInkDropName,
4040 flag_descriptions::kInstallableInkDropDescription, kOsDesktop,
4041 FEATURE_VALUE_TYPE(views::kInstallableInkDropFeature)},
4042#endif // defined(TOOLKIT_VIEWS)
4043
Xiaohui Chenb523747b2019-03-14 23:38:324044#if defined(OS_CHROMEOS)
4045 {"enable-assistant-launcher-integration",
4046 flag_descriptions::kEnableAssistantLauncherIntegrationName,
4047 flag_descriptions::kEnableAssistantLauncherIntegrationDescription, kOsCrOS,
4048 FEATURE_VALUE_TYPE(app_list_features::kEnableEmbeddedAssistantUI)},
4049#endif // OS_CHROMEOS
4050
siyua9a66d1c2019-03-19 18:26:564051 {"autofill-enable-local-card-migration-for-non-sync-user",
4052 flag_descriptions::kAutofillEnableLocalCardMigrationForNonSyncUserName,
4053 flag_descriptions::
4054 kAutofillEnableLocalCardMigrationForNonSyncUserDescription,
Jared Saul21b9f4d2019-08-09 22:56:384055 kOsDesktop,
siyua9a66d1c2019-03-19 18:26:564056 FEATURE_VALUE_TYPE(
4057 autofill::features::kAutofillEnableLocalCardMigrationForNonSyncUser)},
4058
Sajad Maysamc30d6f82019-03-19 22:52:504059#if defined(TOOLKIT_VIEWS)
4060 {"enable-md-rounded-corners-on-dialogs",
4061 flag_descriptions::kEnableMDRoundedCornersOnDialogsName,
4062 flag_descriptions::kEnableMDRoundedCornersOnDialogsDescription, kOsDesktop,
4063 FEATURE_VALUE_TYPE(views::features::kEnableMDRoundedCornersOnDialogs)},
4064#endif // defined(TOOLKIT_VIEWS)
4065
Ehsan Karamadebb0f672019-03-22 19:48:394066#if BUILDFLAG(ENABLE_EXTENSIONS) && BUILDFLAG(ENABLE_PLUGINS)
4067 {"mime-handler-view-in-cross-process-frame",
4068 flag_descriptions::kMimeHandlerViewInCrossProcessFrameName,
4069 flag_descriptions::kMimeHandlerViewInCrossProcessFrameDescription,
4070 kOsDesktop,
4071 FEATURE_VALUE_TYPE(features::kMimeHandlerViewInCrossProcessFrame)},
4072#endif
4073
W. James MacLeanf79c97e2019-05-02 20:35:464074 {"strict-origin-isolation", flag_descriptions::kStrictOriginIsolationName,
4075 flag_descriptions::kStrictOriginIsolationDescription, kOsAll,
4076 FEATURE_VALUE_TYPE(features::kStrictOriginIsolation)},
4077
Jared Saul63f598a12019-03-22 23:40:264078 {"autofill-no-local-save-on-unmask-success",
4079 flag_descriptions::kAutofillNoLocalSaveOnUnmaskSuccessName,
4080 flag_descriptions::kAutofillNoLocalSaveOnUnmaskSuccessDescription, kOsAll,
4081 FEATURE_VALUE_TYPE(
4082 autofill::features::kAutofillNoLocalSaveOnUnmaskSuccess)},
4083
Hazem Ashmawyf1cd7e42019-03-25 18:17:324084#if defined(OS_ANDROID)
4085 {"enable-logging-js-console-messages",
4086 flag_descriptions::kLogJsConsoleMessagesName,
4087 flag_descriptions::kLogJsConsoleMessagesDescription, kOsAndroid,
4088 FEATURE_VALUE_TYPE(features::kLogJsConsoleMessages)},
4089#endif // OS_ANDROID
4090
Jonathan Backer93610a82019-03-27 14:02:384091 {"enable-skia-renderer", flag_descriptions::kSkiaRendererName,
kylechar32594632019-07-03 15:52:364092 flag_descriptions::kSkiaRendererDescription,
4093 kOsLinux | kOsWin | kOsAndroid,
Jonathan Backer93610a82019-03-27 14:02:384094 FEATURE_VALUE_TYPE(features::kUseSkiaRenderer)},
4095
Roman Sorokin6812e0082019-04-01 10:12:574096#if defined(OS_CHROMEOS)
Zentaro Kavanagh65b3e112019-09-03 16:18:234097 {"allow-disable-mouse-acceleration",
4098 flag_descriptions::kAllowDisableMouseAccelerationName,
4099 flag_descriptions::kAllowDisableMouseAccelerationDescription, kOsCrOS,
4100 FEATURE_VALUE_TYPE(features::kAllowDisableMouseAcceleration)},
4101
Bailey Berro6c989672019-04-11 19:19:204102 {"enable-streamlined-usb-printer-setup",
4103 flag_descriptions::kStreamlinedUsbPrinterSetupName,
4104 flag_descriptions::kStreamlinedUsbPrinterSetupDescription, kOsCrOS,
4105 FEATURE_VALUE_TYPE(features::kStreamlinedUsbPrinterSetup)},
4106
Becca Hughes71465532019-04-12 19:18:554107 {"enable-media-session-notifications",
4108 flag_descriptions::kMediaSessionNotificationsName,
4109 flag_descriptions::kMediaSessionNotificationsDescription, kOsCrOS,
4110 FEATURE_VALUE_TYPE(ash::features::kMediaSessionNotification)},
4111
Rob Schonberger11bb2812019-07-31 23:41:004112 {"enable-heuristic-stylus-palm-rejection",
4113 flag_descriptions::kEnableHeuristicStylusPalmRejectionName,
4114 flag_descriptions::kEnableHeuristicStylusPalmRejectionDescription, kOsCrOS,
4115 FEATURE_VALUE_TYPE(ui::kEnableHeuristicPalmDetectionFilter)},
4116
Becca Hughes71465532019-04-12 19:18:554117 {"enable-hide-arc-media-notifications",
4118 flag_descriptions::kHideArcMediaNotificationsName,
4119 flag_descriptions::kHideArcMediaNotificationsDescription, kOsCrOS,
4120 FEATURE_VALUE_TYPE(ash::features::kHideArcMediaNotifications)},
Jimmy Gongfa6a6ea2019-05-22 23:38:244121
4122 {"enable-cups-printers-ui-overhaul",
4123 flag_descriptions::kCupsPrintersUiOverhaulName,
4124 flag_descriptions::kCupsPrintersUiOverhaulDescription, kOsCrOS,
4125 FEATURE_VALUE_TYPE(features::kCupsPrintersUiOverhaul)},
Zentaro Kavanagh892851f2019-05-29 15:13:314126
Bailey Berro2c1797702019-09-30 18:49:424127 {"reduce-display-notifications",
4128 flag_descriptions::kReduceDisplayNotificationsName,
4129 flag_descriptions::kReduceDisplayNotificationsDescription, kOsCrOS,
4130 FEATURE_VALUE_TYPE(ash::features::kReduceDisplayNotifications)},
4131
Zentaro Kavanagh892851f2019-05-29 15:13:314132 {"use-search-click-for-right-click",
4133 flag_descriptions::kUseSearchClickForRightClickName,
4134 flag_descriptions::kUseSearchClickForRightClickDescription, kOsCrOS,
4135 FEATURE_VALUE_TYPE(chromeos::features::kUseSearchClickForRightClick)},
Roman Sorokin6812e0082019-04-01 10:12:574136#endif // OS_CHROMEOS
4137
Sebastien Lalancette1545950b2019-04-08 14:43:114138 {"autofill-off-no-server-data",
4139 flag_descriptions::kAutofillOffNoServerDataName,
4140 flag_descriptions::kAutofillOffNoServerDataDescription, kOsAll,
4141 FEATURE_VALUE_TYPE(autofill::features::kAutofillOffNoServerData)},
4142
Lucas Furukawa Gadani9f57e192019-04-05 14:56:104143 {"enable-portals", flag_descriptions::kEnablePortalsName,
4144 flag_descriptions::kEnablePortalsDescription, kOsAll,
4145 FEATURE_VALUE_TYPE(blink::features::kPortals)},
Manas Verma7e5b391b2019-04-09 02:08:534146 {"enable-autofill-credit-card-authentication",
4147 flag_descriptions::kEnableAutofillCreditCardAuthenticationName,
4148 flag_descriptions::kEnableAutofillCreditCardAuthenticationDescription,
4149 kOsAll,
4150 FEATURE_VALUE_TYPE(autofill::features::kAutofillCreditCardAuthentication)},
Lucas Furukawa Gadani9f57e192019-04-05 14:56:104151
Henrik Grunellabaf7182019-04-12 09:15:194152#if defined(OS_MACOSX)
4153 {"mac-system-media-permissions-info-ui",
4154 flag_descriptions::kMacSystemMediaPermissionsInfoUiName,
4155 flag_descriptions::kMacSystemMediaPermissionsInfoUiDescription, kOsMac,
4156 FEATURE_VALUE_TYPE(features::kMacSystemMediaPermissionsInfoUi)},
4157#endif // defined(OS_MACOSX)
4158
Brandon Maslenda12cf82019-08-23 20:54:184159 {"storage-access-api", flag_descriptions::kStorageAccessAPIName,
4160 flag_descriptions::kStorageAccessAPIDescription, kOsAll,
4161 FEATURE_VALUE_TYPE(blink::features::kStorageAccessAPI)},
4162
Lily Chene0d3ac92019-04-22 16:55:534163 {"same-site-by-default-cookies",
4164 flag_descriptions::kSameSiteByDefaultCookiesName,
4165 flag_descriptions::kSameSiteByDefaultCookiesDescription, kOsAll,
4166 FEATURE_VALUE_TYPE(net::features::kSameSiteByDefaultCookies)},
4167
Jenny Blessing45326bf2019-08-29 23:50:374168 {"enable-removing-all-third-party-cookies",
4169 flag_descriptions::kEnableRemovingAllThirdPartyCookiesName,
4170 flag_descriptions::kEnableRemovingAllThirdPartyCookiesDescription,
4171 kOsDesktop,
4172 FEATURE_VALUE_TYPE(
4173 browsing_data::features::kEnableRemovingAllThirdPartyCookies)},
4174
Sébastien Séguin-Gagnon30481922019-04-24 21:31:004175 {"enable-send-tab-to-self-broadcast",
4176 flag_descriptions::kSendTabToSelfBroadcastName,
4177 flag_descriptions::kSendTabToSelfBroadcastDescription, kOsAll,
4178 FEATURE_VALUE_TYPE(send_tab_to_self::kSendTabToSelfBroadcast)},
4179
Lily Cheneb304c8f2019-04-25 23:37:454180 {"cookies-without-same-site-must-be-secure",
4181 flag_descriptions::kCookiesWithoutSameSiteMustBeSecureName,
4182 flag_descriptions::kCookiesWithoutSameSiteMustBeSecureDescription, kOsAll,
4183 FEATURE_VALUE_TYPE(net::features::kCookiesWithoutSameSiteMustBeSecure)},
4184
Owen Min853a8162019-04-26 19:20:364185#if !defined(OS_ANDROID)
4186 {"enterprise-reporting-in-browser",
4187 flag_descriptions::kEnterpriseReportingInBrowserName,
4188 flag_descriptions::kEnterpriseReportingInBrowserDescription, kOsDesktop,
4189 FEATURE_VALUE_TYPE(features::kEnterpriseReportingInBrowser)},
4190#endif // !defined(OS_ANDROID)
4191
Sujie Zhu74dd439e2019-04-27 03:23:394192 {"enable-autofill-do-not-migrate-unsupported-local-cards",
4193 flag_descriptions::kEnableAutofillDoNotMigrateUnsupportedLocalCardsName,
4194 flag_descriptions::
4195 kEnableAutofillDoNotMigrateUnsupportedLocalCardsDescription,
4196 kOsDesktop,
4197 FEATURE_VALUE_TYPE(
4198 autofill::features::kAutofillDoNotMigrateUnsupportedLocalCards)},
François Beaufortdb160c12019-05-01 06:28:144199 {"enable-unsafe-webgpu", flag_descriptions::kUnsafeWebGPUName,
4200 flag_descriptions::kUnsafeWebGPUDescription, kOsMac,
4201 SINGLE_VALUE_TYPE(switches::kEnableUnsafeWebGPU)},
4202
Caitlin Fischer43edd90a2019-05-01 13:24:304203#if defined(OS_ANDROID)
4204 {"autofill-use-mobile-label-disambiguation",
4205 flag_descriptions::kAutofillUseMobileLabelDisambiguationName,
4206 flag_descriptions::kAutofillUseMobileLabelDisambiguationDescription,
4207 kOsAndroid,
Caitlin Fischer37e01232019-05-24 13:05:454208 FEATURE_WITH_PARAMS_VALUE_TYPE(
4209 autofill::features::kAutofillUseMobileLabelDisambiguation,
4210 kAutofillUseMobileLabelDisambiguationVariations,
4211 "AutofillUseMobileLabelDisambiguation")},
Caitlin Fischer43edd90a2019-05-01 13:24:304212#endif // defined(OS_ANDROID)
4213
Caitlin Fischer6d609542019-05-01 21:59:214214 {"autofill-prune-suggestions",
4215 flag_descriptions::kAutofillPruneSuggestionsName,
4216 flag_descriptions::kAutofillPruneSuggestionsDescription, kOsAll,
4217 FEATURE_VALUE_TYPE(autofill::features::kAutofillPruneSuggestions)},
4218
Julian Pastarmov885e8ed2019-05-03 14:24:244219 {"allow-popups-during-page-unload",
4220 flag_descriptions::kAllowPopupsDuringPageUnloadName,
Yann Dagobaa08aa2019-07-29 20:52:374221 flag_descriptions::kAllowPopupsDuringPageUnloadDescription,
Yann Dago78028712019-09-04 15:23:544222 kOsAll | kDeprecated,
Avi Drissman16dfa1c2019-10-09 21:41:134223 FEATURE_VALUE_TYPE(features::kAllowPopupsDuringPageUnload)},
4224
Vladislav Kuzkokov22f860ed2019-05-22 16:26:544225#if defined(OS_CHROMEOS)
4226 {"enable-advanced-ppd-attributes",
4227 flag_descriptions::kEnableAdvancedPpdAttributesName,
4228 flag_descriptions::kEnableAdvancedPpdAttributesDescription, kOsCrOS,
4229 FEATURE_VALUE_TYPE(printing::kAdvancedPpdAttributes)},
4230#endif // defined(OS_CHROMEOS)
Julian Pastarmov885e8ed2019-05-03 14:24:244231
Katie Dillon8b357312019-09-19 13:23:234232 {"allow-sync-xhr-in-page-dismissal",
4233 flag_descriptions::kAllowSyncXHRInPageDismissalName,
Yann Dagof589d5802019-09-26 17:14:004234 flag_descriptions::kAllowSyncXHRInPageDismissalDescription,
4235 kOsAll | kDeprecated,
Katie Dillon8b357312019-09-19 13:23:234236 FEATURE_VALUE_TYPE(blink::features::kAllowSyncXHRInPageDismissal)},
kdillon21723b4c2019-05-07 18:35:174237
Ionel Popescu4ba2a0932019-05-07 20:10:274238 {"form-controls-refresh", flag_descriptions::kFormControlsRefreshName,
4239 flag_descriptions::kFormControlsRefreshDescription, kOsAll,
4240 FEATURE_VALUE_TYPE(features::kFormControlsRefresh)},
4241
Jia0175adae2019-05-15 00:21:254242#if defined(OS_CHROMEOS)
4243 {"auto-screen-brightness", flag_descriptions::kAutoScreenBrightnessName,
4244 flag_descriptions::kAutoScreenBrightnessDescription, kOsCrOS,
4245 FEATURE_VALUE_TYPE(chromeos::features::kAutoScreenBrightness)},
Jon Mannc514fc92019-05-23 21:30:234246 {"sync-wifi-configurations", flag_descriptions::kSyncWifiConfigurationsName,
4247 flag_descriptions::kSyncWifiConfigurationsDescription, kOsCrOS,
4248 FEATURE_VALUE_TYPE(switches::kSyncWifiConfigurations)},
Jia0175adae2019-05-15 00:21:254249#endif // defined(OS_CHROMEOS)
4250
Jimmy Gonge649d572019-05-21 23:22:284251 {"audio-worklet-realtime-thread",
Hongchan Choi370d3af2019-05-20 20:56:584252 flag_descriptions::kAudioWorkletRealtimeThreadName,
4253 flag_descriptions::kAudioWorkletRealtimeThreadDescription, kOsAll,
siyuaa92bc942019-05-24 20:57:334254 FEATURE_VALUE_TYPE(blink::features::kAudioWorkletRealtimeThread)},
4255
4256#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
4257 {"enable-autofill-save-credit-card-uses-improved-messaging",
4258 flag_descriptions::kEnableAutofillSaveCreditCardUsesImprovedMessagingName,
4259 flag_descriptions::
4260 kEnableAutofillSaveCreditCardUsesImprovedMessagingDescription,
4261 kOsWin | kOsMac | kOsLinux,
4262 FEATURE_WITH_PARAMS_VALUE_TYPE(
4263 autofill::features::kAutofillSaveCreditCardUsesImprovedMessaging,
4264 kAutofillSaveCreditCardUsesImprovedMessagingVariations,
4265 "AutofillSaveCreditCardUsesImprovedMessaging")},
4266#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
Hongchan Choi370d3af2019-05-20 20:56:584267
Andrew Moylan5bb68b422019-05-27 04:56:454268#if defined(OS_CHROMEOS)
Yulun Wu502158732019-07-24 00:31:454269 {"release-notes", flag_descriptions::kReleaseNotesName,
4270 flag_descriptions::kReleaseNotesDescription, kOsCrOS,
4271 FEATURE_VALUE_TYPE(chromeos::features::kReleaseNotes)},
4272#endif // defined(OS_CHROMEOS)
4273
4274#if defined(OS_CHROMEOS)
Andrew Moylan60ac7c0c2019-05-28 06:52:184275 {"smart-dim-model-v3", flag_descriptions::kSmartDimModelV3Name,
4276 flag_descriptions::kSmartDimModelV3Description, kOsCrOS,
4277 FEATURE_VALUE_TYPE(chromeos::features::kSmartDimModelV3)},
Andrew Moylan5bb68b422019-05-27 04:56:454278#endif // defined(OS_CHROMEOS)
4279
May Lippertacea1f52019-05-29 21:19:484280#if defined(OS_CHROMEOS)
4281 {"split-settings", flag_descriptions::kSplitSettingsName,
4282 flag_descriptions::kSplitSettingsDescription, kOsCrOS,
4283 FEATURE_VALUE_TYPE(chromeos::features::kSplitSettings)},
4284#endif // defined(OS_CHROMEOS)
4285
Sean Harrisonb65269e2019-10-15 14:44:174286 {"privacy-settings-redesign",
4287 flag_descriptions::kPrivacySettingsRedesignName,
4288 flag_descriptions::kPrivacySettingsRedesignDescription,
4289 kOsWin | kOsMac | kOsLinux,
4290 FEATURE_VALUE_TYPE(features::kPrivacySettingsRedesign)},
4291
Harry Cuttscfe6d934f2019-06-05 21:45:554292#if defined(OS_CHROMEOS)
4293 {"gesture-properties-dbus-service",
4294 flag_descriptions::kEnableGesturePropertiesDBusServiceName,
4295 flag_descriptions::kEnableGesturePropertiesDBusServiceDescription, kOsCrOS,
4296 FEATURE_VALUE_TYPE(chromeos::features::kGesturePropertiesDBusService)},
4297#endif // defined(OS_CHROMEOS)
4298
Lily Chenb22952e2019-06-06 18:56:234299 {"cookie-deprecation-messages",
4300 flag_descriptions::kCookieDeprecationMessagesName,
4301 flag_descriptions::kCookieDeprecationMessagesDescription, kOsAll,
4302 FEATURE_VALUE_TYPE(features::kCookieDeprecationMessages)},
4303
Evan Liu24f7902a2019-06-14 21:38:334304 {"enable-caption-settings", flag_descriptions::kCaptionSettingsName,
4305 flag_descriptions::kCaptionSettingsDescription, kOsAll,
4306 FEATURE_VALUE_TYPE(features::kCaptionSettings)},
4307
Christopher Thompsonf3ba20122019-06-06 22:01:014308 {"ev-details-in-page-info", flag_descriptions::kEvDetailsInPageInfoName,
4309 flag_descriptions::kEvDetailsInPageInfoDescription, kOsDesktop,
4310 FEATURE_VALUE_TYPE(features::kEvDetailsInPageInfo)},
4311
Edward Jung7c1793af2019-06-14 17:33:564312 {"security-interstitials-dark-mode",
4313 flag_descriptions::kSecurityInterstitialsDarkModeName,
4314 flag_descriptions::kSecurityInterstitialsDarkModeDescription, kOsAll,
4315 FEATURE_VALUE_TYPE(
4316 security_interstitials::kSecurityInterstitialsDarkMode)},
4317
siyua29899832019-06-07 19:42:124318 {"enable-autofill-credit-card-upload-feedback",
4319 flag_descriptions::kEnableAutofillCreditCardUploadFeedbackName,
4320 flag_descriptions::kEnableAutofillCreditCardUploadFeedbackDescription,
4321 kOsWin | kOsMac | kOsLinux,
4322 FEATURE_VALUE_TYPE(autofill::features::kAutofillCreditCardUploadFeedback)},
siyua8370d2c2019-06-10 20:10:024323
Mugdha Lakhani778b8952019-06-10 14:45:404324 {"periodic-background-sync", flag_descriptions::kPeriodicBackgroundSyncName,
4325 flag_descriptions::kPeriodicBackgroundSyncDescription, kOsAll,
4326 FEATURE_VALUE_TYPE(features::kPeriodicBackgroundSync)},
siyua29899832019-06-07 19:42:124327
Dominik Röttschesb7d7ad02019-06-17 18:21:274328 {"font-src-local-matching", flag_descriptions::kFontSrcLocalMatchingName,
4329 flag_descriptions::kFontSrcLocalMatchingDescription, kOsAll,
4330 FEATURE_VALUE_TYPE(features::kFontSrcLocalMatching)},
4331
Danan S749399c2019-06-25 23:08:484332#if defined(OS_CHROMEOS)
4333 {"enable-parental-controls-settings",
4334 flag_descriptions::kEnableParentalControlsSettingsName,
4335 flag_descriptions::kEnableParentalControlsSettingsDescription, kOsCrOS,
James Cook8ab85f32019-08-05 18:30:114336 FEATURE_VALUE_TYPE(chromeos::features::kParentalControlsSettings)},
Danan S749399c2019-06-25 23:08:484337#endif // defined(OS_CHROMEOS)
4338
Ella Ge1282f552019-06-24 20:06:034339 {"mouse-subframe-no-implicit-capture",
4340 flag_descriptions::kMouseSubframeNoImplicitCaptureName,
4341 flag_descriptions::kMouseSubframeNoImplicitCaptureDescription, kOsAll,
4342 FEATURE_VALUE_TYPE(features::kMouseSubframeNoImplicitCapture)},
4343
Jan Wilken Dörrie45ccf252019-06-25 18:07:464344#if defined(OS_ANDROID)
4345 {"touch-to-fill", flag_descriptions::kTouchToFillAndroidName,
4346 flag_descriptions::kTouchToFillAndroidDescription, kOsAndroid,
Jan Wilken Dörrieecbfc572019-07-23 13:27:554347 FEATURE_VALUE_TYPE(autofill::features::kTouchToFillAndroid)},
Jan Wilken Dörrie45ccf252019-06-25 18:07:464348#endif // defined(OS_ANDROID)
4349
Maksim Moskvitin35b09c1bf2019-06-28 17:29:484350 {"enable-sync-uss-nigori", flag_descriptions::kEnableSyncUSSNigoriName,
4351 flag_descriptions::kEnableSyncUSSNigoriDescription, kOsAll,
4352 FEATURE_VALUE_TYPE(switches::kSyncUSSNigori)},
4353
Tommy Steimel863e6cf2019-07-01 19:07:364354#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
4355 {"global-media-controls", flag_descriptions::kGlobalMediaControlsName,
4356 flag_descriptions::kGlobalMediaControlsDescription,
4357 kOsWin | kOsMac | kOsLinux,
4358 FEATURE_VALUE_TYPE(media::kGlobalMediaControls)},
4359#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
4360
Guillaume Jenkinsdd8060a72019-07-03 17:28:064361#if BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_WIN)
4362 {"win-use-native-spellchecker",
4363 flag_descriptions::kWinUseBrowserSpellCheckerName,
4364 flag_descriptions::kWinUseBrowserSpellCheckerDescription, kOsWin,
4365 FEATURE_VALUE_TYPE(spellcheck::kWinUseBrowserSpellChecker)},
4366#endif // BUILDFLAG(ENABLE_SPELLCHECK) && defined(OS_WIN)
4367
Joe DeBlasiofb277092019-07-03 23:46:364368 {"safety-tips", flag_descriptions::kSafetyTipName,
4369 flag_descriptions::kSafetyTipDescription, kOsAll,
Joe DeBlasio92c30032019-10-11 16:48:074370 FEATURE_VALUE_TYPE(security_state::features::kSafetyTipUI)},
Joe DeBlasiofb277092019-07-03 23:46:364371
Jan Krcala80b6952019-07-04 07:42:554372#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
4373 {"animated-avatar-button", flag_descriptions::kAnimatedAvatarButtonName,
4374 flag_descriptions::kAnimatedAvatarButtonDescription,
4375 kOsWin | kOsMac | kOsLinux,
4376 FEATURE_VALUE_TYPE(features::kAnimatedAvatarButton)},
4377#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
4378
Jason Lin121f0ac2019-07-10 01:46:134379#if defined(OS_CHROMEOS)
4380 {"crostini-webui-installer", flag_descriptions::kCrostiniWebUIInstallerName,
4381 flag_descriptions::kCrostiniWebUIInstallerDescription, kOsCrOS,
4382 FEATURE_VALUE_TYPE(chromeos::features::kCrostiniWebUIInstaller)},
4383#endif // OS_CHROMEOS
4384
Shawn Pickett0b470712019-08-15 00:43:454385 {"turn-off-streaming-media-caching",
4386 flag_descriptions::kTurnOffStreamingMediaCachingName,
4387 flag_descriptions::kTurnOffStreamingMediaCachingDescription, kOsAll,
4388 FEATURE_VALUE_TYPE(net::features::kTurnOffStreamingMediaCaching)},
4389
siashah1ddbd592019-07-11 00:17:164390 {"enable-autofill-save-card-show-no-thanks",
4391 flag_descriptions::kEnableAutofillSaveCardShowNoThanksName,
siyua93876a372019-07-24 22:10:184392 flag_descriptions::kEnableAutofillSaveCardShowNoThanksDescription,
4393 kOsCrOS | kOsAndroid,
siashah1ddbd592019-07-11 00:17:164394 FEATURE_VALUE_TYPE(autofill::features::kAutofillSaveCardShowNoThanks)},
4395
Andrei Chulkov1a12e6d22019-07-15 11:16:074396#if defined(OS_ANDROID)
4397 {"password-manager-onboarding-android",
4398 flag_descriptions::kPasswordManagerOnboardingAndroidName,
4399 flag_descriptions::kPasswordManagerOnboardingAndroidDescription,
4400 kOsAndroid,
4401 FEATURE_VALUE_TYPE(
4402 password_manager::features::kPasswordManagerOnboardingAndroid)},
4403#endif // defined(OS_ANDROID)
4404
Keishi Hattori38d7bb62019-08-28 04:15:334405 {"enable-cooperative-scheduling",
4406 flag_descriptions::kCooperativeSchedulingName,
4407 flag_descriptions::kCooperativeSchedulingDescription, kOsAll,
4408 FEATURE_VALUE_TYPE(features::kCooperativeScheduling)},
4409
Doug Arnett32e3e012019-07-11 16:45:174410 {"enable-defer-all-script", flag_descriptions::kEnableDeferAllScriptName,
4411 flag_descriptions::kEnableDeferAllScriptDescription, kOsAll,
4412 FEATURE_VALUE_TYPE(previews::features::kDeferAllScriptPreviews)},
Tarun Bansalfb3069d32019-07-19 03:28:044413 {"enable-defer-all-script-without-optimization-hints",
4414 flag_descriptions::kEnableDeferAllScriptWithoutOptimizationHintsName,
4415 flag_descriptions::
4416 kEnableDeferAllScriptWithoutOptimizationHintsDescription,
4417 kOsAll,
4418 SINGLE_VALUE_TYPE(
4419 previews::switches::kEnableDeferAllScriptWithoutOptimizationHints)},
Doug Arnett32e3e012019-07-11 16:45:174420
Xiao Yangf59e6932019-07-19 00:18:134421#if defined(OS_CHROMEOS)
4422 {"enable-assistant-routines",
4423 flag_descriptions::kEnableAssistantRoutinesName,
4424 flag_descriptions::kEnableAssistantRoutinesDescription, kOsCrOS,
4425 FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantRoutines)},
4426#endif // OS_CHROMEOS
4427
Jeroen Dhollander41b3bec2019-07-19 16:56:244428#if defined(OS_CHROMEOS)
4429 {"gaia-action-buttons", flag_descriptions::kGaiaActionButtonsName,
4430 flag_descriptions::kGaiaActionButtonsDescription, kOsCrOSOwnerOnly,
4431 FEATURE_VALUE_TYPE(chromeos::features::kGaiaActionButtons)},
4432#endif // defined(OS_CHROMEOS)
4433
Xing Liu1919ec232019-07-22 20:38:044434 {"notification-scheduler-debug-options",
4435 flag_descriptions::kNotificationSchedulerDebugOptionName,
4436 flag_descriptions::kNotificationSchedulerDebugOptionDescription,
4437 kOsAndroid, MULTI_VALUE_TYPE(kNotificationSchedulerChoices)},
4438
Lan Wei97ee4b1f2019-07-25 21:02:394439 {"update-hover-at-begin-frame",
4440 flag_descriptions::kUpdateHoverAtBeginFrameName,
4441 flag_descriptions::kUpdateHoverAtBeginFrameDescription, kOsAll,
4442 FEATURE_VALUE_TYPE(features::kUpdateHoverAtBeginFrame)},
4443
Patrick Noland76b5c442019-07-30 01:01:394444#if defined(OS_ANDROID)
4445 {"usage-stats", flag_descriptions::kUsageStatsName,
4446 flag_descriptions::kUsageStatsDescription, kOsAndroid,
4447 FEATURE_VALUE_TYPE(chrome::android::kUsageStatsFeature)},
4448#endif // defined(OS_ANDROID)
4449
Elly Fong-Jonesd488661c2019-07-31 21:53:264450 // This set of flags is used to temporary reinstate expired flags; see
4451 // //docs/flag_expiry.md for details.
Elly Fong-Jones99d8cdad2019-08-27 15:48:454452 {"temporary-unexpire-flags-m76", flag_descriptions::kUnexpireFlagsM76Name,
4453 flag_descriptions::kUnexpireFlagsM76Description, kOsAll,
4454 FEATURE_VALUE_TYPE(flags::kUnexpireFlagsM76)},
Elly Fong-Jonesd488661c2019-07-31 21:53:264455
Becca Hughesca82d2d2019-08-05 20:03:224456#if defined(OS_CHROMEOS)
4457 {"lock-screen-media-controls",
4458 flag_descriptions::kLockScreenMediaControlsName,
4459 flag_descriptions::kLockScreenMediaControlsDescription, kOsCrOS,
4460 FEATURE_VALUE_TYPE(ash::features::kLockScreenMediaControls)},
4461#endif // defined(OS_CHROMEOS)
4462
Yann Dago70afb65d2019-08-06 15:50:534463 {"policy-atomic-group-enabled",
4464 flag_descriptions::kPolicyAtomicGroupsEnabledName,
4465 flag_descriptions::kPolicyAtomicGroupsEnabledDescription, kOsAll,
4466 FEATURE_VALUE_TYPE(policy::features::kPolicyAtomicGroup)},
4467
siyuad573455f2019-08-06 22:39:264468 {"enable-autofill-updated-card-unmask-prompt-ui",
4469 flag_descriptions::kEnableAutofillUpdatedCardUnmaskPromptUiName,
4470 flag_descriptions::kEnableAutofillUpdatedCardUnmaskPromptUiDescription,
4471 kOsDesktop,
4472 FEATURE_VALUE_TYPE(
4473 autofill::features::kAutofillUpdatedCardUnmaskPromptUi)},
4474
Sasha McIntoshe889f9f2019-09-03 21:01:574475 {"decode-jpeg-images-to-yuv",
4476 flag_descriptions::kDecodeJpeg420ImagesToYUVName,
4477 flag_descriptions::kDecodeJpeg420ImagesToYUVDescription, kOsAll,
4478 FEATURE_VALUE_TYPE(blink::features::kDecodeJpeg420ImagesToYUV)},
4479
Madeleine Barowsky266406d92019-08-12 19:20:154480 {"decode-webp-images-to-yuv",
4481 flag_descriptions::kDecodeLossyWebPImagesToYUVName,
4482 flag_descriptions::kDecodeLossyWebPImagesToYUVDescription, kOsAll,
4483 FEATURE_VALUE_TYPE(blink::features::kDecodeLossyWebPImagesToYUV)},
dalykc936eb612019-08-14 11:46:474484
4485 {"dns-over-https", flag_descriptions::kDnsOverHttpsName,
dalyk348087f2019-09-04 12:40:264486 flag_descriptions::kDnsOverHttpsDescription,
4487 kOsMac | kOsWin | kOsCrOS | kOsAndroid,
dalykc936eb612019-08-14 11:46:474488 FEATURE_VALUE_TYPE(features::kDnsOverHttps)},
4489
Lijin Shend6f35432019-08-21 02:26:594490#if defined(OS_ANDROID)
4491 {"tab-switcher-longpress-menu",
4492 flag_descriptions::kTabSwitcherLongpressMenuName,
4493 flag_descriptions::kTabSwitcherLongpressMenuDescription, kOsAndroid,
4494 FEATURE_VALUE_TYPE(chrome::android::kTabSwitcherLongpressMenu)},
4495#endif // defined(OS_ANDROID)
4496
Tsuyoshi Horoabfb079d2019-10-17 02:09:064497 {"web-bundles", flag_descriptions::kWebBundlesName,
4498 flag_descriptions::kWebBundlesDescription, kOsAll,
4499 FEATURE_VALUE_TYPE(features::kWebBundles)},
Takashi Toyoshimaff977072019-08-16 10:34:134500
Lijin Shen5feade62019-09-17 03:01:014501#if defined(OS_ANDROID)
4502 {"darken-websites-checkbox-in-themes-setting",
4503 flag_descriptions::kDarkenWebsitesCheckboxInThemesSettingName,
4504 flag_descriptions::kDarkenWebsitesCheckboxInThemesSettingDescription,
4505 kOsAndroid,
4506 FEATURE_VALUE_TYPE(
4507 chrome::android::kDarkenWebsitesCheckboxInThemesSetting)},
4508#endif // defined(OS_ANDROID)
4509
Thomas Tangla852e182019-08-19 17:22:344510#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
4511 {"profile-menu-revamp", flag_descriptions::kProfileMenuRevampName,
4512 flag_descriptions::kProfileMenuRevampDescription,
4513 kOsWin | kOsMac | kOsLinux,
4514 FEATURE_VALUE_TYPE(features::kProfileMenuRevamp)},
4515#endif // defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
4516
Jan Wilken Dörriee8a6b3c2019-08-20 14:14:464517 {"password-leak-detection", flag_descriptions::kPasswordLeakDetectionName,
4518 flag_descriptions::kPasswordLeakDetectionDescription, kOsAll,
4519 FEATURE_VALUE_TYPE(password_manager::features::kLeakDetection)},
Christos Froussios13b412df2019-09-19 19:12:474520 {"enable-autofill-upi-vpa", flag_descriptions::kAutofillSaveAndFillVPAName,
4521 flag_descriptions::kAutofillSaveAndFillVPADescription, kOsAll,
4522 FEATURE_VALUE_TYPE(autofill::features::kAutofillSaveAndFillVPA)},
Jan Wilken Dörriee8a6b3c2019-08-20 14:14:464523
Andy Paicu4d675fe2019-08-22 15:30:064524 {"quiet-notification-prompts",
4525 flag_descriptions::kQuietNotificationPromptsName,
Kamila2724bd702019-09-10 16:08:584526 flag_descriptions::kQuietNotificationPromptsDescription, kOsAll,
Andy Paicu4d675fe2019-08-22 15:30:064527 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kQuietNotificationPrompts,
4528 kQuietNotificationPromptsVariations,
4529 "QuietNotificationPrompts")},
Nandhini11a6a87b2019-08-22 22:45:244530
Kamila2724bd702019-09-10 16:08:584531#if defined(OS_ANDROID)
Nandhini11a6a87b2019-08-22 22:45:244532 {"context-menu-search-with-google-lens",
4533 flag_descriptions::kContextMenuSearchWithGoogleLensName,
4534 flag_descriptions::kContextMenuSearchWithGoogleLensDescription, kOsAndroid,
4535 FEATURE_VALUE_TYPE(chrome::android::kContextMenuSearchWithGoogleLens)},
Andy Paicu4d675fe2019-08-22 15:30:064536#endif // defined(OS_ANDROID)
4537
tbya97bb93c2019-08-23 02:16:404538#if defined(OS_CHROMEOS)
4539 {"zero-state-files", flag_descriptions::kZeroStateFilesName,
4540 flag_descriptions::kZeroStateFilesDescription, kOsCrOS,
4541 FEATURE_VALUE_TYPE(app_list_features::kEnableZeroStateMixedTypesRanker)},
Sammie Quon018ee5612019-08-26 20:58:394542
4543 {"new-overview-tablet-layout",
4544 flag_descriptions::kNewOverviewTabletLayoutName,
4545 flag_descriptions::kNewOverviewTabletLayoutDescription, kOsCrOS,
4546 FEATURE_VALUE_TYPE(ash::features::kNewOverviewLayout)},
Paul Dysone2e1a092019-08-28 23:53:114547
4548 {"aggregated-ml-app-ranking",
4549 flag_descriptions::kAggregatedMlAppRankingName,
4550 flag_descriptions::kAggregatedMlAppRankingDescription, kOsCrOS,
4551 FEATURE_VALUE_TYPE(app_list_features::kEnableAggregatedMlAppRanking)},
Toni Barzic8468f1b2019-08-29 01:28:354552
4553 {"scalable-app-list", flag_descriptions::kScalableAppListName,
4554 flag_descriptions::kScalableAppListDescription, kOsCrOS,
4555 FEATURE_VALUE_TYPE(app_list_features::kScalableAppList)},
Thanh Nguyen185d69e92019-10-14 22:43:104556
Thanh Nguyen0ec9c752019-10-04 01:35:374557 {"fuzzy-app-search", flag_descriptions::kFuzzyAppSearchName,
4558 flag_descriptions::kFuzzyAppSearchDescription, kOsCrOS,
4559 FEATURE_VALUE_TYPE(app_list_features::kEnableFuzzyAppSearch)},
4560
Thanh Nguyen185d69e92019-10-14 22:43:104561 {"aggregated-ml-search-ranking",
4562 flag_descriptions::kAggregatedMlSearchRankingName,
4563 flag_descriptions::kAggregatedMlSearchRankingDescription, kOsCrOS,
4564 FEATURE_VALUE_TYPE(app_list_features::kEnableAggregatedMlSearchRanking)},
4565
tbya97bb93c2019-08-23 02:16:404566#endif // defined(OS_CHROMEOS)
4567
Marc Treib7c27a502019-08-28 12:37:034568 {"passwords-account-storage",
4569 flag_descriptions::kEnablePasswordsAccountStorageName,
4570 flag_descriptions::kEnablePasswordsAccountStorageDescription,
4571 kOsWin | kOsMac | kOsLinux,
4572 FEATURE_VALUE_TYPE(
4573 password_manager::features::kEnablePasswordsAccountStorage)},
4574
Christian Dullweber0df89912019-08-29 13:52:324575#if !defined(OS_ANDROID)
Christian Dullweber230cc8f2019-09-20 14:00:164576 {"improved-cookie-controls", flag_descriptions::kImprovedCookieControlsName,
4577 flag_descriptions::kImprovedCookieControlsDescription, kOsDesktop,
Christian Dullweber0df89912019-08-29 13:52:324578 FEATURE_VALUE_TYPE(content_settings::kImprovedCookieControls)},
Christian Dullweber230cc8f2019-09-20 14:00:164579
4580 {"improved-cookie-controls-for-third-party-cookie-blocking",
4581 flag_descriptions::kImprovedCookieControlsForThirdPartyCookieBlockingName,
4582 flag_descriptions::
4583 kImprovedCookieControlsForThirdPartyCookieBlockingDescription,
4584 kOsDesktop,
4585 FEATURE_VALUE_TYPE(
4586 content_settings::kImprovedCookieControlsForThirdPartyCookieBlocking)},
Christian Dullweber0df89912019-08-29 13:52:324587#endif // !defined(OS_ANDROID)
4588
Joao da Silvaffb543622019-09-04 16:30:404589#if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_LINUX)
4590 {"sync-clipboard-service", flag_descriptions::kSyncClipboardServiceName,
4591 flag_descriptions::kSyncClipboardServiceDescription, kOsDesktop,
4592 FEATURE_VALUE_TYPE(features::kSyncClipboardServiceFeature)},
4593#endif // OS_WIN || OS_MACOSX || OS_LINUX
4594
Abigail Kleinf5a731a2019-09-10 16:12:204595#if !defined(OS_ANDROID)
4596 {"accessibility-internals-page-improvements",
4597 flag_descriptions::kAccessibilityInternalsPageImprovementsName,
4598 flag_descriptions::kAccessibilityInternalsPageImprovementsDescription,
4599 kOsDesktop,
4600 FEATURE_VALUE_TYPE(features::kAccessibilityInternalsPageImprovements)},
4601#endif
4602
Anne Lim24031e9d2019-09-12 23:03:194603 {"autofill-always-return-cloud-tokenized-card",
4604 flag_descriptions::kAutofillAlwaysReturnCloudTokenizedCardName,
4605 flag_descriptions::kAutofillAlwaysReturnCloudTokenizedCardDescription,
4606 kOsAll,
4607 FEATURE_VALUE_TYPE(
4608 autofill::features::kAutofillAlwaysReturnCloudTokenizedCard)},
4609
Alexander Timin6ae060b62019-09-17 11:21:374610 {"back-forward-cache", flag_descriptions::kBackForwardCacheName,
4611 flag_descriptions::kBackForwardCacheDescription, kOsAll,
Alexander Timin6d24bd2f2019-09-17 19:52:034612 FEATURE_WITH_PARAMS_VALUE_TYPE(features::kBackForwardCache,
4613 kBackForwardCacheVariations,
4614 "BackForwardCache")},
Alexander Timin6ae060b62019-09-17 11:21:374615
Pavel Yatsukfb2129a2019-09-20 03:28:504616#if defined(OS_ANDROID)
4617 {"android-setup-search-engine",
4618 flag_descriptions::kAndroidSetupSearchEngineName,
4619 flag_descriptions::kAndroidSetupSearchEngineDescription, kOsAndroid,
4620 FEATURE_VALUE_TYPE(chrome::android::kAndroidSetupSearchEngine)},
Gang Wua90d4e2c2019-09-20 20:30:114621 {"enable-clipboard-provider-text-suggestions",
4622 flag_descriptions::kEnableClipboardProviderTextSuggestionsName,
4623 flag_descriptions::kEnableClipboardProviderTextSuggestionsDescription,
4624 kOsAndroid,
4625 FEATURE_VALUE_TYPE(omnibox::kEnableClipboardProviderTextSuggestions)},
Gang Wuba18dba2019-09-25 03:43:214626 {"omnibox-remove-suggestions-from-clipboard",
4627 flag_descriptions::kOmniboxRemoveSuggestionsFromClipboardName,
4628 flag_descriptions::kOmniboxRemoveSuggestionsFromClipboardDescription,
4629 kOsAndroid,
4630 FEATURE_VALUE_TYPE(omnibox::kOmniboxRemoveSuggestionsFromClipboard)},
Gang Wua90d4e2c2019-09-20 20:30:114631#endif // defined(OS_ANDROID)
4632
Matt Amertecf4bf32019-09-25 19:50:394633 {"percent-based-scrolling", flag_descriptions::kPercentBasedScrollingName,
4634 flag_descriptions::kPercentBasedScrollingDescription, kOsAll,
4635 FEATURE_VALUE_TYPE(features::kPercentBasedScrolling)},
4636
Christopher Thompsonb89e7f92019-09-26 22:31:424637#if !defined(OS_ANDROID)
4638 {"show-legacy-tls-warnings", flag_descriptions::kLegacyTLSWarningsName,
4639 flag_descriptions::kLegacyTLSWarningsDescription, kOsDesktop,
calamityaa4a2212019-10-02 04:53:044640 FEATURE_VALUE_TYPE(security_state::features::kLegacyTLSWarnings)},
Christopher Thompsonb89e7f92019-09-26 22:31:424641#endif
4642
Xiaohui Chen3f3a5bf12019-09-28 00:29:454643#if defined(OS_CHROMEOS)
4644 {"enable-assistant-aec", flag_descriptions::kEnableGoogleAssistantAecName,
4645 flag_descriptions::kEnableGoogleAssistantAecDescription, kOsCrOS,
4646 FEATURE_VALUE_TYPE(chromeos::assistant::features::kAssistantAudioEraser)},
4647#endif
4648
Pete Lavallee2d4415c72019-10-07 20:43:564649#if defined(OS_WIN)
4650 {"enable-winrt-geolocation-implementation",
4651 flag_descriptions::kWinrtGeolocationImplementationName,
4652 flag_descriptions::kWinrtGeolocationImplementationDescription, kOsWin,
4653 FEATURE_VALUE_TYPE(features::kWinrtGeolocationImplementation)},
4654#endif
4655
Nicholas Hollingume9a6744f2019-10-03 05:57:294656#if defined(OS_CHROMEOS)
4657 {"exo-pointer-lock", flag_descriptions::kExoPointerLockName,
4658 flag_descriptions::kExoPointerLockDescription, kOsCrOS,
4659 FEATURE_VALUE_TYPE(chromeos::features::kExoPointerLock)},
4660#endif // defined(OS_CHROMEOS)
4661
Christopher Cameron93855ff2019-10-10 19:26:544662#if defined(OS_MACOSX)
4663 {"metal", flag_descriptions::kMetalName,
4664 flag_descriptions::kMetalDescription, kOsMac,
4665 FEATURE_VALUE_TYPE(features::kMetal)},
4666#endif
4667
Eric Karl34c48382019-10-15 02:04:174668 {"enable-de-jelly", flag_descriptions::kEnableDeJellyName,
4669 flag_descriptions::kEnableDeJellyDescription, kOsAll,
4670 SINGLE_VALUE_TYPE(switches::kEnableDeJelly)},
4671
Charles Zhao9d1b8def2019-10-16 22:32:394672#if defined(OS_CHROMEOS)
4673 {"enable-cros-action-recorder",
4674 flag_descriptions::kEnableCrOSActionRecorderName,
4675 flag_descriptions::kEnableCrOSActionRecorderDescription, kOsCrOS,
Charles Zhao7e5fd0e2019-10-20 23:20:514676 MULTI_VALUE_TYPE(kEnableCrOSActionRecorderChoices)},
Charles Zhao9d1b8def2019-10-16 22:32:394677#endif // defined(OS_CHROMEOS)
4678
Carlos IL08193932019-10-17 23:14:114679#if !defined(OS_ANDROID)
Joel Hockey73bc7122019-10-20 21:41:114680 {"mix-browser-type-tabs", flag_descriptions::kMixBrowserTypeTabsName,
4681 flag_descriptions::kMixBrowserTypeTabsDescription, kOsDesktop,
4682 FEATURE_VALUE_TYPE(features::kMixBrowserTypeTabs)},
4683
Carlos IL08193932019-10-17 23:14:114684 {"mixed-content-setting", flag_descriptions::kMixedContentSiteSettingName,
4685 flag_descriptions::kMixedContentSiteSettingDescription, kOsDesktop,
4686 FEATURE_VALUE_TYPE(features::kMixedContentSiteSetting)},
4687#endif // !defined(OS_ANDROID)
4688
Stephen Chenneyde6e5c82019-01-21 01:56:044689 // NOTE: Adding a new flag requires adding a corresponding entry to enum
4690 // "LoginCustomFlags" in tools/metrics/histograms/enums.xml. See "Flag
4691 // Histograms" in tools/metrics/histograms/README.md (run the
4692 // AboutFlagsHistogramTest unit test to verify this process).
[email protected]a0e4b072011-08-17 01:47:074693};
[email protected]ad2a3ded2010-08-27 13:19:054694
sdefresne0e566342015-11-24 08:55:464695class FlagsStateSingleton {
[email protected]e2ddbc92010-10-15 20:02:074696 public:
sdefresne0e566342015-11-24 08:55:464697 FlagsStateSingleton()
Avi Drissmand251e912018-12-26 15:46:374698 : flags_state_(kFeatureEntries, base::size(kFeatureEntries)) {}
sdefresne0e566342015-11-24 08:55:464699 ~FlagsStateSingleton() {}
asvitkine91931d52015-10-16 17:55:474700
sdefresne0e566342015-11-24 08:55:464701 static FlagsStateSingleton* GetInstance() {
4702 return base::Singleton<FlagsStateSingleton>::get();
4703 }
asvitkine91931d52015-10-16 17:55:474704
sdefresne0e566342015-11-24 08:55:464705 static flags_ui::FlagsState* GetFlagsState() {
4706 return &GetInstance()->flags_state_;
[email protected]e2ddbc92010-10-15 20:02:074707 }
4708
4709 private:
sdefresne0e566342015-11-24 08:55:464710 flags_ui::FlagsState flags_state_;
asvitkine03007d02015-10-21 22:50:064711
sdefresne0e566342015-11-24 08:55:464712 DISALLOW_COPY_AND_ASSIGN(FlagsStateSingleton);
[email protected]e2ddbc92010-10-15 20:02:074713};
4714
Yann Dago78028712019-09-04 15:23:544715bool ShouldSkipNonDeprecatedFeatureEntry(const FeatureEntry& entry) {
4716 return ~entry.supported_platforms & kDeprecated;
Yann Dagobaa08aa2019-07-29 20:52:374717}
4718
asvitkinee9ed35e2015-10-14 22:33:594719bool SkipConditionalFeatureEntry(const FeatureEntry& entry) {
sdefresne9fb67692015-08-03 18:48:224720 version_info::Channel channel = chrome::GetChannel();
Ken Rockot74946c32017-04-25 22:04:594721#if defined(OS_CHROMEOS)
Scott Violet8ff9c302018-02-22 22:28:354722 // Don't expose mash on stable channel.
James Cooka1bcfa9a2018-01-30 00:18:404723 if (!strcmp("mash", entry.internal_name) &&
4724 channel == version_info::Channel::STABLE) {
Ken Rockot74946c32017-04-25 22:04:594725 return true;
4726 }
bruthigeafb0c02017-06-09 13:11:534727
4728 // enable-ui-devtools is only available on for non Stable channels.
Mike Wasserman8f8b0852018-12-03 22:08:104729 if (!strcmp(ui_devtools::switches::kEnableUiDevTools, entry.internal_name) &&
bruthigeafb0c02017-06-09 13:11:534730 channel == version_info::Channel::STABLE) {
4731 return true;
4732 }
Ken Rockot74946c32017-04-25 22:04:594733#endif // defined(OS_CHROMEOS)
4734
megjablon778536d82016-09-30 19:49:194735 // data-reduction-proxy-lo-fi and enable-data-reduction-proxy-lite-page
megjablon0a3af142015-11-24 21:54:514736 // are only available for Chromium builds and the Canary/Dev/Beta channels.
4737 if ((!strcmp("data-reduction-proxy-lo-fi", entry.internal_name) ||
Rouslan Solomakhinbed1af22017-06-09 18:40:574738 !strcmp("enable-data-reduction-proxy-lite-page", entry.internal_name)) &&
sdefresne6e883e42015-07-30 08:05:544739 channel != version_info::Channel::BETA &&
4740 channel != version_info::Channel::DEV &&
4741 channel != version_info::Channel::CANARY &&
4742 channel != version_info::Channel::UNKNOWN) {
megjablon6314a882015-06-17 17:26:454743 return true;
4744 }
4745
hubbee7499512017-04-05 22:35:044746#if defined(OS_WIN)
4747 // HDR mode works, but displays everything horribly wrong prior to windows 10.
4748 if (!strcmp("enable-hdr", entry.internal_name) &&
Bruce Dawsonaed9bea2019-04-20 02:30:094749 base::win::GetVersion() < base::win::Version::WIN10) {
hubbee7499512017-04-05 22:35:044750 return true;
4751 }
4752#endif // OS_WIN
4753
dalyk348087f2019-09-04 12:40:264754 if (!strcmp("dns-over-https", entry.internal_name) &&
4755 chrome_browser_net::ShouldDisableDohForManaged()) {
dalykc936eb612019-08-14 11:46:474756 return true;
4757 }
4758
Elly Fong-Jones99d8cdad2019-08-27 15:48:454759 if (flags::IsFlagExpired(entry.internal_name))
4760 return true;
4761
[email protected]12271632013-11-26 03:06:394762 return false;
4763}
4764
lawrencewu95059d1e2016-09-19 18:07:024765// Records a set of feature switches (prefixed with "--").
4766void ReportAboutFlagsHistogramSwitches(const std::string& uma_histogram_name,
4767 const std::set<std::string>& switches) {
4768 for (const std::string& flag : switches) {
4769 int uma_id = about_flags::testing::kBadSwitchFormatHistogramId;
4770 if (base::StartsWith(flag, "--", base::CompareCase::SENSITIVE)) {
4771 // Skip '--' before switch name.
4772 std::string switch_name(flag.substr(2));
4773
4774 // Kill value, if any.
4775 const size_t value_pos = switch_name.find('=');
4776 if (value_pos != std::string::npos)
4777 switch_name.resize(value_pos);
4778
4779 uma_id = GetSwitchUMAId(switch_name);
4780 } else {
4781 NOTREACHED() << "ReportAboutFlagsHistogram(): flag '" << flag
4782 << "' has incorrect format.";
4783 }
4784 DVLOG(1) << "ReportAboutFlagsHistogram(): histogram='" << uma_histogram_name
4785 << "' '" << flag << "', uma_id=" << uma_id;
Ilya Sherman982457e62017-12-13 02:19:364786 base::UmaHistogramSparse(uma_histogram_name, uma_id);
lawrencewu95059d1e2016-09-19 18:07:024787 }
4788}
4789
4790// Records a set of FEATURE_VALUE_TYPE features (suffixed with ":enabled" or
4791// "disabled", depending on their state).
4792void ReportAboutFlagsHistogramFeatures(const std::string& uma_histogram_name,
Rouslan Solomakhinbed1af22017-06-09 18:40:574793 const std::set<std::string>& features) {
lawrencewu95059d1e2016-09-19 18:07:024794 for (const std::string& feature : features) {
4795 int uma_id = GetSwitchUMAId(feature);
4796 DVLOG(1) << "ReportAboutFlagsHistogram(): histogram='" << uma_histogram_name
4797 << "' '" << feature << "', uma_id=" << uma_id;
Ilya Sherman982457e62017-12-13 02:19:364798 base::UmaHistogramSparse(uma_histogram_name, uma_id);
lawrencewu95059d1e2016-09-19 18:07:024799 }
4800}
4801
[email protected]e2ddbc92010-10-15 20:02:074802} // namespace
4803
droger888be0b2015-10-01 14:28:524804void ConvertFlagsToSwitches(flags_ui::FlagsStorage* flags_storage,
avi3ef9ec9e2014-12-22 22:50:174805 base::CommandLine* command_line,
sdefresne0e566342015-11-24 08:55:464806 flags_ui::SentinelsMode sentinels) {
4807 if (command_line->HasSwitch(switches::kNoExperiments))
4808 return;
4809
4810 FlagsStateSingleton::GetFlagsState()->ConvertFlagsToSwitches(
4811 flags_storage, command_line, sentinels, switches::kEnableFeatures,
4812 switches::kDisableFeatures);
[email protected]ad2a3ded2010-08-27 13:19:054813}
4814
jkrcalbf073372016-07-29 07:21:314815std::vector<std::string> RegisterAllFeatureVariationParameters(
jkrcald1d20082016-07-14 15:04:244816 flags_ui::FlagsStorage* flags_storage,
4817 base::FeatureList* feature_list) {
jkrcalbf073372016-07-29 07:21:314818 return FlagsStateSingleton::GetFlagsState()
4819 ->RegisterAllFeatureVariationParameters(flags_storage, feature_list);
jkrcal1383d1d2016-06-17 12:40:564820}
4821
[email protected]6d98abf2013-06-17 23:35:514822bool AreSwitchesIdenticalToCurrentCommandLine(
avi3ef9ec9e2014-12-22 22:50:174823 const base::CommandLine& new_cmdline,
4824 const base::CommandLine& active_cmdline,
4825 std::set<base::CommandLine::StringType>* out_difference) {
sdefresne0e566342015-11-24 08:55:464826 const char* extra_flag_sentinel_begin_flag_name = nullptr;
4827 const char* extra_flag_sentinel_end_flag_name = nullptr;
[email protected]ee28495a2013-05-20 04:10:524828#if defined(OS_CHROMEOS)
sdefresne0e566342015-11-24 08:55:464829 // Put the flags between --policy-switches--begin and --policy-switches-end on
4830 // ChromeOS.
4831 extra_flag_sentinel_begin_flag_name =
4832 chromeos::switches::kPolicySwitchesBegin;
4833 extra_flag_sentinel_end_flag_name = chromeos::switches::kPolicySwitchesEnd;
skymd6d2c8d32016-09-26 22:06:074834#endif // OS_CHROMEOS
sdefresne0e566342015-11-24 08:55:464835 return flags_ui::FlagsState::AreSwitchesIdenticalToCurrentCommandLine(
4836 new_cmdline, active_cmdline, out_difference,
4837 extra_flag_sentinel_begin_flag_name, extra_flag_sentinel_end_flag_name);
[email protected]ad2a3ded2010-08-27 13:19:054838}
4839
asvitkine91931d52015-10-16 17:55:474840void GetFlagFeatureEntries(flags_ui::FlagsStorage* flags_storage,
sdefresne0e566342015-11-24 08:55:464841 flags_ui::FlagAccess access,
asvitkine91931d52015-10-16 17:55:474842 base::ListValue* supported_entries,
4843 base::ListValue* unsupported_entries) {
sdefresne0e566342015-11-24 08:55:464844 FlagsStateSingleton::GetFlagsState()->GetFlagFeatureEntries(
4845 flags_storage, access, supported_entries, unsupported_entries,
4846 base::Bind(&SkipConditionalFeatureEntry));
asvitkine91931d52015-10-16 17:55:474847}
4848
Yann Dago78028712019-09-04 15:23:544849void GetFlagFeatureEntriesForDeprecatedPage(
4850 flags_ui::FlagsStorage* flags_storage,
4851 flags_ui::FlagAccess access,
4852 base::ListValue* supported_entries,
4853 base::ListValue* unsupported_entries) {
Yann Dagobaa08aa2019-07-29 20:52:374854 FlagsStateSingleton::GetFlagsState()->GetFlagFeatureEntries(
4855 flags_storage, access, supported_entries, unsupported_entries,
Yann Dago78028712019-09-04 15:23:544856 base::Bind(&ShouldSkipNonDeprecatedFeatureEntry));
Yann Dagobaa08aa2019-07-29 20:52:374857}
4858
[email protected]ad2a3ded2010-08-27 13:19:054859bool IsRestartNeededToCommitChanges() {
sdefresne0e566342015-11-24 08:55:464860 return FlagsStateSingleton::GetFlagsState()->IsRestartNeededToCommitChanges();
[email protected]ad2a3ded2010-08-27 13:19:054861}
4862
asvitkinee9ed35e2015-10-14 22:33:594863void SetFeatureEntryEnabled(flags_ui::FlagsStorage* flags_storage,
asvitkine03007d02015-10-21 22:50:064864 const std::string& internal_name,
4865 bool enable) {
sdefresne0e566342015-11-24 08:55:464866 FlagsStateSingleton::GetFlagsState()->SetFeatureEntryEnabled(
4867 flags_storage, internal_name, enable);
[email protected]e2ddbc92010-10-15 20:02:074868}
4869
Mustafa Emre Acerb3aa36a82018-05-22 21:44:054870void SetOriginListFlag(const std::string& internal_name,
4871 const std::string& value,
4872 flags_ui::FlagsStorage* flags_storage) {
4873 FlagsStateSingleton::GetFlagsState()->SetOriginListFlag(internal_name, value,
4874 flags_storage);
4875}
4876
Jeremy Roman863386d2017-10-31 19:25:384877void RemoveFlagsSwitches(base::CommandLine::SwitchMap* switch_list) {
sdefresne0e566342015-11-24 08:55:464878 FlagsStateSingleton::GetFlagsState()->RemoveFlagsSwitches(switch_list);
[email protected]e2ddbc92010-10-15 20:02:074879}
4880
droger888be0b2015-10-01 14:28:524881void ResetAllFlags(flags_ui::FlagsStorage* flags_storage) {
sdefresne0e566342015-11-24 08:55:464882 FlagsStateSingleton::GetFlagsState()->ResetAllFlags(flags_storage);
[email protected]a314ee5a2010-10-26 21:23:284883}
4884
droger888be0b2015-10-01 14:28:524885void RecordUMAStatistics(flags_ui::FlagsStorage* flags_storage) {
Alexei Svitkine103faf82018-11-14 16:43:154886 std::set<std::string> switches;
4887 std::set<std::string> features;
4888 FlagsStateSingleton::GetFlagsState()->GetSwitchesAndFeaturesFromFlags(
4889 flags_storage, &switches, &features);
lawrencewu95059d1e2016-09-19 18:07:024890 ReportAboutFlagsHistogram("Launch.FlagsAtStartup", switches, features);
[email protected]4bc5050c2010-11-18 17:55:544891}
4892
alemate0107c3272014-09-03 04:30:044893base::HistogramBase::Sample GetSwitchUMAId(const std::string& switch_name) {
4894 return static_cast<base::HistogramBase::Sample>(
bcwhite502b2292015-11-30 22:31:014895 base::HashMetricName(switch_name));
[email protected]4b66a7d2014-08-15 17:13:314896}
4897
Rouslan Solomakhinbed1af22017-06-09 18:40:574898void ReportAboutFlagsHistogram(const std::string& uma_histogram_name,
4899 const std::set<std::string>& switches,
4900 const std::set<std::string>& features) {
lawrencewu95059d1e2016-09-19 18:07:024901 ReportAboutFlagsHistogramSwitches(uma_histogram_name, switches);
4902 ReportAboutFlagsHistogramFeatures(uma_histogram_name, features);
[email protected]4b66a7d2014-08-15 17:13:314903}
4904
[email protected]e2ddbc92010-10-15 20:02:074905namespace testing {
[email protected]8a6ff28d2010-12-02 16:35:194906
asvitkinebff63b22014-11-25 01:03:524907const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
4908
asvitkinee9ed35e2015-10-14 22:33:594909const FeatureEntry* GetFeatureEntries(size_t* count) {
Avi Drissmand251e912018-12-26 15:46:374910 *count = base::size(kFeatureEntries);
sdefresne0e566342015-11-24 08:55:464911 return kFeatureEntries;
[email protected]8a6ff28d2010-12-02 16:35:194912}
4913
[email protected]e2ddbc92010-10-15 20:02:074914} // namespace testing
4915
[email protected]1a47d7e2010-10-15 00:37:244916} // namespace about_flags