1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846
|
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ash/constants/ash_features.h"
#include "ash/constants/ash_switches.h"
#include "ash_features.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "build/branding_buildflags.h"
#include "build/build_config.h"
#include "chromeos/components/libsegmentation/buildflags.h"
#include "chromeos/constants/chromeos_features.h"
#if defined(ARCH_CPU_ARM_FAMILY)
#include "base/command_line.h"
#endif // defined(ARCH_CPU_ARM_FAMILY)
namespace ash::features {
// Enables the UI and logic that minimizes the amount of time the device spends
// at full battery. This preserves battery lifetime.
BASE_FEATURE(kAdaptiveCharging,
"AdaptiveCharging",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the UI for additional on-device parental controls that can be used to
// enable or block ARC++ apps.
BASE_FEATURE(kOnDeviceAppControls,
"OnDeviceAppControls",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the UI to support Ambient EQ if the device supports it.
// See https://crbug.com/1021193 for more details.
BASE_FEATURE(kAllowAmbientEQ,
"AllowAmbientEQ",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Cross-Device features, e.g. Nearby Share, Smart Lock, Fast Pair,
// Quick Start, etc. This flag is used to disable Cross-Device on platforms
// where we cannot yet guarantee a good experience with the stock Bluetooth
// hardware (e.g. Reven / ChromeOS Flex). Access through
// IsCrossDeviceFeatureSuiteAllowed().
BASE_FEATURE(kAllowCrossDeviceFeatureSuite,
"AllowCrossDeviceFeatureSuite",
base::FEATURE_ENABLED_BY_DEFAULT);
// Always reinstall system web apps, instead of only doing so after version
// upgrade or locale changes.
BASE_FEATURE(kAlwaysReinstallSystemWebApps,
"ReinstallSystemWebApps",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kAltClickAndSixPackCustomization,
"AltClickAndSixPackCustomization",
base::FEATURE_ENABLED_BY_DEFAULT);
// This feature changes the default setting of Ambient EQ to off. This feature
// has no effect if `kAllowAmbientEQ` is not also enabled.
BASE_FEATURE(kAmbientEQDefaultOff,
"AmbientEQDefaultOff",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to allow Dev channel to use Prod server feature.
BASE_FEATURE(kAmbientModeDevUseProdFeature,
"ChromeOSAmbientModeDevChannelUseProdServer",
base::FEATURE_DISABLED_BY_DEFAULT);
// Adds support for allowing or disabling APN modification by policy.
BASE_FEATURE(kAllowApnModificationPolicy,
"AllowApnModificationPolicy",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether the annotator feature is enabled in ChromeOS.
BASE_FEATURE(kAnnotatorMode,
"AnnotatorMode",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kApnRevamp, "ApnRevamp", base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to enable ARC ADB sideloading support.
BASE_FEATURE(kArcAdbSideloadingFeature,
"ArcAdbSideloading",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to enable support for ARC ADB sideloading for managed
// accounts and/or devices.
BASE_FEATURE(kArcManagedAdbSideloadingSupport,
"ArcManagedAdbSideloadingSupport",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to defer loading of active tabs of background (occluded)
// browser windows during session restore.
BASE_FEATURE(kAshSessionRestoreDeferOccludedActiveTabLoad,
"AshSessionRestoreDeferOccludedActiveTabLoad",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to enable assistive multi word suggestions.
BASE_FEATURE(kAssistMultiWord,
"AssistMultiWord",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables audio I/O selection improvement algorithm. http://launch/4301655.
BASE_FEATURE(kAudioSelectionImprovement,
"AudioSelectionImprovement",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Auto Night Light feature which sets the default schedule type to
// sunset-to-sunrise until the user changes it to something else. This feature
// is not exposed to the end user, and is enabled only via cros_config for
// certain devices.
BASE_FEATURE(kAutoNightLight,
"AutoNightLight",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables auto screen-brightness adjustment when ambient light
// changes.
BASE_FEATURE(kAutoScreenBrightness,
"AutoScreenBrightness",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables params tuning experiment for autocorrect on ChromeOS.
BASE_FEATURE(kAutocorrectParamsTuning,
"AutocorrectParamsTuning",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables using a toggle for enabling autocorrect on ChromeOS.
BASE_FEATURE(kAutocorrectByDefault,
"AutocorrectByDefault",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, the autozoom nudge shown prefs will be reset at the start of
// each new user session.
BASE_FEATURE(kAutozoomNudgeSessionReset,
"AutozoomNudgeSessionReset",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables a settings option to set an explicit charge limit for Chromebooks.
BASE_FEATURE(kBatteryChargeLimit,
"CrosBatteryChargeLimit",
base::FEATURE_DISABLED_BY_DEFAULT);
// Make Battery Saver available.
BASE_FEATURE(kBatterySaver,
"CrosBatterySaver",
base::FEATURE_ENABLED_BY_DEFAULT);
// Determines if BabelOrca captions are available.
BASE_FEATURE(kBabelOrca, "BabelOrca", base::FEATURE_ENABLED_BY_DEFAULT);
// Determines the behavior of the battery saver controller auto enable threshold
// and notification timing.
const base::FeatureParam<BatterySaverNotificationBehavior>::Option
battery_saver_notification_options[] = {
{BatterySaverNotificationBehavior::kBSMAutoEnable, "kBSMAutoEnable"},
{BatterySaverNotificationBehavior::kBSMOptIn, "kBSMOptIn"},
};
const base::FeatureParam<BatterySaverNotificationBehavior>
kBatterySaverNotificationBehavior{
&kBatterySaver, "BatterySaverNotificationBehavior",
BatterySaverNotificationBehavior::kBSMAutoEnable,
&battery_saver_notification_options};
// Determines the charge percent of when we will activate Battery Saver
// automatically and send a notification.
const base::FeatureParam<double> kBatterySaverActivationChargePercent{
&kBatterySaver, "BatterySaverActivationChargePercent", 20};
// Make Battery Saver on all the time, even when charged or charging.
BASE_FEATURE(kBatterySaverAlwaysOn,
"CrosBatterySaverAlwaysOn",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables the usage of fixed Bluetooth A2DP packet size to improve
// audio performance in noisy environment.
BASE_FEATURE(kBluetoothFixA2dpPacketSize,
"BluetoothFixA2dpPacketSize",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables the Bluetooth Quality Report feature.
BASE_FEATURE(kBluetoothQualityReport,
"BluetoothQualityReport",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables entire Boca feature on ChromeOS. Use as kill switch.
BASE_FEATURE(kBocaUber, "BocaUber", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Boca feature on ChromeOS
BASE_FEATURE(kBoca, "Boca", base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Boca consumer user experience on ChromeOS.
BASE_FEATURE(kBocaConsumer, "BocaConsumer", base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Boca custom polling interval on ChromeOS.
BASE_FEATURE(kBocaCustomPolling,
"BocaCustomPolling",
base::FEATURE_ENABLED_BY_DEFAULT);
// Time interval to do indefinite session polling.
constexpr base::FeatureParam<base::TimeDelta>
kBocaIndefinitePeriodicJobIntervalInSeconds{
&kBocaCustomPolling, "IndefinitePollingIntervalInSeconds",
base::Seconds(0)};
// Time interval to do session polling within session
constexpr base::FeatureParam<base::TimeDelta>
kBocaInSessionPeriodicJobIntervalInSeconds{
&kBocaCustomPolling, "InSessionPollingIntervalInSeconds",
base::Seconds(60)};
// Enables or disables locked quiz migration to leverage the OnTask SWA.
BASE_FEATURE(kBocaOnTaskLockedQuizMigration,
"BocaOnTaskLockedQuizMigration",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Boca OnTask mute ARC audio requests on ChromeOS.
BASE_FEATURE(kBocaOnTaskMuteArcAudio,
"BocaOnTaskMuteArcAudio",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables the Boca OnTask pod on ChromeOS.
BASE_FEATURE(kBocaOnTaskPod, "BocaOnTaskPod", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables unmute browser tabs when unlock Boca.
BASE_FEATURE(kBocaOnTaskUnmuteBrowserTabsOnUnlock,
"BocaOnTaskUnmuteBrowserTabsOnUnlock",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Boca OnTask enter locked mode countdown duration on
// ChromeOS.
BASE_FEATURE(kBocaLockedModeCustomCountdownDuration,
"BocaLockedModeCustomCountdownDuration",
base::FEATURE_ENABLED_BY_DEFAULT);
// Time duration for entering locked mode countdown.
constexpr base::FeatureParam<base::TimeDelta>
kBocaLockedModeCountdownDurationInSeconds{
&kBocaLockedModeCustomCountdownDuration,
"BocaLockedModeCountdownDurationInSeconds", base::Seconds(5)};
// Enables or disables Boca sending student heartbeat requests on ChromeOS.
BASE_FEATURE(kBocaStudentHeartbeat,
"BocaStudentHeartbeat",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Boca student heartbeat custom interval on ChromeOS.
BASE_FEATURE(kBocaStudentHeartbeatCustomInterval,
"BocaStudentHeartbeatCustomInterval",
base::FEATURE_DISABLED_BY_DEFAULT);
// Time interval to do student heartbeat
constexpr base::FeatureParam<base::TimeDelta>
kBocaStudentHeartbeatPeriodicJobIntervalInSeconds{
&kBocaStudentHeartbeatCustomInterval,
"StudentHeartbeatPeriodicJobIntervalInSeconds", base::Seconds(30)};
// Enables or disables Spotlight for Boca on ChromeOS.
BASE_FEATURE(kBocaSpotlight, "BocaSpotlight", base::FEATURE_ENABLED_BY_DEFAULT);
// The url to use when connecting to spotlight
constexpr base::FeatureParam<std::string> kBocaSpotlightUrlTemplate{
&kBocaSpotlight, "spotlight-url-template",
"https://remotedesktop.google.com/support/session/{sessionCode}"};
// Enables or disables Boca network restriction for Boca on ChromeOS.
BASE_FEATURE(kBocaNetworkRestriction,
"BocaNetworkRestriction",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables using a specific app name for speech recognition for Boca
// on ChromeOS.
BASE_FEATURE(kBocaClientTypeForSpeechRecognition,
"BocaClientTypeForSpeechRecognition",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables using a specific app name for speech recognition for Boca
// on ChromeOS.
BASE_FEATURE(kBocaAdjustCaptionBubbleOnExpand,
"BocaAdjustCaptionBubbleOnExpand",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables keeping the Boca SWA open when the session is ended.
BASE_FEATURE(kBocaKeepSWAOpenOnSessionEnded,
"BocaKeepSWAOpenOnSessionEnded",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables enforcing sequential execution for Boca Session load.
BASE_FEATURE(kBocaSequentialSessionLoad,
"BocaSequentialSessionLoad",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the updated lock / pause ui for boca.
BASE_FEATURE(kBocaLockPauseUpdate,
"BocaLockPauseUpdate",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the updated nav settings ui for boca.
BASE_FEATURE(kBocaNavSettingsDialog,
"BocaNavSettingsDialog",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the new caption toggle button for boca.
BASE_FEATURE(kBocaCaptionToggle,
"BocaCaptionToggle",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables using the native ChromeOS implementation of the CRD
// client for Spotlight within the Boca SWA.
BASE_FEATURE(kBocaSpotlightRobotRequester,
"BocaSpotlightRobotRequester",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables enforcing sequential execution for Boca insert activity.
BASE_FEATURE(kBocaSequentialInsertActivity,
"BocaSequentialInsertActivity",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables translation toggle for caption bubble in the context of
// boca.
BASE_FEATURE(kBocaTranslateToggle,
"BocaTranslateToggle",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kCrosSwitcher, "CrosSwitcher", base::FEATURE_DISABLED_BY_DEFAULT);
// Indicates whether the camera super resolution is supported. Note that this
// feature is overridden by login_manager based on whether a per-board build
// sets the USE camera_feature_super_res flag. Refer to:
// chromiumos/src/platform2/login_manager/chrome_setup.cc
BASE_FEATURE(kCameraSuperResSupported,
"CameraSuperResSupported",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable Big GL when using Borealis.
BASE_FEATURE(kBorealisBigGl, "BorealisBigGl", base::FEATURE_ENABLED_BY_DEFAULT);
// Enable dGPU when using Borealis.
BASE_FEATURE(kBorealisDGPU, "BorealisDGPU", base::FEATURE_ENABLED_BY_DEFAULT);
// Bypass some hardware checks when deciding whether to block/allow borealis.
BASE_FEATURE(kBorealisEnableUnsupportedHardware,
"BorealisEnableUnsupportedHardware",
base::FEATURE_DISABLED_BY_DEFAULT);
// Force the steam client to be on its beta version. If not set, the client will
// be on its stable version.
BASE_FEATURE(kBorealisForceBetaClient,
"BorealisForceBetaClient",
base::FEATURE_DISABLED_BY_DEFAULT);
// Force the steam client to render in 2x size (using GDK_SCALE as discussed in
// b/171935238#comment4).
BASE_FEATURE(kBorealisForceDoubleScale,
"BorealisForceDoubleScale",
base::FEATURE_DISABLED_BY_DEFAULT);
// Prevent the steam client from exercising ChromeOS integrations, in this mode
// it functions more like the linux client.
BASE_FEATURE(kBorealisLinuxMode,
"BorealisLinuxMode",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable borealis on this device. This won't necessarily allow it, since you
// might fail subsequent checks.
BASE_FEATURE(kBorealisPermitted,
"BorealisPermitted",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable the "provision" flag when mounting Borealis' stateful disk.
// TODO(b/288361720): This is temporary while we test the 'provision'
// mount option. Once we're satisfied things are stable, we'll make this
// the default and remove this feature/flag.
BASE_FEATURE(kBorealisProvision,
"BorealisProvision",
base::FEATURE_DISABLED_BY_DEFAULT);
// Disable use of calculated scale for -forcedesktopscaling on Steam client.
// Scale will default to a value of 1.
BASE_FEATURE(kBorealisScaleClientByDPI,
"BorealisScaleClientByDPI",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kBorealisZinkGlDriver,
"BorealisZinkGlDriver",
base::FEATURE_ENABLED_BY_DEFAULT);
// Allows UserDataAuth client to use fingerprint auth factor.
BASE_FEATURE(kFingerprintAuthFactor,
"FingerprintAuthFactor",
base::FEATURE_DISABLED_BY_DEFAULT);
const base::FeatureParam<BorealisZinkGlDriverParam>::Option
borealis_zink_gl_driver_options[] = {
{BorealisZinkGlDriverParam::kZinkEnableRecommended,
"ZinkEnableRecommended"},
{BorealisZinkGlDriverParam::kZinkEnableAll, "ZinkEnableAll"}};
const base::FeatureParam<BorealisZinkGlDriverParam> kBorealisZinkGlDriverParam{
&kBorealisZinkGlDriver, "BorealisZinkGlDriverParam",
BorealisZinkGlDriverParam::kZinkEnableRecommended,
&borealis_zink_gl_driver_options};
// Enables client cert caching in ClientCertStoreAsh.
BASE_FEATURE(kUseKcerClientCertStore,
"UseKcerClientCertStore",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the feature to parameterize glyph for "Campbell" feature.
BASE_FEATURE(kCampbellGlyph,
"CampbellGlyph",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the nudges/tutorials that inform users of the screen capture keyboard
// shortcut and feature tile.
BASE_FEATURE(kCaptureModeEducation,
"CaptureModeEducation",
base::FEATURE_ENABLED_BY_DEFAULT);
// TODO(hewer): Remove the unused paths after at least one milestone after
// Capture Mode Education has been enabled by default.
// Determines how we educate the user to the screen capture entry points.
constexpr base::FeatureParam<CaptureModeEducationParam>::Option
capture_mode_education_type_options[] = {
{CaptureModeEducationParam::kShortcutNudge, "ShortcutNudge"},
{CaptureModeEducationParam::kShortcutTutorial, "ShortcutTutorial"},
{CaptureModeEducationParam::kQuickSettingsNudge, "QuickSettingsNudge"}};
const base::FeatureParam<CaptureModeEducationParam> kCaptureModeEducationParam{
&kCaptureModeEducation, "CaptureModeEducationParam",
CaptureModeEducationParam::kShortcutNudge,
&capture_mode_education_type_options};
// Enables bypassing the 3 times / 24 hours show limits for the Capture Mode
// education nudges and tutorials.
BASE_FEATURE(kCaptureModeEducationBypassLimits,
"CaptureModeEducationBypassLimits",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables on-device OCR functionality in capture mode, used as part of the
// Scanner and Sunfish features.
BASE_FEATURE(kCaptureModeOnDeviceOcr,
"CaptureModeOnDeviceOcr",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, allow eSIM installation bypass the non-cellular internet
// connectivity check.
BASE_FEATURE(kCellularBypassESimInstallationConnectivityCheck,
"CellularBypassESimInstallationConnectivityCheck",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, use second the Euicc that is exposed by Hermes in Cellular Setup
// and Settings.
BASE_FEATURE(kCellularUseSecondEuicc,
"CellularUseSecondEuicc",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, allow the user to switch from Gaia password to local password in
// Settings and in the recovery flow.
BASE_FEATURE(kChangePasswordFactorSetup,
"ChangePasswordFactorSeteup",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, Multiple scraped passwords should be checked against password in
// cryptohome.
BASE_FEATURE(kCheckPasswordsAgainstCryptohomeHelper,
"CheckPasswordsAgainstCryptohomeHelper",
base::FEATURE_DISABLED_BY_DEFAULT);
// When enabled alongside the keyboard auto-repeat setting, holding down Ctrl+V
// will cause the clipboard history menu to show. From there, the user can
// select a clipboard history item to replace the initially pasted content.
BASE_FEATURE(kClipboardHistoryLongpress,
"ClipboardHistoryLongpress",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled when the user copies a URL that is present in the primary user
// profile's browsing history, the clipboard history menu will show the page
// title as part of the URL's menu item.
BASE_FEATURE(kClipboardHistoryUrlTitles,
"ClipboardHistoryUrlTitles",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls enabling/disabling conch.
BASE_FEATURE(kConch, "Conch", base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, conch will provide transcription language options for users to
// choose.
BASE_FEATURE(kConchExpandTranscriptionLanguage,
"ConchExpandTranscriptionLanguage",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, conch will provide available GenAI features.
BASE_FEATURE(kConchGenAi, "ConchGenAi", base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, conch will request DLC to download large models. Otherwise,
// request DLC to download small models. Note that if requested models are not
// available on the device, GenAI features will be unavailable.
BASE_FEATURE(kConchLargeModel,
"ConchLargeModel",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, conch will use microphone to capture system audio.
BASE_FEATURE(kConchSystemAudioFromMic,
"ConchSystemAudioFromMic",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables a smooth overview mode transition based on the gesture position.
BASE_FEATURE(kContinuousOverviewScrollAnimation,
"ContinuousOverviewScrollAnimation",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls enabling/disabling the coral feature.
BASE_FEATURE(kCoralFeature, "CoralFeature", base::FEATURE_DISABLED_BY_DEFAULT);
// Since kCoralFeature is also controlled by login_manager, finch kill switch
// could not effectively control it. The kCoralFeatureAllowed is designed to be
// always enabled by default, but can be disabled by the finch kill switch. When
// disabled, this overrides kCoralFeature's status and force disables the
// feature.
BASE_FEATURE(kCoralFeatureAllowed,
"CoralFeatureAllowed",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether the coral feature supports multi-language.
BASE_FEATURE(kCoralFeatureMultiLanguage,
"CoralFeatureMultiLanguage",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables execution of routine for copying client keys and certs from NSS DB to
// software backed Chaps slot. It's only respected if the
// EnableNssDbClientCertsRollback feature flag is disabled.
BASE_FEATURE(kCopyClientKeysCertsToChaps,
"CopyClientKeysCertsToChaps",
base::FEATURE_ENABLED_BY_DEFAULT);
// Adds location access control to Privacy Hub.
BASE_FEATURE(kCrosPrivacyHub,
"CrosPrivacyHub",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, ChromeOS system services and Chrome-on-ChromeOS will use separate
// API keys for Geolocation resolution.
BASE_FEATURE(kCrosSeparateGeoApiKey,
"CrosSeparateGeoApiKey",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables cros safety service for trust and safety filtering for the text/image
// output of on-device gen ai models.
BASE_FEATURE(kCrosSafetyService,
"CrosSafetyService",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables syncing attestation certificates to cryptauth for use by Cross Device
// features, including Eche and Phone Hub.
BASE_FEATURE(kCryptauthAttestationSyncing,
"CryptauthAttestationSyncing",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables experimental containerless Crostini VMs.
BASE_FEATURE(kCrostiniContainerless,
"CrostiniContainerless",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Crostini GPU support.
// Note that this feature can be overridden by login_manager based on
// whether a per-board build sets the USE virtio_gpu flag.
// Refer to: chromiumos/src/platform2/login_manager/chrome_setup.cc
BASE_FEATURE(kCrostiniGpuSupport,
"CrostiniGpuSupport",
base::FEATURE_DISABLED_BY_DEFAULT);
// Force enable recreating the LXD DB at LXD launch.
BASE_FEATURE(kCrostiniResetLxdDb,
"CrostiniResetLxdDb",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables experimental UI creating and managing multiple Crostini containers.
BASE_FEATURE(kCrostiniMultiContainer,
"CrostiniMultiContainer",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Crostini Qt application IME support.
BASE_FEATURE(kCrostiniQtImeSupport,
"CrostiniQtImeSupport",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Crostini Virtual Keyboard support.
BASE_FEATURE(kCrostiniVirtualKeyboardSupport,
"CrostiniVirtualKeyboardSupport",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables using Cryptauth's GetDevicesActivityStatus API.
BASE_FEATURE(kCryptAuthV2DeviceActivityStatus,
"CryptAuthV2DeviceActivityStatus",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables use of the connectivity status from Cryptauth's
// GetDevicesActivityStatus API to sort devices.
BASE_FEATURE(kCryptAuthV2DeviceActivityStatusUseConnectivity,
"CryptAuthV2DeviceActivityStatusUseConnectivity",
base::FEATURE_DISABLED_BY_DEFAULT);
// Disable a Files banner about Google One offer. This flag is used by G1+
// nudge to conditionally disable the G1 file banner via finch.
BASE_FEATURE(kDisableGoogleOneOfferFilesBanner,
"DisableGoogleOneOfferFilesBanner",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls the default value for the option to set up
// cryptohome recovery presented for consumer users.
// - if enabled, recovery would set up by default (opt-out mode)
// - if disabled, user have to explicitly opt-in to use recovery
BASE_FEATURE(kCryptohomeRecoveryByDefaultForConsumers,
"CryptohomeRecoveryByDefaultForConsumers",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls the behavior during onboarding when the RecoveryFactorBehavior
// policy is unset.
// - if enabled, treat as "recommended enable recovery" policy value.
// - if disabled, treat as "recommended disable recovery" policy value.
BASE_FEATURE(kCryptohomeRecoveryByDefaultForEnterprise,
"CryptohomeRecoveryByDefaultForEnterprise",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether should set demo app window's parent to
// `kShellWindowId_AlwaysOnTopWallpaperContainer` when attract loop is playing.
BASE_FEATURE(kDemoModeAppResetWindowContainer,
"DemoModeAppResetWindowContainer",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether use a demo account (consumer account) to login Demo mode
// session.
BASE_FEATURE(kDemoModeSignIn,
"DemoModeSignIn",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether demo mode applies CBX wallpaper logic.
BASE_FEATURE(kDemoModeWallpaperUpdate,
"DemoModeWallpaperUpdate",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether clean up local files between shopper session when demo mode
// sign in is enable. No-op if demo mode sign in is disabled.
BASE_FEATURE(kDemoModeSignInFileCleanup,
"DemoModeSignInFileCleanup",
base::FEATURE_ENABLED_BY_DEFAULT);
// Toggle different display features based on user setting and power state
BASE_FEATURE(kDisplayPerformanceMode,
"DisplayPerformanceMode",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable the do not disturb shortcut.
BASE_FEATURE(kDoNotDisturbShortcut,
"DoNotDisturbShortcut",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Sync for desk templates on ChromeOS.
BASE_FEATURE(kDeskTemplateSync,
"DeskTemplateSync",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kDesksTemplates,
"DesksTemplates",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables diacritics on longpress on the physical keyboard by default.
BASE_FEATURE(kDiacriticsOnPhysicalKeyboardLongpressDefaultOn,
"DiacriticsOnPhysicalKeyboardLongpressDefaultOn",
base::FEATURE_DISABLED_BY_DEFAULT);
// Disables hardware requirement checks for Bruschetta installer, allowing for
// more easy development against changes of said requirements.
BASE_FEATURE(kDisableBruschettaInstallChecks,
"DisableBruschettaInstallChecks",
base::FEATURE_DISABLED_BY_DEFAULT);
// Disables the DNS proxy service for ChromeOS.
BASE_FEATURE(kDisableDnsProxy,
"DisableDnsProxy",
base::FEATURE_DISABLED_BY_DEFAULT);
// Disconnect WiFi when the device get connected to Ethernet.
BASE_FEATURE(kDisconnectWiFiOnEthernetConnected,
"DisconnectWiFiOnEthernetConnected",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables indicators to hint where displays are connected.
BASE_FEATURE(kDisplayAlignAssist,
"DisplayAlignAssist",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, DriveFS will be used for Drive sync.
BASE_FEATURE(kDriveFs, "DriveFS", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables DriveFS' experimental local files mirroring functionality.
BASE_FEATURE(kDriveFsMirroring,
"DriveFsMirroring",
base::FEATURE_DISABLED_BY_DEFAULT);
// Carries DriveFS' bulk-pinning experimental parameters.
BASE_FEATURE(kDriveFsBulkPinningExperiment,
"DriveFsBulkPinningExperiment",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables DriveFS' bulk pinning functionality. This flag is to be enabled by
// the feature management module.
BASE_FEATURE(kFeatureManagementDriveFsBulkPinning,
"FeatureManagementDriveFsBulkPinning",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables partial support of CSE files on ChromeOS: users will be able to see
// the files and open in web apps, but not to open/read/write CSE files locally.
BASE_FEATURE(kDriveFsShowCSEFiles,
"DriveFsShowCSEFiles",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables authenticating to Wi-Fi networks using EAP-GTC.
BASE_FEATURE(kEapGtcWifiAuthentication,
"EapGtcWifiAuthentication",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the System Web App (SWA) version of Eche.
BASE_FEATURE(kEcheSWA, "EcheSWA", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the Debug Mode of Eche.
BASE_FEATURE(kEcheSWADebugMode,
"EcheSWADebugMode",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the E2E latecny measurement of Eche.
BASE_FEATURE(kEcheSWAMeasureLatency,
"EcheSWAMeasureLatency",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables sending start signaling to establish Eche's WebRTC connection.
BASE_FEATURE(kEcheSWASendStartSignaling,
"EcheSWASendStartSignaling",
base::FEATURE_ENABLED_BY_DEFAULT);
// Allows disabling the stun servers when establishing a WebRTC connection to
// Eche.
BASE_FEATURE(kEcheSWADisableStunServer,
"EcheSWADisableStunServer",
base::FEATURE_DISABLED_BY_DEFAULT);
// Allows CrOS to analyze Android
// network information to provide more context on connection errors.
BASE_FEATURE(kEcheSWACheckAndroidNetworkInfo,
"EcheSWACheckAndroidNetworkInfo",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables background blur for the app list, shelf, unified system tray,
// autoclick menu, etc. Also enables the AppsGridView mask layer, slower devices
// may have choppier app list animations while in this mode. crbug.com/765292.
BASE_FEATURE(kEnableBackgroundBlur,
"EnableBackgroundBlur",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables settings to control internal display brightness and auto-brightness.
BASE_FEATURE(kEnableBrightnessControlInSettings,
"EnableBrightnessControlInSettings",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables external keyboard testers in the diagnostics app.
BASE_FEATURE(kEnableExternalKeyboardsInDiagnostics,
"EnableExternalKeyboardsInDiagnosticsApp",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables setting the device hostname.
BASE_FEATURE(kEnableHostnameSetting,
"EnableHostnameSetting",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables keyboard backlight control in settings.
BASE_FEATURE(kEnableKeyboardBacklightControlInSettings,
"EnableKeyboardBacklightControlInSettings",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable keyboard rewriter fix.
BASE_FEATURE(kEnableKeyboardRewriterFix,
"EnableKeyboardRewriterFix",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables OAuth support when printing via the IPP protocol.
BASE_FEATURE(kEnableOAuthIpp,
"EnableOAuthIpp",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables all registered system web apps, regardless of their respective
// feature flags.
BASE_FEATURE(kEnableAllSystemWebApps,
"EnableAllSystemWebApps",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables RFC8925 (prefer IPv6-only on an IPv6-only-capable network).
BASE_FEATURE(kEnableRFC8925, "EnableRFC8925", base::FEATURE_ENABLED_BY_DEFAULT);
// Enable the DNS proxy service running in root network namespace for ChromeOS.
BASE_FEATURE(kEnableRootNsDnsProxy,
"EnableRootNsDnsProxy",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable the shortcut to toggle whether the camera is enabled/disabled in
// Settings > Privacy controls.
BASE_FEATURE(kEnableToggleCameraShortcut,
"EnableToggleCameraShortcut",
base::FEATURE_ENABLED_BY_DEFAULT);
// TODO:(b/345017297): If enabled, touchscreen mapping experience is visible in
// settings.
BASE_FEATURE(kEnableTouchscreenMappingExperience,
"EnableTouchscreenMappingExperience",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, touchpad cards will be shown in the diagnostics app's input
// section.
BASE_FEATURE(kEnableTouchpadsInDiagnosticsApp,
"EnableTouchpadsInDiagnosticsApp",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, touchscreen cards will be shown in the diagnostics app's input
// section.
BASE_FEATURE(kEnableTouchscreensInDiagnosticsApp,
"EnableTouchscreensInDiagnosticsApp",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, touchscreen calibration will be shown in settings.
BASE_FEATURE(kEnableTouchscreenCalibration,
"EnableTouchscreenCalibration",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables rollback routine which will delete client keys and certificates
// from the software backed Chaps storage. Copies of keys and certificates will
// will continue to exist in NSS DB.
BASE_FEATURE(kEnableNssDbClientCertsRollback,
"EnableNssDbClientCertsRollback",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables WiFi QoS to detect and prioritize selected egress network traffic
// using WiFi QoS/WMM in congested WiFi environments.
BASE_FEATURE(kEnableWifiQos, "EnableWifiQos", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables WiFi QoS to detect and prioritize selected egress network traffic
// using WiFi QoS/WMM in congested WiFi environments. For an Enterprise enrolled
// device:
// - If this flag is enabled, the feature will be controlled by EnableWifiQos;
// - If this flag is disabled, the feature will be disabled.
BASE_FEATURE(kEnableWifiQosEnterprise,
"EnableWifiQosEnterprise",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables entering overview mode by clicking the wallpaper with the mouse.
BASE_FEATURE(kEnterOverviewFromWallpaper,
"EnterOverviewFromWallpaper",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables access to the chrome://enterprise-reporting WebUI.
BASE_FEATURE(kEnterpriseReportingUI,
"EnterpriseReportingUI",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether ephemeral network configuration policies are respected.
BASE_FEATURE(kEphemeralNetworkPolicies,
"kEphemeralNetworkPolicies",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Device End Of Lifetime incentive notifications.
BASE_FEATURE(kEolIncentive, "EolIncentive", base::FEATURE_DISABLED_BY_DEFAULT);
const base::FeatureParam<EolIncentiveParam>::Option eol_incentive_options[] = {
{EolIncentiveParam::kNoOffer, "no_offer"},
{EolIncentiveParam::kOffer, "offer"},
{EolIncentiveParam::kOfferWithWarning, "offer_with_warning"}};
const base::FeatureParam<EolIncentiveParam> kEolIncentiveParam{
&kEolIncentive, "incentive_type", EolIncentiveParam::kNoOffer,
&eol_incentive_options};
BASE_FEATURE(kEolIncentiveSettings,
"EolIncentiveSettings",
base::FEATURE_DISABLED_BY_DEFAULT);
// Control whether the eSIM activation dialog supports submitting an empty code.
BASE_FEATURE(kESimEmptyActivationCodeSupported,
"ESimEmptyActivationCodeSupported",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable or disable support for touchpad with haptic feedback.
BASE_FEATURE(kExoHapticFeedbackSupport,
"ExoHapticFeedbackSupport",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables version 4 of the zwp_linux_dmabuf_v1 Wayland protocol.
// This version adds support for dynamic feedback, allowing the compositor to
// give clients hints about more optimal DRM formats and modifiers depending on
// e.g. available KMS hardware planes.
BASE_FEATURE(kExoLinuxDmabufV4,
"ExoLinuxDmabufV4",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables sending explicit modifiers for the zwp_linux_dmabuf_v1 Wayland
// protocol. This option only has an effect with version 3 or 4 of the protocol.
// If disabled only the DRM_FORMAT_MOD_INVALID modifier will be send,
// effectively matching version 2 behavior more closely.
BASE_FEATURE(kExoLinuxDmabufModifiers,
"ExoLinuxDmabufModifiers",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable or disable use of ordinal (unaccelerated) motion by Exo clients.
BASE_FEATURE(kExoOrdinalMotion,
"ExoOrdinalMotion",
base::FEATURE_DISABLED_BY_DEFAULT);
// Allows RGB Keyboard to test new animations/patterns.
BASE_FEATURE(kExperimentalRgbKeyboardPatterns,
"ExperimentalRgbKeyboardPatterns",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables extended updates opt-in functionality.
BASE_FEATURE(kExtendedUpdatesOptInFeature,
"ExtendedUpdatesOptInFeature",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables policy that controls feature to allow Family Link accounts on school
// owned devices.
BASE_FEATURE(kFamilyLinkOnSchoolDevice,
"FamilyLinkOnSchoolDevice",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the Fast Pair feature.
BASE_FEATURE(kFastPair, "FastPair", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the usage of the 2025 format for Fast Pair advertisements.
BASE_FEATURE(kFastPairAdvertisingFormat2025,
"FastPairAdvertisingFormat2025",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables logic for handling BLE address rotations during retroactive pair
// scenarios.
BASE_FEATURE(kFastPairBleRotation,
"FastPairBleRotation",
base::FEATURE_ENABLED_BY_DEFAULT);
// Sets mode to DEBUG when fetching metadata from the Nearby server, allowing
// debug devices to trigger Fast Pair notifications.
BASE_FEATURE(kFastPairDebugMetadata,
"FastPairDebugMetadata",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables using longterm Handshake retry logic for Fast Pair.
BASE_FEATURE(kFastPairHandshakeLongTermRefactor,
"FastPairHandshakeLongTermRefactor",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables prototype support for Fast Pair for keyboards.
BASE_FEATURE(kFastPairKeyboards,
"FastPairKeyboards",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Saved Devices nicknames logic for Fast Pair.
BASE_FEATURE(kFastPairSavedDevicesNicknames,
"FastPairSavedDevicesNicknames",
base::FEATURE_ENABLED_BY_DEFAULT);
// The amount of minutes we should wait before allowing notifications for a
// recently lost device.
const base::FeatureParam<double> kFastPairDeviceLostNotificationTimeoutMinutes{
&kFastPair, "fast-pair-device-lost-notification-timeout-minutes", 5};
// Enables link to Progressive Web Application companion app to configure
// Pixel Buds after Fast Pair.
BASE_FEATURE(kFastPairPwaCompanion,
"FastPairPwaCompanion",
base::FEATURE_ENABLED_BY_DEFAULT);
// The URI for the Pixel Buds Fast Pair web companion.
const base::FeatureParam<std::string> kFastPairPwaCompanionInstallUri{
&kFastPairPwaCompanion, "pwa-companion-install-uri",
/*default*/ "https://mypixelbuds.google.com/"};
// (optional) The app ID for the installed Pixel Buds Fast Pair web
// companion.
const base::FeatureParam<std::string> kFastPairPwaCompanionAppId{
&kFastPairPwaCompanion, "pwa-companion-app-id",
/*default*/ "ckdjfcfapbgminighllemapmpdlpihia"};
// (optional) The Play Store link to download the Pixel Buds Fast Pair
// web companion.
const base::FeatureParam<std::string> kFastPairPwaCompanionPlayStoreUri{
&kFastPairPwaCompanion, "pwa-companion-play-store-uri",
/*default*/
"https://play.google.com/store/apps/"
"details?id=com.google.android.apps.wearables.maestro.companion"};
// Comma separated list of Device IDs that the Pixel Buds companion app
// supports.
const base::FeatureParam<std::string> kFastPairPwaCompanionDeviceIds{
&kFastPairPwaCompanion, "pwa-companion-device-ids",
/*default*/
"08A97F,5A36A5,6EDAF7,9ADB11,A7D7A0,C8E228,D87A3E,F2020E,F58DE7,30346C,"
"7862CE,C193F7,05D40E,02FC97,AB442D,FB19ED,C55C79,2EE57B"};
// Enables the "Saved Devices" Fast Pair page in scenario in Bluetooth Settings.
BASE_FEATURE(kFastPairSavedDevices,
"FastPairSavedDevices",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the "Saved Devices" Fast Pair strict interpretation of opt-in status,
// meaning that a user's preferences determine if retroactive pairing and
// subsequent pairing scenarios are enabled.
BASE_FEATURE(kFastPairSavedDevicesStrictOptIn,
"FastPairSavedDevicesStrictOptIn",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, allows the creation of up to 16 desks (default is 8). This flag
// is intended to be controlled by the feature management module.
BASE_FEATURE(kFeatureManagement16Desks,
"FeatureManagement16Desks",
base::FEATURE_DISABLED_BY_DEFAULT);
// Allows borealis on certain boards whose features are determined by
// FeatureManagement. This feature does not apply to all boards, and does not
// guarantee borealis will be available (due to additional hardware checks).
BASE_FEATURE(kFeatureManagementBorealis,
"FeatureManagementBorealis",
base::FEATURE_DISABLED_BY_DEFAULT);
// Restricts GenAi features in Conch to the intended target population, while
// the `kConchGenAi` flag controls the feature's rollout within said target
// population. This flag is only intended to be modified by the
// feature_management module.
BASE_FEATURE(kFeatureManagementConchGenAi,
"FeatureManagementConchGenAi",
base::FEATURE_DISABLED_BY_DEFAULT);
// Restricts some content in the Help app to the intended target population.
// This flag is only intended to be modified by the feature management module.
BASE_FEATURE(kFeatureManagementShowoff,
"FeatureManagementShowoff",
base::FEATURE_DISABLED_BY_DEFAULT);
// Restricts the time-of-day wallpaper/screensaver features to the intended
// target population, whereas the `kTimeOfDayScreenSaver|Wallpaper` flags
// control the feature's rollout within said target population. These flags are
// only intended to be modified by the feature_management module.
BASE_FEATURE(kFeatureManagementTimeOfDayScreenSaver,
"FeatureManagementTimeOfDayScreenSaver",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kFeatureManagementTimeOfDayWallpaper,
"FeatureManagementTimeOfDayWallpaper",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the federated service. If enabled, launches federated service when
// user first login.
BASE_FEATURE(kFederatedService,
"FederatedService",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the federated strings service.
BASE_FEATURE(kFederatedStringsService,
"FederatedStringsService",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the federated strings service to schedule tasks.
BASE_FEATURE(kFederatedStringsServiceScheduleTasks,
"FederatedStringsServiceScheduleTasks",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables scheduling of launcher query federated analytics version 2 tasks.
BASE_FEATURE(kFederatedLauncherQueryAnalyticsVersion2Task,
"FederatedLauncherQueryAnalyticsVersion2Task",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the files transfer conflict dialog in Files app.
BASE_FEATURE(kFilesConflictDialog,
"FilesConflictDialog",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables local image search by query in the Files app.
BASE_FEATURE(kFilesLocalImageSearch,
"FilesLocalImageSearch",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables materialized views in Files App.
BASE_FEATURE(kFilesMaterializedViews,
"FilesMaterializedViews",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables partitioning of removable disks in file manager.
BASE_FEATURE(kFilesSinglePartitionFormat,
"FilesSinglePartitionFormat",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable background cleanup for old files in Trash.
BASE_FEATURE(kFilesTrashAutoCleanup,
"FilesTrashAutoCleanup",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable files app trash for Drive.
BASE_FEATURE(kFilesTrashDrive,
"FilesTrashDrive",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the v2 version of the Firmware Updates app.
BASE_FEATURE(kFirmwareUpdateUIV2,
"FirmwareUpdateUIV2",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables first party Vietnamese input method.
BASE_FEATURE(kFirstPartyVietnameseInput,
"FirstPartyVietnameseInput",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls if the Fjord variant of OOBE is shown.
BASE_FEATURE(kFjordOobe, "FjordOobe", base::FEATURE_DISABLED_BY_DEFAULT);
// Force flag for the Fjord variant of OOBE. This is to make testing easier
// because the Fjord OOBE variant is buildflag dependent.
BASE_FEATURE(kFjordOobeForceEnabled,
"FjordOobeForceEnabled",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables the Flex Auto-Enrollment feature on ChromeOS
BASE_FEATURE(kFlexAutoEnrollment,
"FlexAutoEnrollment",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables firmware updates from LVFS for ChromeOS Flex.
BASE_FEATURE(kFlexFirmwareUpdate,
"FlexFirmwareUpdate",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to ignore policy setting for enabling VPN Apps
// for ChromeOS Flex.
BASE_FEATURE(kIgnoreDeviceFlexArcEnabledPolicy,
"IgnoreDeviceFlexArcEnabledPolicy",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls Floating SSO feature which can move cookies between ChromeOS
// enterprise devices. The feature is also guarded by an enterprise policy. This
// flag controls if we are allowed to launch the service observing the policy
// and if we show the user selectable UI when the policy is enabled.
BASE_FEATURE(kFloatingSso, "FloatingSso", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Floating Workspace feature on ChromeOS
BASE_FEATURE(kFloatingWorkspace,
"FloatingWorkspace",
base::FEATURE_DISABLED_BY_DEFAULT);
// Maximum delay to wait for restoring Floating Workspace after login.
constexpr base::FeatureParam<base::TimeDelta>
kFloatingWorkspaceMaxTimeAvailableForRestoreAfterLogin{
&kFloatingWorkspace, "MaxTimeAvailableForRestoreAfterLogin",
base::Seconds(3)};
// Enables or disables Floating Workspace V2 feature on ChromeOS
BASE_FEATURE(kFloatingWorkspaceV2,
"FloatingWorkspaceV2",
base::FEATURE_DISABLED_BY_DEFAULT);
// Maximum delay to wait for restoring Floating Workspace V2 after login.
constexpr base::FeatureParam<base::TimeDelta>
kFloatingWorkspaceV2MaxTimeAvailableForRestoreAfterLogin{
&kFloatingWorkspaceV2, "MaxTimeAvailableForRestoreAfterLoginV2",
base::Seconds(30)};
// Time interval to capture current desk as desk template and upload template to
// server.
constexpr base::FeatureParam<base::TimeDelta>
kFloatingWorkspaceV2PeriodicJobIntervalInSeconds{
&kFloatingWorkspaceV2, "PeriodicJobIntervalInSeconds",
base::Seconds(30)};
// If enabled, makes the Projector app use server side speech
// recognition instead of on-device speech recognition.
BASE_FEATURE(kForceEnableServerSideSpeechRecognition,
"ForceEnableServerSideSpeechRecognition",
base::FEATURE_DISABLED_BY_DEFAULT);
// Force enables on-device apps controls regardless of the device region.
// Used for development and testing only. Should remain disabled by default.
// See `kOnDeviceAppControls` description for the feature details.
BASE_FEATURE(kForceOnDeviceAppControlsForAllRegions,
"ForceOnDeviceAppControlsForAllRegions",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls enabling/disabling the forest feature.
// For more info, see go/crosforest.
BASE_FEATURE(kForestFeature, "ForestFeature", base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to allow keeping full screen mode after unlock.
BASE_FEATURE(kFullscreenAfterUnlockAllowed,
"FullscreenAfterUnlockAllowed",
base::FEATURE_ENABLED_BY_DEFAULT);
// When enabled, there will be an alert bubble showing up when the device
// returns from low brightness (e.g., sleep, closed cover) without a lock screen
// and the active window is in fullscreen.
// TODO(crbug.com/40140761): Remove this after the feature is launched.
BASE_FEATURE(kFullscreenAlertBubble,
"EnableFullscreenBubble",
base::FEATURE_DISABLED_BY_DEFAULT);
// Debugging UI for ChromeOS FuseBox service.
BASE_FEATURE(kFuseBoxDebug, "FuseBoxDebug", base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether the fwupd dbus client should be active. This is used only
// for testing to prevent the fwupd service from spooling and re-activating
// powerd service.
BASE_FEATURE(kBlockFwupdClient,
"BlockFwupdClient",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Classroom Student Glanceable on time management surface.
BASE_FEATURE(kGlanceablesTimeManagementClassroomStudentView,
"GlanceablesTimeManagementClassroomStudentView",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Tasks Glanceable on time management surface.
BASE_FEATURE(kGlanceablesTimeManagementTasksView,
"GlanceablesTimeManagementTasksView",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables fetching assigned (shared) tasks for Google Tasks integration.
BASE_FEATURE(kGlanceablesTimeManagementTasksViewAssignedTasks,
"GlanceablesTimeManagementTasksViewAssignedTasks",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables logging new Gaia account creation event.
BASE_FEATURE(kGaiaRecordAccountCreation,
"GaiaRecordAccountCreation",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Gamepad Support.
BASE_FEATURE(kGameDashboardGamepadSupport,
"GameDashboardGamepadSupport",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Game Dashboard for additional PWA games.
BASE_FEATURE(kGameDashboardGamePWAs,
"GameDashboardGamePWAs",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables additional games being evaluated for the Game Dashboard.
BASE_FEATURE(kGameDashboardGamesInTest,
"GameDashboardGamesInTest",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Game Dashboard Main Menu utility views.
BASE_FEATURE(kGameDashboardUtilities,
"GameDashboardUtilities",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the App launch keyboard shortcut.
BASE_FEATURE(kAppLaunchShortcut,
"AppLaunchShortcut",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the Game Dashboard's Record Game feature. This flag is to be enabled
// by the feature management module.
BASE_FEATURE(kFeatureManagementGameDashboardRecordGame,
"FeatureManagementGameDashboardRecordGame",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls gamepad vibration in Exo.
BASE_FEATURE(kGamepadVibration,
"ExoGamepadVibration",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable a D-Bus service for accessing gesture properties.
BASE_FEATURE(kGesturePropertiesDBusService,
"GesturePropertiesDBusService",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Graduation app for EDU users if the Graduation policy allows it.
BASE_FEATURE(kGraduation, "Graduation", base::FEATURE_ENABLED_BY_DEFAULT);
// When enabled, the Graduation app will use a webview-specific endpoint to
// load the Takeout Transfer tool.
BASE_FEATURE(kGraduationUseEmbeddedTransferEndpoint,
"GraduationUseEmbeddedTransferEndpoint",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables a Files banner about Google One offer. This flag is used by Gamgee
// nudge to conditionally disable the G1 file banner for CBX boards via finch.
BASE_FEATURE(kGoogleOneOfferFilesBanner,
"GoogleOneOfferFilesBanner",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables targeting for feature-aware devices, as controlled by the feature
// management module.
BASE_FEATURE(kFeatureManagementGrowthFramework,
"FeatureManagementGrowthFramework",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables growth framework.
BASE_FEATURE(kGrowthFramework,
"GrowthFramework",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable set app window as nudge parent.
BASE_FEATURE(kGrowthCampaignsNudgeParentToAppWindow,
"GrowthCampaignsNudgeParentToAppWindow",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables CrOS events recording with growth campaigns.
BASE_FEATURE(kGrowthCampaignsCrOSEvents,
"GrowthCampaignsCrOSEvents",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables demo mode sign in with growth campaigns.
BASE_FEATURE(kGrowthCampaignsDemoModeSignIn,
"GrowthCampaignsDemoModeSignIn",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether growth campaigns experiment tag targeting is enabled. The
// flag also used by finch to tag the session with finch params.
BASE_FEATURE(kGrowthCampaignsExperimentTagTargeting,
"GrowthCampaignsExperimentTagTargeting",
base::FEATURE_ENABLED_BY_DEFAULT);
// List of predefined Growth Framework experiment flag that will be associated
// with a finch study to deliver finch param for each experiment group to
// create randomization group that match the experiment tag targeting in
// Growth campaigns.
// The group will be selected by `predefinedFeatureIndex` config in experimental
// campaigns.
BASE_FEATURE(kGrowthCampaignsExperiment1,
"GrowthCampaignsExperiment1",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment2,
"GrowthCampaignsExperiment2",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment3,
"GrowthCampaignsExperiment3",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment4,
"GrowthCampaignsExperiment4",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment5,
"GrowthCampaignsExperiment5",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment6,
"GrowthCampaignsExperiment6",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment7,
"GrowthCampaignsExperiment7",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment8,
"GrowthCampaignsExperiment8",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment9,
"GrowthCampaignsExperiment9",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment10,
"GrowthCampaignsExperiment10",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment11,
"GrowthCampaignsExperiment11",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment12,
"GrowthCampaignsExperiment12",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment13,
"GrowthCampaignsExperiment13",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment14,
"GrowthCampaignsExperiment14",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment15,
"GrowthCampaignsExperiment15",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment16,
"GrowthCampaignsExperiment16",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment17,
"GrowthCampaignsExperiment17",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment18,
"GrowthCampaignsExperiment18",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment19,
"GrowthCampaignsExperiment19",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperiment20,
"GrowthCampaignsExperiment20",
base::FEATURE_ENABLED_BY_DEFAULT);
// List of one-off Growth Framework experiment flag that will be associated
// with a finch study to deliver finch param for each experiment group to
// create randomization group that match the experiment tag targeting in
// Growth campaigns.
// The group will be selected by `oneOffExpFeatureIndex` config in experimental
// campaigns.
// Different from the predefined feature flag section above. These flags are
// used by study/groups that refer to multiple feature flags.
BASE_FEATURE(kGrowthCampaignsExperimentFileAppGamgee,
"GrowthCampaignsExperimentFileAppGamgee",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kGrowthCampaignsExperimentG1Nudge,
"GrowthCampaignsExperimentG1Nudge",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables consumer session customizations with growth campaigns.
BASE_FEATURE(kGrowthCampaignsInConsumerSession,
"GrowthCampaignsInConsumerSession",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Demo Mode customizations with growth campaigns.
BASE_FEATURE(kGrowthCampaignsInDemoMode,
"GrowthCampaignsInDemoMode",
base::FEATURE_ENABLED_BY_DEFAULT);
// Show the nudge widget inside the window bounds and parent to the window.
BASE_FEATURE(kGrowthCampaignsShowNudgeInsideWindowBounds,
"GrowthCampaignsShowNudgeInsideWindowBounds",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether growth campaigns triggering when loading campaigns complete.
BASE_FEATURE(kGrowthCampaignsTriggerAtLoadComplete,
"GrowthCampaignsTriggerAtLoadComplete",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether growth campaigns triggering by app open event is enabled.
// This flag is used as a kill switch to disable the feature in the case that
// the feature introduces any unexpected behaviours.
BASE_FEATURE(kGrowthCampaignsTriggerByAppOpen,
"GrowthCampaignsTriggerByAppOpen",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether growth campaigns triggering by url navigation is enabled.
// This flag is used as a kill switch to disable the feature in the case that
// the feature introduces any unexpected behaviours.
BASE_FEATURE(kGrowthCampaignsTriggerByBrowser,
"GrowthCampaignsTriggerByBrowser",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether growth campaigns triggering by any event is enabled.
// This flag is used as a kill switch to disable the feature in the case that
// the feature introduces any unexpected behaviours.
BASE_FEATURE(kGrowthCampaignsTriggerByEvent,
"GrowthCampaignsTriggerByEvent",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether growth campaigns triggering by recording an event.
// This flag is used as a kill switch to disable the feature in the case that
// the feature introduces any unexpected behaviours.
BASE_FEATURE(kGrowthCampaignsTriggerByRecordEvent,
"GrowthCampaignsTriggerByRecordEvent",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether the growth nudge's triggering and the nudge widget
// invisibility and inactivation event should be observed to conditionally
// cancel the nudge.
BASE_FEATURE(kGrowthCampaignsObserveTriggeringWidgetChange,
"GrowthCampaignsObserveTriggeringWidgetChange",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables internals page of ChromeOS growth framework.
BASE_FEATURE(kGrowthInternals,
"GrowthInternals",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables showing the menu tabs in chrome://healthd-internals for displaying
// information from `cros_healthd`.
BASE_FEATURE(kHealthdInternalsTabs,
"HealthdInternalsTabs",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Kiosk session for the Helium android app.
BASE_FEATURE(kHeliumArcvmKiosk,
"HeliumArcvmKiosk",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, the Help app will render the App Detail Page and entry point.
BASE_FEATURE(kHelpAppAppDetailPage,
"HelpAppAppDetailPage",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, the Help app will render the Apps List page and entry point.
BASE_FEATURE(kHelpAppAppsList,
"HelpAppAppsList",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the logic that auto triggers the install dialog during the web app
// install flow initiated from the Help App.
BASE_FEATURE(kHelpAppAutoTriggerInstallDialog,
"HelpAppAutoTriggerInstallDialog",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, the home page of the Help App will show a section containing
// articles about apps.
BASE_FEATURE(kHelpAppHomePageAppArticles,
"HelpAppHomePageAppArticles",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable showing search results from the help app in the launcher.
BASE_FEATURE(kHelpAppLauncherSearch,
"HelpAppLauncherSearch",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables a new onboarding experience in the Help App.
BASE_FEATURE(kHelpAppOnboardingRevamp,
"HelpAppOnboardingRevamp",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables opening the Help App's What's New page immediately instead of showing
// a notification to open the help app.
BASE_FEATURE(kHelpAppOpensInsteadOfReleaseNotesNotification,
"HelpAppOpensInsteadOfReleaseNotesNotification",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable showing the welcome tips page in the help app. This feature
// is dependent on the 'ScalableIph' feature being enabled as well.
BASE_FEATURE(kHelpAppWelcomeTips,
"HelpAppWelcomeTips",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable ChromeOS hibernation features.
BASE_FEATURE(kHibernate, "Hibernate", base::FEATURE_DISABLED_BY_DEFAULT);
// Enables a warning about connecting to hidden WiFi networks.
// https://crbug.com/903908
BASE_FEATURE(kHiddenNetworkWarning,
"HiddenNetworkWarning",
base::FEATURE_DISABLED_BY_DEFAULT);
// When enabled, shelf navigation controls and the overview tray item will be
// removed from the shelf in tablet mode (unless otherwise specified by user
// preferences, or policy). This feature also enables "contextual nudges" for
// gesture education.
BASE_FEATURE(kHideShelfControlsInTabletMode,
"HideShelfControlsInTabletMode",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, add Hindi Inscript keyboard layout.
BASE_FEATURE(kHindiInscriptLayout,
"HindiInscriptLayout",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables suggestions in the pinned files section of Holding Space.
BASE_FEATURE(kHoldingSpaceSuggestions,
"HoldingSpaceSuggestions",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kHomeButtonQuickAppAccess,
"HomeButtonQuickAppAccess",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables a call-to-action label beside the home button.
BASE_FEATURE(kHomeButtonWithText,
"HomeButtonWithText",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, allows the user to cycle between windows of an app using Alt + `.
BASE_FEATURE(kSameAppWindowCycle,
"SameAppWindowCycle",
base::FEATURE_DISABLED_BY_DEFAULT);
// Make Sanitize available. This feature provides a "soft reset" option in CrOS
// settings. This soft reset will disable extensions and reset some of the
// settings to default.
BASE_FEATURE(kSanitize, "CrosSanitize", base::FEATURE_ENABLED_BY_DEFAULT);
// Make Sanitize V1 available. This feature provides a "soft reset" option in
// CrOS settings. In addition to the existing Sanitize features, this will
// provide a functional reset to user's proxy settings, input methods for
// keyboard and choice of languages in the spellchecker.
BASE_FEATURE(kSanitizeV1, "CrosSanitizeV1", base::FEATURE_ENABLED_BY_DEFAULT);
// When enabled, `SmbService` is created on user session startup task completed.
BASE_FEATURE(kSmbServiceIsCreatedOnUserSessionStartUpTaskCompleted,
"SmbServiceIsCreatedOnUserSessionStartUpTaskCompleted",
base::FEATURE_ENABLED_BY_DEFAULT);
// When enabled, smbprovider is started on-demand.
BASE_FEATURE(kSmbproviderdOnDemand,
"SmbproviderdOnDemand",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether the snooping protection prototype is enabled.
BASE_FEATURE(kSnoopingProtection,
"SnoopingProtection",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables the split keyboard refactor cleanup.
BASE_FEATURE(kSplitKeyboardRefactor,
"SplitKeyboardRefactor",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, used to configure the heuristic rules for some advanced IME
// features (e.g. auto-correct).
BASE_FEATURE(kImeRuleConfig, "ImeRuleConfig", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables IME downloader experiment logic.
BASE_FEATURE(kImeDownloaderExperiment,
"ImeDownloaderExperiment",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, use the updated logic for downloading IME artifacts.
BASE_FEATURE(kImeDownloaderUpdate,
"ImeDownloaderUpdate",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, use the updated parameters for the decoder.
BASE_FEATURE(kImeFstDecoderParamsUpdate,
"ImeFstDecoderParamsUpdate",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled use experimental US English IME language model.
BASE_FEATURE(kImeUsEnglishExperimentalModel,
"ImeUsEnglishExperimentalModel",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled use the updated US English IME language models.
BASE_FEATURE(kImeUsEnglishModelUpdate,
"ImeUsEnglishModelUpdate",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable or disable proto-based communication for IME Service.
BASE_FEATURE(kImeServiceProto,
"ImeServiceProto",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable or disable system emoji picker GIF support
BASE_FEATURE(kImeManifestV3,
"ImeManifestV3",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable or disable system emoji picker GIF support
BASE_FEATURE(kImeSystemEmojiPickerGIFSupport,
"SystemEmojiPickerGIFSupport",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable or disable system emoji picker jelly support
BASE_FEATURE(kImeSystemEmojiPickerJellySupport,
"SystemEmojiPickerJellySupport",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable or disable system emoji picker mojo based emoji search
BASE_FEATURE(kImeSystemEmojiPickerMojoSearch,
"SystemEmojiPickerMojoSearch",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable or disable system emoji picker global emoji variant grouping
BASE_FEATURE(kImeSystemEmojiPickerVariantGrouping,
"SystemEmojiPickerVariantGrouping",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables a change in the Korean input method whereby right-Alt location solely
// functions as the internal-mode switch, i.e. not concurrently as Alt modifier.
BASE_FEATURE(kImeKoreanOnlyModeSwitchOnRightAlt,
"ImeKoreanOnlyModeSwitchOnRightAlt",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables a change in the IME switching logic such that the mojo connection
// status is tracked via a global boolean instead of checking if the runner is
// idle.
BASE_FEATURE(kImeSwitchCheckConnectionStatus,
"ImeSwitchCheckConnectionStatus",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to show new improved UI for cryptohome errors that happened
// during login. UI contains links to help center and might provide actions
// that can be taken to resolve the problem.
BASE_FEATURE(kImprovedLoginErrorHandling,
"ImprovedLoginErrorHandling",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to show new management disclosure UI page instead of the
// management warning bubble.
BASE_FEATURE(kImprovedManagementDisclosure,
"ImprovedManagementDisclosure",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Instant Hotspot on Nearby. b/303121363.
BASE_FEATURE(kInstantHotspotOnNearby,
"InstantHotspotOnNearby",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Instant Hotspot rebrand/feature improvements. b/290075504.
BASE_FEATURE(kInstantHotspotRebrand,
"InstantHotspotRebrand",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Instant Tethering on ChromeOS.
BASE_FEATURE(kInstantTethering,
"InstantTethering",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables the internal server side speech recognition on ChromeOS.
// Controls the launched locales.
BASE_FEATURE(kInternalServerSideSpeechRecognition,
"InternalServerSideSpeechRecognition",
base::FEATURE_ENABLED_BY_DEFAULT);
// Feature overrides the `InternalServerSideSpeechRecognition` that is exposed
// via chrome://flags. This flag is used as a kill switch to disable the feature
// in case that the feature introduced unexpected server load.
// TODO(b/265957535) Clean up this flag after launch.
BASE_FEATURE(kInternalServerSideSpeechRecognitionControl,
"InternalServerSideSpeechRecognitionControl",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables the internal server side speech recognition on ChromeOS.
// The supported locales for this feature are specified using the locales
// filter in finch config.
BASE_FEATURE(kInternalServerSideSpeechRecognitionByFinch,
"InternalServerSideSpeechRecognitionByFinch",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables the internal server side speech recognition on ChromeOS.
// The supported locales for this feature are specified using the locales
// filter in finch config. The languages controlled by this feature use the
// S3 USM_RNNT model.
BASE_FEATURE(kInternalServerSideSpeechRecognitionUSMModelFinch,
"InternalServerSideSpeechRecognitionUSMModelFinch",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables sending `client-info` values to IPP printers on ChromeOS.
BASE_FEATURE(kIppClientInfo, "IppClientInfo", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables new experimental IPP-first setup path for USB printers on ChromeOS.
// Used in finch experiment.
BASE_FEATURE(kIppFirstSetupForUsbPrinters,
"IppFirstSetupForUsbPrinters",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Kiosk sessions with Isolated Web Apps.
BASE_FEATURE(kIsolatedWebAppKiosk,
"IsolatedWebAppKiosk",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables correct handling of the function key row in Japanese.
BASE_FEATURE(kJapaneseFunctionRow,
"JapaneseFunctionRow",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables OS Settings page for japanese.
BASE_FEATURE(kJapaneseOSSettings,
"JapaneseOSSettings",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether the "Remember password" button in the Kerberos "Add account"
// dialog should be checked by default.
BASE_FEATURE(kKerberosRememberPasswordByDefault,
"KerberosRememberPasswordByDefault",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables IME button in the floating accessibility menu for the Kiosk session.
BASE_FEATURE(kKioskEnableImeButton,
"KioskEnableImeButton",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables automatic downloading and installing fonts via language packs, based
// on the user's preferences.
BASE_FEATURE(kLanguagePacksFonts,
"LanguagePacksFonts",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables loading in fonts via language packs on login, even after a download.
const base::FeatureParam<bool> kLanguagePacksFontsLoadAfterDownloadDuringLogin =
{&kLanguagePacksFonts, "load_after_download_during_login", true};
// If enabled, the Language Pack corresponding to the application locale is
// downloaded and installed during OOBE. This pre-fetching is aimed at improving
// user experience so that they have language resources available as early as
// possible.
BASE_FEATURE(kLanguagePacksInOobe,
"LanguagePacksInOobe",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the UI and relative logic to manage Language Packs in Settings.
// This feature allows users to install/remove languages and input methods
// via the corresponding Settings page.
BASE_FEATURE(kLanguagePacksInSettings,
"LanguagePacksInSettings",
base::FEATURE_DISABLED_BY_DEFAULT);
// When enabled, launcher continue section will suggest drive files based on
// recency, instead of fetching them using drive's ItemSuggest API.
BASE_FEATURE(kLauncherContinueSectionWithRecents,
"LauncherContinueSectionWithRecents",
base::FEATURE_ENABLED_BY_DEFAULT);
// Same as `kLauncherContinueSectionWithRecents`, but used to enable the feature
// via finch, while ensuring minimum Chrome version - i.e. to avoid finch config
// from enabling the feature on versions where
// LauncherContinueSectionWithRecents was first added.
BASE_FEATURE(kLauncherContinueSectionWithRecentsRollout,
"LauncherContinueSectionWithRecentsRollout125",
base::FEATURE_DISABLED_BY_DEFAULT);
// Uses short intervals for launcher nudge for testing if enabled.
BASE_FEATURE(kLauncherNudgeShortInterval,
"LauncherNudgeShortInterval",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, the launcher nudge prefs will be reset at the start of each new
// user session.
BASE_FEATURE(kLauncherNudgeSessionReset,
"LauncherNudgeSessionReset",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, the launcher will only provide results based on the user control.
BASE_FEATURE(kLauncherSearchControl,
"LauncherSearchControl",
base::FEATURE_ENABLED_BY_DEFAULT);
// Segmentation flag for local image search.
BASE_FEATURE(kFeatureManagementLocalImageSearch,
"FeatureManagementLocalImageSearch",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables lobster feature.
BASE_FEATURE(kLobster, "Lobster", base::FEATURE_DISABLED_BY_DEFAULT);
// Enabling this testing flag will force the Lobster disclaimer screen to be
// shown every time Lobster is triggered, even if users have previously approved
// the Lobster consent. If users have declined the Lobster consent, the feature
// This flag should solely be enabled for convenient testing. Do not turn it on
// unless the feature is under testing.
BASE_FEATURE(kLobsterAlwaysShowDisclaimerForTesting,
"LobsterAlwaysShowDisclaimerForTesting",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables lobster dogfood.
BASE_FEATURE(kLobsterDogfood,
"LobsterDogfood",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables lobster dragging support.
BASE_FEATURE(kLobsterDraggingSupport,
"LobsterDraggingSupport",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables lobster feedback form.
BASE_FEATURE(kLobsterFeedback,
"LobsterFeedback",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables lobster feedback form.
BASE_FEATURE(kLobsterFileNamingImprovement,
"LobsterFileNamingImprovement",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables lobster restriction based on the current active IME.
BASE_FEATURE(kLobsterDisabledByInvalidIME,
"LobsterDisabledByInvalidIME",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls lobster availability on managed accounts.
BASE_FEATURE(kLobsterForManagedUsers,
"LobsterForManagedUsers",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables lobster i18n response.
BASE_FEATURE(kLobsterI18n, "LobsterI18n", base::FEATURE_DISABLED_BY_DEFAULT);
// Enables lobster entry point in quick insert zero state.
BASE_FEATURE(kLobsterQuickInsertZeroState,
"LobsterQuickInsertZeroState",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables lobster right click menu entry point.
BASE_FEATURE(kLobsterRightClickMenu,
"LobsterRightClickMenu",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enabling this flag allows Lobster to receive and use the rewritten queries
// returned from the server.
BASE_FEATURE(kLobsterUseRewrittenQuery,
"LobsterUseRewrittenQuery",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables / Disables the lobster feature from the feature management module.
BASE_FEATURE(kFeatureManagementLobster,
"FeatureManagementLobster",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables local authentication controller with PIN support.
BASE_FEATURE(kLocalAuthenticationWithPin,
"LocalAuthenticationWithPin",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables cross device supported reports within the feedback tool.
// (This feature is only available for dogfooders)
BASE_FEATURE(kLinkCrossDeviceDogfoodFeedback,
"LinkCrossDeviceDogFoodFeedback",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables nearby-internals logs to be automatically saved to disk and attached
// to feedback reports.
BASE_FEATURE(kLinkCrossDeviceInternals,
"LinkCrossDeviceInternals",
base::FEATURE_DISABLED_BY_DEFAULT);
// Supports the feature to hide sensitive content in notifications on the lock
// screen. This option is effective when |kLockScreenNotification| is enabled.
BASE_FEATURE(kLockScreenHideSensitiveNotificationsSupport,
"LockScreenHideSensitiveNotificationsSupport",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables notifications on the lock screen.
BASE_FEATURE(kLockScreenNotifications,
"LockScreenNotifications",
base::FEATURE_DISABLED_BY_DEFAULT);
// Feature to allow MAC address randomization to be enabled for WiFi networks.
BASE_FEATURE(kMacAddressRandomization,
"MacAddressRandomization",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Mahi on PDF contents in the Media App.
BASE_FEATURE(kMediaAppPdfMahi,
"MediaAppPdfMahi",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Mantis on image contents in the Media App
BASE_FEATURE(kMediaAppImageMantis,
"MediaAppImageMantis",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Erase feature of Mantis
BASE_FEATURE(kMediaAppImageMantisErase,
"MediaAppImageMantisErase",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the Expand Background feature of Mantis
BASE_FEATURE(kMediaAppImageMantisExpandBackground,
"MediaAppImageMantisExpandBackground",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the Make A Sticker feature of Mantis
BASE_FEATURE(kMediaAppImageMantisMakeASticker,
"MediaAppImageMantisMakeASticker",
base::FEATURE_ENABLED_BY_DEFAULT);
// When enabled, the specified model will be used with the Mantis feature
BASE_FEATURE(kMediaAppImageMantisModel,
"MediaAppImageMantisModel",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the Reimagine feature of Mantis
BASE_FEATURE(kMediaAppImageMantisReimagine,
"MediaAppImageMantisReimagine",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Remove Background feature of Mantis
BASE_FEATURE(kMediaAppImageMantisRemoveBackground,
"MediaAppImageMantisRemoveBackground",
base::FEATURE_ENABLED_BY_DEFAULT);
constexpr base::FeatureParam<MantisModel>::Option mantis_model_options[] = {
{MantisModel::V1, "v1"},
{MantisModel::V2, "v2"}};
const base::FeatureParam<MantisModel> kMediaAppImageMantisModelParams{
&kMediaAppImageMantisModel, "mantis_model", MantisModel::V2,
&mantis_model_options};
// Controls whether to enable the requirement of a minimum chrome version on the
// device through the policy DeviceMinimumVersion. If the requirement is
// not met and the warning time in the policy has expired, the user is
// restricted from using the session.
BASE_FEATURE(kMinimumChromeVersion,
"MinimumChromeVersion",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables to split left and right modifiers in settings.
BASE_FEATURE(kModifierSplit, "ModifierSplit", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables to split left and right modifiers in settings.
BASE_FEATURE(kMouseImposterCheck,
"MouseImposterCheck",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the full apps list in Phone Hub bubble.
BASE_FEATURE(kEcheLauncher, "EcheLauncher", base::FEATURE_ENABLED_BY_DEFAULT);
// Switch full apps list in Phone Hub from grid view to list view.
BASE_FEATURE(kEcheLauncherListView,
"EcheLauncherListView",
base::FEATURE_ENABLED_BY_DEFAULT);
// Switch the "More Apps" button in eche launcher to show small app icons
BASE_FEATURE(kEcheLauncherIconsInMoreAppsButton,
"EcheLauncherIconsInMoreAppsButton",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the Phone Hub recent apps loading and error views based on the
// connection status with the phone.
BASE_FEATURE(kEcheNetworkConnectionState,
"EcheNetworkConnectionState",
base::FEATURE_ENABLED_BY_DEFAULT);
// Time limit before re-attempting a background connection to check if the
// network is suitable.
const base::FeatureParam<base::TimeDelta>
kEcheBackgroundConnectionAttemptThrottleTimeout{
&kEcheNetworkConnectionState,
"EcheBackgroundConnectionAttemptThrottleTimeout", base::Seconds(10)};
// Time limit before requiring a new connection check to show apps UI.
const base::FeatureParam<base::TimeDelta> kEcheConnectionStatusResetTimeout{
&kEcheNetworkConnectionState, "EcheConnectionStatusResetTimeout",
base::Minutes(10)};
BASE_FEATURE(kEcheShorterScanningDutyCycle,
"EcheShorterScanningDutyCycle",
base::FEATURE_ENABLED_BY_DEFAULT);
const base::FeatureParam<base::TimeDelta> kEcheScanningCycleOnTime{
&kEcheShorterScanningDutyCycle, "EcheScanningCycleOnTime",
base::Seconds(30)};
const base::FeatureParam<base::TimeDelta> kEcheScanningCycleOffTime{
&kEcheShorterScanningDutyCycle, "EcheScanningCycleOffTime",
base::Seconds(30)};
// Enables events from multiple calendars to be displayed in the Quick
// Settings Calendar.
BASE_FEATURE(kMultiCalendarSupport,
"MultiCalendarSupport",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables multi-zone rgb keyboard customization.
BASE_FEATURE(kMultiZoneRgbKeyboard,
"MultiZoneRgbKeyboard",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Nearby Presence for scanning and discovery of nearby devices.
BASE_FEATURE(kNearbyPresence,
"NearbyPresence",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables a limit on the number of notifications that can show.
BASE_FEATURE(kNotificationLimit,
"NotificationLimit",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables a bugfix for devices with a null custom top row property.
BASE_FEATURE(kNullTopRowFix, "NullTopRowFix", base::FEATURE_ENABLED_BY_DEFAULT);
// Feature Management flag for the Sys UI holdback experiment, used to avoid
// certain devices.
BASE_FEATURE(kFeatureManagementShouldExcludeFromSysUiHoldback,
"FeatureManagementShouldExcludeFromSysUiHoldback",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables a holdback experiment for Drive integration.
BASE_FEATURE(kSysUiShouldHoldbackDriveIntegration,
"SysUiShouldHoldbackDriveIntegration",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables a holdback experiment for Task Management
// Glanceables.
BASE_FEATURE(kSysUiShouldHoldbackTaskManagement,
"SysUiShouldHoldbackTaskManagement",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Night Light feature.
BASE_FEATURE(kNightLight, "NightLight", base::FEATURE_ENABLED_BY_DEFAULT);
// Extracts controller logic from child views of `NotificationCenterView` to
// place it in a new `NotificationCenterController` class.
BASE_FEATURE(kNotificationCenterController,
"NotificationCenterController",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enabled notification expansion animation.
BASE_FEATURE(kNotificationExpansionAnimation,
"NotificationExpansionAnimation",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables notification scroll bar in UnifiedSystemTray.
BASE_FEATURE(kNotificationScrollBar,
"NotificationScrollBar",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables notifications to be shown within context menus.
BASE_FEATURE(kNotificationsInContextMenu,
"NotificationsInContextMenu",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables showing OfflineItems in Notifications.
BASE_FEATURE(kOfflineItemsInNotifications,
"OfflineItemsInNotifications",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to enable on-device grammar check service.
BASE_FEATURE(kOnDeviceGrammarCheck,
"OnDeviceGrammarCheck",
base::FEATURE_ENABLED_BY_DEFAULT);
// Whether the device supports on-device speech recognition.
// Forwarded to LaCrOS as BrowserInitParams::is_ondevice_speech_supported.
BASE_FEATURE(kOnDeviceSpeechRecognition,
"OnDeviceSpeechRecognition",
base::FEATURE_DISABLED_BY_DEFAULT);
// Whether the OneDrive upload flow should immediately prompt the user to
// re-authenticate without first showing a notification.
BASE_FEATURE(kOneDriveUploadImmediateReauth,
"OneDriveUploadImmediateReauth",
base::FEATURE_ENABLED_BY_DEFAULT);
// Whether the new UI for pinned notifications will be enabled.
// go/ongoing-ui
BASE_FEATURE(kOngoingProcesses,
"OngoingProcesses",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, enrollment screen will allow for automatically adding the
// authenticated user to the device.
BASE_FEATURE(kOobeAddUserDuringEnrollment,
"OobeAddUserDuringEnrollment",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, CHOOBE Screen will be shown during the new user onboarding flow.
BASE_FEATURE(kOobeChoobe, "OobeChoobe", base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, CrOS events for OOBE and onboarding flow will be recorded.
BASE_FEATURE(kOobeCrosEvents,
"OobeCrosEvents",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, Drive Pinning Screen will be shown during
// the new user onboarding flow.
BASE_FEATURE(kOobeDrivePinning,
"OobeDrivePinning",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled , Personalized Onboarding + App Recommendations
// will be shown if eligible during user onboarding flow.
BASE_FEATURE(kOobePersonalizedOnboarding,
"OobePersonalizedOnboarding",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, Pre-consent metrics functionality is enabled during OOBE.
BASE_FEATURE(kOobePreConsentMetrics,
"OobePreConsentMetrics",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, Consumer Software Screen will be shown during OOBE.
BASE_FEATURE(kOobeSoftwareUpdate,
"OobeSoftwareUpdate",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, TouchPadScreen will be shown in CHOOBE.
// enabling this without enabling OobeChoobe flag will have no effect
BASE_FEATURE(kOobeTouchpadScroll,
"OobeTouchpadScrollDirection",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kOobeDisplaySize,
"OobeDisplaySize",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, InputMethodsScreen will be shown in CHOOBE.
BASE_FEATURE(kOobeInputMethods,
"OobeInputMethods",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, SplitModifierKeyboardInfoScreen will be shown in OOBE.
BASE_FEATURE(kOobeSplitModifierKeyboardInfo,
"OobeSplitModifierKeyboardInfo",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables OOBE Jelly features.
BASE_FEATURE(kOobeJelly, "OobeJelly", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables OOBE Jelly modal features.
BASE_FEATURE(kOobeJellyModal,
"OobeJellyModal",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables lazy loading in OOBE's WebUI by prioritizing the first screen.
BASE_FEATURE(kOobeLazyLoading,
"OobeLazyLoading",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables OOBE perks discovery feature.
BASE_FEATURE(kOobePerksDiscovery,
"OobePerksDiscovery",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables OOBE ai intro feature.
BASE_FEATURE(kFeatureManagementOobeAiIntro,
"FeatureManagementOobeAiIntro",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables OOBE gemini intro feature.
BASE_FEATURE(kFeatureManagementOobeGeminiIntro,
"FeatureManagementOobeGeminiIntro",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables boot animation feature.
BASE_FEATURE(kFeatureManagementOobeSimon,
"FeatureManagementOobeSimon",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Skipping the assistant setup screen in OOBE.
BASE_FEATURE(kOobeSkipAssistant,
"OobeSkipAssistant",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables the OOBE QuickStart flow on the login screen.
BASE_FEATURE(kOobeQuickStartOnLoginScreen,
"OobeQuickStartOnLoginScreen",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Orca for ARC apps.
BASE_FEATURE(kOrcaArc, "OrcaArc", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables elaborate for Orca.
BASE_FEATURE(kOrcaElaborate, "OrcaElaborate", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables emojify for Orca.
BASE_FEATURE(kOrcaEmojify, "OrcaEmojify", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Orca for managed users.
BASE_FEATURE(kOrcaForManagedUsers,
"kOrcaForManagedUsers",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables formalize for Orca.
BASE_FEATURE(kOrcaFormalize, "OrcaFormalize", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables proofread for Orca.
BASE_FEATURE(kOrcaProofread, "OrcaProofread", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables rephrase for Orca.
BASE_FEATURE(kOrcaRephrase, "OrcaRephrase", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables shorten for Orca.
BASE_FEATURE(kOrcaShorten, "OrcaShorten", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables elaborate for internationalized Orca.
BASE_FEATURE(kOrcaInternationalizeElaborate,
"OrcaInternationalizeElaborate",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables emojify for internationalized Orca.
BASE_FEATURE(kOrcaInternationalizeEmojify,
"OrcaInternationalizeEmojify",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables formalize for internationalized Orca.
BASE_FEATURE(kOrcaInternationalizeFormalize,
"OrcaInternationalizeFormalize",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables proofread for internationalized Orca.
BASE_FEATURE(kOrcaInternationalizeProofread,
"OrcaInternationalizeProofread",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables rephrase for internationalized Orca.
BASE_FEATURE(kOrcaInternationalizeRephrase,
"OrcaInternationalizeRephrase",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables shorten for internationalized Orca.
BASE_FEATURE(kOrcaInternationalizeShorten,
"OrcaInternationalizeShorten",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Africaans support for Orca.
BASE_FEATURE(kOrcaAfrikaans, "OrcaAfrikaans", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Danish support for Orca.
BASE_FEATURE(kOrcaDanish, "OrcaDanish", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Dutch support for Orca.
BASE_FEATURE(kOrcaDutch, "OrcaDutch", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Finnish support for Orca.
BASE_FEATURE(kOrcaFinnish, "OrcaFinnish", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables French support for Orca.
BASE_FEATURE(kOrcaFrench, "OrcaFrench", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables German support for Orca.
BASE_FEATURE(kOrcaGerman, "OrcaGerman", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Italian support for Orca.
BASE_FEATURE(kOrcaItalian, "OrcaItalian", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Japanese support for Orca.
BASE_FEATURE(kOrcaJapanese, "OrcaJapanese", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Norwegian support for Orca.
BASE_FEATURE(kOrcaNorwegian, "OrcaNorwegian", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Polish support for Orca.
BASE_FEATURE(kOrcaPolish, "OrcaPolish", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Portugese support for Orca.
BASE_FEATURE(kOrcaPortugese, "OrcaPortugese", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Spanish support for Orca.
BASE_FEATURE(kOrcaSpanish, "OrcaSpanish", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Swedish support for Orca.
BASE_FEATURE(kOrcaSwedish, "OrcaSwedish", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Orca dragging support.
BASE_FEATURE(kOrcaDraggingSupport,
"OrcaDraggingSupport",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Orca capability check.
BASE_FEATURE(kOrcaUseAccountCapabilities,
"OrcaUseAccountCapabilities",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Orca on Workspace.
BASE_FEATURE(kOrcaForceFetchContextOnGetEditorPanelContext,
"OrcaForceFetchContextOnGetEditorPanelContext",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, we force fetching input context
BASE_FEATURE(kOrcaOnWorkspace,
"OrcaOnWorkspace",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables new Orca service connection logic.
BASE_FEATURE(kOrcaServiceConnection,
"OrcaServiceConnection",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables proto-based Orca service communication logic.
BASE_FEATURE(kOrcaServiceProto,
"OrcaServiceProto",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, Orca will only be available in English locales.
BASE_FEATURE(kOrcaOnlyInEnglishLocales,
"OrcaOnlyInEnglishLocales",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Orca resizing support.
BASE_FEATURE(kOrcaResizingSupport,
"OrcaResizingSupport",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Orca on Demo mode.
BASE_FEATURE(kOrcaSupportDemoMode,
"OrcaSupportDemoMode",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, OsSyncConsent Revamp will be shown.
// enabling this without enabling Lacros flag will have no effect
BASE_FEATURE(kOsSyncConsentRevamp,
"OsSyncConsentRevamp",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Jelly colors and components to appear in the Parent Access Widget
// if jelly-colors is also enabled.
BASE_FEATURE(kParentAccessJelly,
"ParentAccessJelly",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables a notification warning users that their Thunderbolt device is not
// supported on their CrOS device.
// TODO(crbug.com/40199811): Revisit this flag when there is a way to query
// billboard devices correctly.
BASE_FEATURE(kPcieBillboardNotification,
"PcieBillboardNotification",
base::FEATURE_DISABLED_BY_DEFAULT);
// Limits the items on the shelf to the ones associated with windows the
// currently active desk.
BASE_FEATURE(kPerDeskShelf, "PerDeskShelf", base::FEATURE_DISABLED_BY_DEFAULT);
// Provides a UI for users to view information about their Android phone
// and perform phone-side actions within ChromeOS.
BASE_FEATURE(kPhoneHub, "PhoneHub", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the Camera Roll feature in Phone Hub, which allows users to access
// recent photos and videos taken on a connected Android device
BASE_FEATURE(kPhoneHubCameraRoll,
"PhoneHubCameraRoll",
base::FEATURE_ENABLED_BY_DEFAULT);
// Maximum number of seconds to wait before users can download the same photo
// from Camera Roll again.
const base::FeatureParam<base::TimeDelta> kPhoneHubCameraRollThrottleInterval{
&kPhoneHubCameraRoll, "PhoneHubCameraRollThrottleInterval",
base::Seconds(2)};
// Enables the incoming/ongoing call notification feature in Phone Hub.
BASE_FEATURE(kPhoneHubCallNotification,
"PhoneHubCallNotification",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kPhoneHubMonochromeNotificationIcons,
"PhoneHubMonochromeNotificationIcons",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kPhoneHubPingOnBubbleOpen,
"PhoneHubPingOnBubbleOpen",
base::FEATURE_ENABLED_BY_DEFAULT);
// Maximum number of seconds to wait for ping response before disconnecting
const base::FeatureParam<base::TimeDelta> kPhoneHubPingTimeout{
&kPhoneHubPingOnBubbleOpen, "PhoneHubPingTimeout", base::Seconds(5)};
BASE_FEATURE(kPhoneHubShortQuickActionPodsTitles,
"PhoneHubShortQuickActionPodsTitles",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables GIF search in Picker.
BASE_FEATURE(kPickerGifs, "PickerGifs", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables the preference of using constant frame rate for camera
// when streaming.
BASE_FEATURE(kPreferConstantFrameRate,
"PreferConstantFrameRate",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, ChromeOS print preview app is available. Enabling does not
// replace the existing Chrome print preview UI, and will require an additional
// flag and pref configured to facilitate. See b/323421684 for more information.
BASE_FEATURE(kPrintPreviewCrosApp,
"PrintPreviewCrosApp",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to enable Projector for managed users.
BASE_FEATURE(kProjectorManagedUser,
"ProjectorManagedUser",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether the Projector app launches in debug mode, with more detailed
// error messages.
BASE_FEATURE(kProjectorAppDebug,
"ProjectorAppDebug",
base::FEATURE_DISABLED_BY_DEFAULT);
// Constrols whether fallback implementation is enabled when streaming
// connection fails for server side speech recognition.
BASE_FEATURE(kProjectorServerSideRecognitionFallbackImpl,
"ProjectorServerSideRecognititionFallbackImpl",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether Projector use custom thumbnail in gallery page.
BASE_FEATURE(kProjectorCustomThumbnail,
"kProjectorCustomThumbnail",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to ignore policy setting for enabling Projector for managed
// users.
BASE_FEATURE(kProjectorManagedUserIgnorePolicy,
"ProjectorManagedUserIgnorePolicy",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to show pseduo transcript that is shorter than the
// threshold.
BASE_FEATURE(kProjectorShowShortPseudoTranscript,
"ProjectorShowShortPseudoTranscript",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to update the indexable text when metadata file gets
// uploaded.
BASE_FEATURE(kProjectorUpdateIndexableText,
"ProjectorUpdateIndexableText",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to enable features that are not ready to enable by
// default but ready for internal testing.
BASE_FEATURE(kProjectorBleedingEdgeExperience,
"ProjectorBleedingEdgeExperience",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether the transcript muting feature is enabled.
BASE_FEATURE(kProjectorMuting,
"ProjectorMuting",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether higher version transcripts should be redirected to PWA.
BASE_FEATURE(kProjectorRedirectToPwa,
"ProjectorRedirectToPwa",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether projector V2 is enabled.
BASE_FEATURE(kProjectorV2, "ProjectorV2", base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to use USM for serverside speech recognition for projector.
BASE_FEATURE(kProjectorUseUSMForS3,
"ProjectorUseUSMForS3",
base::FEATURE_ENABLED_BY_DEFAULT);
// controls whether projector uses dynamic colors.
BASE_FEATURE(kProjectorDynamicColors,
"ProjectorDynamicColors",
base::FEATURE_ENABLED_BY_DEFAULT);
// controls whether the projector app uses updated styles and ui components.
BASE_FEATURE(kProjectorGm3, "ProjectorGm3", base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether the projector app uses the latest endpoint for retrieving
// playback urls.
BASE_FEATURE(kProjectorUseDVSPlaybackEndpoint,
"ProjectorUseDVSPlaybackEndpoint",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to show promise icons during app installations.
BASE_FEATURE(kPromiseIcons, "PromiseIcons", base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to show promise icons during web app installations.
BASE_FEATURE(kPromiseIconsForWebApps,
"PromiseIconsForWebApps",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether the quick dim prototype is enabled.
BASE_FEATURE(kQuickDim, "QuickDim", base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kQuickAppAccessTestUI,
"QuickAppAccessTestUI",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables fingerprint quick unlock.
// Note, that this feature is set from session manager via
// command-line flag.
BASE_FEATURE(kQuickUnlockFingerprint,
"QuickUnlockFingerprint",
base::FEATURE_DISABLED_BY_DEFAULT);
// TODO(crbug.com/1104164) - Remove this once most
// users have their preferences backfilled.
// Controls whether the PIN auto submit backfill operation should be performed.
BASE_FEATURE(kQuickUnlockPinAutosubmitBackfill,
"QuickUnlockPinAutosubmitBackfill",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables Release Notes notifications on non-stable ChromeOS
// channels. Used for testing.
BASE_FEATURE(kReleaseNotesNotificationAllChannels,
"ReleaseNotesNotificationAllChannels",
base::FEATURE_DISABLED_BY_DEFAULT);
// Makes the user always eligible to see the release notes notification.
// Normally there are conditions that prevent the notification from appearing.
// For example: channel, profile type, and whether or not the notification had
// already been shown this milestone.
BASE_FEATURE(kReleaseNotesNotificationAlwaysEligible,
"ReleaseNotesNotificationAlwaysEligible",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables rendering ARC notifications using ChromeOS notification framework
BASE_FEATURE(kRenderArcNotificationsByChrome,
"RenderArcNotificationsByChrome",
base::FEATURE_DISABLED_BY_DEFAULT);
// Allows the OS to unpin apps that were pinned by PinnedLauncherApps policy
// but are no longer a part of it from shelf under specific conditions.
BASE_FEATURE(kRemoveStalePolicyPinnedAppsFromShelf,
"RemoveStalePolicyPinnedAppsFromShelf",
base::FEATURE_DISABLED_BY_DEFAULT);
// Reset audio I/O selection improvement pref, used for testing purpose.
BASE_FEATURE(kResetAudioSelectionImprovementPref,
"ResetAudioSelectionImprovementPref",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, will reset all shortcut customizations on startup.
BASE_FEATURE(kResetShortcutCustomizations,
"ResetShortcutCustomizations",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables ChromeOS scalable IPH.
BASE_FEATURE(kScalableIph, "ScalableIph", base::FEATURE_DISABLED_BY_DEFAULT);
// Enables debug feature of ChromeOS Scalable Iph.
BASE_FEATURE(kScalableIphDebug,
"ScalableIphDebug",
base::FEATURE_DISABLED_BY_DEFAULT);
// Set all ScalableIph client side config to tracking only config.
BASE_FEATURE(kScalableIphTrackingOnly,
"ScalableIphTrackingOnly",
base::FEATURE_DISABLED_BY_DEFAULT);
// Use client side config.
BASE_FEATURE(kScalableIphClientConfig,
"ScalableIphClientConfig",
base::FEATURE_DISABLED_BY_DEFAULT);
// Adds a shelf pod button that appears whenever the shelf has limited space and
// acts as an entrypoint to other shelf pod buttons to prevent overflow.
BASE_FEATURE(kScalableShelfPods,
"ScalableShelfPods",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the scanner dogfood update.
BASE_FEATURE(kScannerDogfood,
"ScannerDogfood",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the toast which allows users to provide feedback after a Scanner
// action is completed.
BASE_FEATURE(kScannerFeedbackToast,
"ScannerFeedbackToast",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the scanner update.
BASE_FEATURE(kScannerUpdate,
"ScannerUpdate",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables / Disables the scanner feature from the feature management module.
BASE_FEATURE(kFeatureManagementScanner,
"FeatureManagementScanner",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable support for multiple scheduler configurations.
BASE_FEATURE(kSchedulerConfiguration,
"SchedulerConfiguration",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables sea pen feature in the personalization app.
BASE_FEATURE(kFeatureManagementSeaPen,
"FeatureManagementSeaPen",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables sea pen text input feature in the personalization app.
BASE_FEATURE(kSeaPenTextInput,
"SeaPenTextInput",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables sea pen text input translation feature.
BASE_FEATURE(kSeaPenTextInputTranslation,
"SeaPenTextInputTranslation",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables sea pen feature for ChromeOS demo mode.
BASE_FEATURE(kSeaPenDemoMode,
"SeaPenDemoMode",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables sea pen prompt rewrite feature.
BASE_FEATURE(kSeaPenQueryRewrite,
"SeaPenQueryRewrite",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables sea pen feature with next templates.
BASE_FEATURE(kSeaPenUseExptTemplate,
"SeaPenUseExptTemplate",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables automated control of the refresh rate for the internal display.
BASE_FEATURE(kSeamlessRefreshRateSwitching,
"SeamlessRefreshRateSwitching",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables displaying separate network icons for different networks types.
// https://crbug.com/902409
BASE_FEATURE(kSeparateNetworkIcons,
"SeparateNetworkIcons",
base::FEATURE_DISABLED_BY_DEFAULT);
// With this feature enabled, the shortcut app badge is painted in the UI
// instead of being part of the shortcut app icon.
BASE_FEATURE(kSeparateWebAppShortcutBadgeIcon,
"SeparateWebAppShortcutBadgeIcon",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables long kill timeout for session manager daemon. When
// enabled, session manager daemon waits for a longer time (e.g. 12s) for chrome
// to exit before sending SIGABRT. Otherwise, it uses the default time out
// (currently 3s).
BASE_FEATURE(kSessionManagerLongKillTimeout,
"SessionManagerLongKillTimeout",
base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, the session manager daemon will abort the browser if its
// liveness checker detects a hang, i.e. the browser fails to acknowledge and
// respond sufficiently to periodic pings. IMPORTANT NOTE: the feature name
// here must match exactly the name of the feature in the open-source ChromeOS
// file session_manager_service.cc.
BASE_FEATURE(kSessionManagerLivenessCheck,
"SessionManagerLivenessCheck",
base::FEATURE_ENABLED_BY_DEFAULT);
// Removes notifier settings from quick settings view.
BASE_FEATURE(kSettingsAppNotificationSettings,
"SettingsAppNotificationSettings",
base::FEATURE_DISABLED_BY_DEFAULT);
// Whether theme changes should be animated for the Settings app.
BASE_FEATURE(kSettingsAppThemeChangeAnimation,
"SettingsAppThemeChangeAnimation",
base::FEATURE_DISABLED_BY_DEFAULT);
// Whether we should track auto-hide preferences separately between clamshell
// and tablet.
BASE_FEATURE(kShelfAutoHideSeparation,
"ShelfAutoHideSeparation",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables launcher nudge that animates the home button to guide users to open
// the launcher.
BASE_FEATURE(kShelfLauncherNudge,
"ShelfLauncherNudge",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables the OS update page in the Shimless RMA flow.
BASE_FEATURE(kShimlessRMAOsUpdate,
"ShimlessRMAOsUpdate",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables 3p diagnostics in the Shimless RMA flow.
BASE_FEATURE(kShimlessRMA3pDiagnostics,
"ShimlessRMA3pDiagnostics",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables 3p diagnostics dev mode in the Shimless RMA flow. This will skip some
// checks to allow developers to use dev-signed extensions for development
// purpose.
BASE_FEATURE(kShimlessRMA3pDiagnosticsDevMode,
"ShimlessRMA3pDiagnosticsDevMode",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether Shimless diagnostics IWAs can access user permission through
// requesting permission at install time.
BASE_FEATURE(kShimlessRMA3pDiagnosticsAllowPermissionPolicy,
"ShimlessRMA3pDiagnosticsAllowPermissionPolicy",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables the skip option of hardware validation on Shimless RMA
// landing page.
BASE_FEATURE(kShimlessRMAHardwareValidationSkip,
"ShimlessRMAHardwareValidationSkip",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables the option of grey out specific input fields on Shimless
// RMA device information page.
BASE_FEATURE(kShimlessRMADynamicDeviceInfoInputs,
"ShimlessRMADynamicDeviceInfoInputs",
base::FEATURE_ENABLED_BY_DEFAULT);
// If enabled, system shortcuts will utilize state machiens instead of
// keeping track of entire history of keys pressed.
BASE_FEATURE(kShortcutStateMachines,
"ShortcutStateMachines",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables a toggle to enable Bluetooth debug logs.
BASE_FEATURE(kShowBluetoothDebugLogToggle,
"ShowBluetoothDebugLogToggle",
base::FEATURE_ENABLED_BY_DEFAULT);
// Shows live caption in the video conference tray.
BASE_FEATURE(kShowLiveCaptionInVideoConferenceTray,
"ShowLiveCaptionInVideoConferenceTray",
base::FEATURE_ENABLED_BY_DEFAULT);
// Whether sharing user name should be shown in the continue section for drive
// files shown because they have been recently shared with the user.
BASE_FEATURE(kShowSharingUserInLauncherContinueSection,
"ShowSharingUserInLauncherContinueSection",
base::FEATURE_ENABLED_BY_DEFAULT);
// Shows the spatial audio toggle in audio settings page.
BASE_FEATURE(kShowSpatialAudioToggle,
"ShowSpatialAudioToggle",
base::FEATURE_ENABLED_BY_DEFAULT);
// Only collect metrics for the server certificate verification failure in
// EAP networks.
BASE_FEATURE(kSingleCaCertVerificationPhase0,
"SingleCaCertVerificationPhase0",
base::FEATURE_DISABLED_BY_DEFAULT);
// Try to use only a single CA cert for the EAP network if CA cert was selected,
// fallback to the previous config.
BASE_FEATURE(kSingleCaCertVerificationPhase1,
"SingleCaCertVerificationPhase1",
base::FEATURE_DISABLED_BY_DEFAULT);
// Use a single CA cert for the EAP network if CA cert was selected, no
// fallback.
BASE_FEATURE(kSingleCaCertVerificationPhase2,
"SingleCaCertVerificationPhase2",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls enabling/disabling the Sunfish feature.
BASE_FEATURE(kSunfishFeature,
"SunfishFeature",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable the suspend state machine to better handle suspend accelerators.
BASE_FEATURE(kSuspendStateMachine,
"SuspendStateMachine",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables custom Demo Mode behavior on feature-aware devices, as controlled by
// the feature management module.
BASE_FEATURE(kFeatureManagementFeatureAwareDeviceDemoMode,
"FeatureManagementFeatureAwareDeviceDemoMode",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the demo mode app orientation locked in landscape.
BASE_FEATURE(kDemoModeAppLandscapeLocked,
"DemoModeAppLandscapeLocked",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the ToS Notification in demo mode signed-in sessions.
BASE_FEATURE(kDemoSessionToSNotification,
"DemoSessionToSNotification",
base::FEATURE_ENABLED_BY_DEFAULT);
// The pref kSecondaryGoogleAccountSigninAllowed is set to false in Demo Mode.
BASE_FEATURE(kDemoModeSecondaryGoogleAccountSigninAllowedFalse,
"DemoModeSecondaryGoogleAccountSigninAllowedFalse",
base::FEATURE_ENABLED_BY_DEFAULT);
// Moves toasts to the bottom-side corner where the status area is instead of
// the center when enabled.
BASE_FEATURE(kSideAlignedToasts,
"SideAlignedToasts",
base::FEATURE_DISABLED_BY_DEFAULT);
// Uses experimental component version for smart dim.
BASE_FEATURE(kSmartDimExperimentalComponent,
"SmartDimExperimentalComponent",
base::FEATURE_DISABLED_BY_DEFAULT);
// Deprecates Sign in with Smart Lock feature. Hides Smart Lock at the sign in
// screen, removes the Smart Lock subpage in settings, and shows a one-time
// notification for users who previously had this feature enabled.
BASE_FEATURE(kSmartLockSignInRemoved,
"SmartLockSignInRemoved",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables using the system input engine for physical typing in
// Japanese.
BASE_FEATURE(kSystemJapanesePhysicalTyping,
"SystemJapanesePhysicalTyping",
base::FEATURE_ENABLED_BY_DEFAULT);
// Replaces uses of `SystemNudge` with the new `AnchoredNudge` component.
BASE_FEATURE(kSystemNudgeMigration,
"SystemNudgeMigration",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables Device End Of Lifetime incentive notifications.
BASE_FEATURE(kSystemShortcutBehavior,
"SystemShortcutBehavior",
base::FEATURE_DISABLED_BY_DEFAULT);
const base::FeatureParam<
SystemShortcutBehaviorParam>::Option system_shortcut_behavior_options[] = {
{SystemShortcutBehaviorParam::kIgnoreCommonVdiShortcutList,
"ignore_common_vdi_shortcuts"},
{SystemShortcutBehaviorParam::kIgnoreCommonVdiShortcutListFullscreenOnly,
"ignore_common_vdi_shortcut_fullscreen_only"},
{SystemShortcutBehaviorParam::kAllowSearchBasedPassthrough,
"allow_search_based_passthrough"},
{SystemShortcutBehaviorParam::kAllowSearchBasedPassthroughFullscreenOnly,
"allow_search_based_passthrough_fullscreen_only"}};
const base::FeatureParam<SystemShortcutBehaviorParam>
kSystemShortcutBehaviorParam{
&kSystemShortcutBehavior, "behavior_type",
SystemShortcutBehaviorParam::kNormalShortcutBehavior,
&system_shortcut_behavior_options};
// Enables or disables the shadows of system tray bubbles.
BASE_FEATURE(kSystemTrayShadow,
"SystemTrayShadow",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the ChromeOS system-proxy daemon, only for system services. This
// means that system services like tlsdate, update engine etc. can opt to be
// authenticated to a remote HTTP web proxy via system-proxy.
BASE_FEATURE(kSystemProxyForSystemServices,
"SystemProxyForSystemServices",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the UI to allow Chromebook hotspot functionality for experimental
// carriers, modem and modem FW.
BASE_FEATURE(kTetheringExperimentalFunctionality,
"TetheringExperimentalFunctionality",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables ChromeOS Telemetry Extension.
BASE_FEATURE(kTelemetryExtension,
"TelemetryExtension",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables Terminal System App to load from Downloads for developer testing.
// Only works in dev and canary channels.
BASE_FEATURE(kTerminalDev, "TerminalDev", base::FEATURE_DISABLED_BY_DEFAULT);
// Enables experimental feature for resizing tiling windows.
BASE_FEATURE(kTilingWindowResize,
"TilingWindowResize",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable or disable listening to prefs for virtual keyboard policy in login
// screen.
BASE_FEATURE(kTouchVirtualKeyboardPolicyListenPrefsAtLogin,
"TouchVirtualKeyboardPolicyListenPrefsAtLogin",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables the TrafficCountersHandler class to auto-reset traffic counters
// and shows Data Usage in the Celluar Settings UI.
BASE_FEATURE(kTrafficCountersEnabled,
"TrafficCountersEnabled",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables traffic counters for WiFi networks.
BASE_FEATURE(kTrafficCountersForWiFiTesting,
"TrafficCountersForWiFiTesting",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables trilinear filtering.
BASE_FEATURE(kTrilinearFiltering,
"TrilinearFiltering",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Device Trust connector client code on unmanaged devices
BASE_FEATURE(kUnmanagedDeviceDeviceTrustConnectorEnabled,
"UnmanagedDeviceDeviceTrustConnectorEnabled",
base::FEATURE_DISABLED_BY_DEFAULT);
// Use the Android staging SM-DS server when fetching pending eSIM profiles.
BASE_FEATURE(kUseAndroidStagingSmds,
"UseAndroidStagingSmds",
base::FEATURE_DISABLED_BY_DEFAULT);
// This feature toggles which dhcpcd version is used for IPv4 provisioning.
// If it is enabled, dhcpcd10 will be used, otherwise the legacy dhcpcd7 will be
// used. Note that IPv6 (DHCPv6-PD) always uses dhcpcd10.
BASE_FEATURE(kUseDHCPCD10, "UseDHCPCD10", base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, the new `TokenHandleStoreImpl` will be used instead of
// `TokenHandleUtil`.
BASE_FEATURE(kUseTokenHandleStore,
"UseTokenHandleStore",
base::FEATURE_DISABLED_BY_DEFAULT);
// Use the AnnotatedAccountId for mapping between User and BrowserContext
// (a.k.a. browser's Profile).
BASE_FEATURE(kUseAnnotatedAccountId,
"UseAnnotatedAccountId",
base::FEATURE_DISABLED_BY_DEFAULT);
// This features toggles which implementation is used for authentication UIs on
// ChromeOS settings or PasswordManager. When the feature is enabled,
// `AuthPanel` is used as an authentication UI.
BASE_FEATURE(kUseAuthPanelInSession,
"UseAuthPanelInSession",
base::FEATURE_ENABLED_BY_DEFAULT);
// This features toggles `AuthHub` is used as authentication backend by
// `AuthPanel` on ChromeOS.
BASE_FEATURE(kAuthPanelUsingAuthHub,
"AuthPanelUsingAuthHub",
base::FEATURE_DISABLED_BY_DEFAULT);
// This features controls whether or not passwordless setup is enabled, such as
// having a pin-only config.
BASE_FEATURE(kAllowPasswordlessSetup,
"AllowPasswordlessSetup",
base::FEATURE_ENABLED_BY_DEFAULT);
// This feature controls whether or not after ChromeOS recovery
// the user can reset PIN as their main factor. If disabled, they will set
// a password as their main factor.
BASE_FEATURE(kAllowPasswordlessRecovery,
"AllowPasswordlessRecovery",
base::FEATURE_ENABLED_BY_DEFAULT);
// This features controls whether or not we'll show the legacy WebAuthNDialog,
// that lives in ash/in_session_auth/auth_dialog_contents_view or
// the new dialog that's also shared with Settings and Password Manager,
// that lives in ash/auth/view/active_session_auth_view
BASE_FEATURE(kWebAuthNAuthDialogMerge,
"WebAuthNAuthDialogMerge",
base::FEATURE_ENABLED_BY_DEFAULT);
// Use the staging URL as part of the "Messages" feature under "Connected
// Devices" settings.
BASE_FEATURE(kUseMessagesStagingUrl,
"UseMessagesStagingUrl",
base::FEATURE_DISABLED_BY_DEFAULT);
// Use ML Service for non-Longform handwriting in CrOS 1P Virtual Keyboard on
// all boards. When this flag is OFF, such usage exists on certain boards only.
BASE_FEATURE(kUseMlServiceForNonLongformHandwritingOnAllBoards,
"UseMlServiceForNonLongformHandwritingOnAllBoards",
base::FEATURE_ENABLED_BY_DEFAULT);
BASE_FEATURE(kLiveCaptionUserMicrophone,
"LiveCaptionUserMicrophone",
base::FEATURE_DISABLED_BY_DEFAULT);
// Remap search+click to right click instead of the legacy alt+click on
// ChromeOS.
BASE_FEATURE(kUseSearchClickForRightClick,
"UseSearchClickForRightClick",
base::FEATURE_DISABLED_BY_DEFAULT);
// Use the Stork production SM-DS server when fetching pending eSIM profiles.
BASE_FEATURE(kUseStorkSmdsServerAddress,
"UseStorkSmdsServerAddress",
base::FEATURE_DISABLED_BY_DEFAULT);
// Use the staging server as part of the Wallpaper App to verify
// additions/removals of wallpapers.
BASE_FEATURE(kUseWallpaperStagingUrl,
"UseWallpaperStagingUrl",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables user activity prediction for power management on
// ChromeOS.
// Defined here rather than in //chrome alongside other related features so that
// PowerPolicyController can check it.
BASE_FEATURE(kUserActivityPrediction,
"UserActivityPrediction",
base::FEATURE_ENABLED_BY_DEFAULT);
// Restricts the video conference feature to the intended
// target population,
BASE_FEATURE(kFeatureManagementVideoConference,
"FeatureManagementVideoConference",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether the vc background replace is enabled.
BASE_FEATURE(kVcBackgroundReplace,
"VCBackgroundReplace",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether the birch model provides lost video conference tab
// suggestions.
BASE_FEATURE(kBirchVideoConferenceSuggestions,
"BirchVideoConferenceSuggestions",
base::FEATURE_DISABLED_BY_DEFAULT);
// Whether to resize thumbnail in VcBackgroundApp.
BASE_FEATURE(kVcResizeThumbnail,
"VcResizeThumbnail",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether the DLC downloading UI for video conferencing tiles is
// enabled.
BASE_FEATURE(kVcDlcUi, "VcDlcUi", base::FEATURE_ENABLED_BY_DEFAULT);
// This is only used as a way to disable portrait relighting.
BASE_FEATURE(kVcPortraitRelight,
"VcPortraitRelight",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables alternative inference backends for running ChromeOS video
// conferencing portrait relighing models.
BASE_FEATURE(kVcRelightingInferenceBackend,
"VcRelightingInferenceBackend",
base::FEATURE_DISABLED_BY_DEFAULT);
// This is only used as a way to disable stopAllScreenShare.
BASE_FEATURE(kVcStopAllScreenShare,
"VcStopAllScreenShare",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable or disable the fake effects for ChromeOS video conferencing controls
// UI. Only meaningful in the emulator.
BASE_FEATURE(kVcControlsUiFakeEffects,
"VcControlsUiFakeEffects",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables alternative inference backends for running ChromeOS video
// conferencing segmentation models.
BASE_FEATURE(kVcSegmentationInferenceBackend,
"VcSegmentationInferenceBackend",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables alternative segmentation models for ChromeOS video
// conferencing blur or relighting.
BASE_FEATURE(kVcSegmentationModel,
"VCSegmentationModel",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables alternative inference backends for running ChromeOS video
// conferencing face retouch models.
BASE_FEATURE(kVcRetouchInferenceBackend,
"VcRetouchInferenceBackend",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables Studio Look and VC settings for ChromeOS video
// conferencing.
BASE_FEATURE(kVcStudioLook, "VcStudioLook", base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables mic indicator inside VC tray title header
BASE_FEATURE(kVcTrayMicIndicator,
"VCTrayMicIndicator",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables sidetone toggle inside VC tray title header
BASE_FEATURE(kVcTrayTitleHeader,
"VCTrayTitleHeader",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables alternative light intensity for ChromeOS video
// conferencing relighting.
BASE_FEATURE(kVcLightIntensity,
"VCLightIntensity",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables web API support for ChromeOS video conferencing.
BASE_FEATURE(kVcWebApi, "VcWebApi", base::FEATURE_DISABLED_BY_DEFAULT);
// Enable or disable global preferences for skin tone and gender in the virtual
// keyboard emoji picker.
BASE_FEATURE(kVirtualKeyboardGlobalEmojiPreferences,
"VirtualKeyboardGlobalEmojiPreferences",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to allow enabling wake on WiFi features in shill.
BASE_FEATURE(kWakeOnWifiAllowed,
"WakeOnWifiAllowed",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable "daily" refresh wallpaper to refresh every ten seconds for testing.
BASE_FEATURE(kWallpaperFastRefresh,
"WallpaperFastRefresh",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable using google photos shared albums for wallpaper.
BASE_FEATURE(kWallpaperGooglePhotosSharedAlbums,
"WallpaperGooglePhotosSharedAlbums",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables a new Welcome Experience for first-time peripheral connections.
BASE_FEATURE(kWelcomeExperience,
"WelcomeExperience",
base::FEATURE_ENABLED_BY_DEFAULT);
// kWelcomeExperienceTestUnsupportedDevices enables the new device Welcome
// Experience to be tested on external devices that are not officially
// supported. When enabled, users will be able to initiate and complete
// the enhanced Welcome Experience flow using these unsupported external
// devices. This flag is intended for testing purposes and should be disabled
// disabled in production environments.
BASE_FEATURE(kWelcomeExperienceTestUnsupportedDevices,
"WelcomeExperienceTestUnsupportedDevices",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Welcome Tour that walks new users through ChromeOS System UI.
BASE_FEATURE(kWelcomeTour, "WelcomeTour", base::FEATURE_ENABLED_BY_DEFAULT);
// Whether ChromeVox is supported in the Welcome Tour that walks new users
// through ChromeOS System UI.
BASE_FEATURE(kWelcomeTourChromeVoxSupported,
"WelcomeTourChromeVoxSupported",
base::FEATURE_ENABLED_BY_DEFAULT);
// Whether the Welcome Tour is enabled counterfactually as part of an experiment
// arm. When this is enabled, the Welcome Tour V1 will be shown.
BASE_FEATURE(kWelcomeTourCounterfactualArm,
"WelcomeTourCounterfactualArm",
base::FEATURE_DISABLED_BY_DEFAULT);
// Forces user eligibility for the Welcome Tour that walks new users through
// ChromeOS System UI. Enabling this flag has no effect unless `kWelcomeTour` is
// also enabled.
BASE_FEATURE(kWelcomeTourForceUserEligibility,
"WelcomeTourForceUserEligibility",
base::FEATURE_DISABLED_BY_DEFAULT);
// Whether the Welcome Tour holdback is enabled as part of an experiment arm.
// When this is enabled, neither version of Welcome Tour version will be shown.
BASE_FEATURE(kWelcomeTourHoldbackArm,
"WelcomeTourHoldbackArm",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables the Welcome Tour V3 that has different strings and steps than V1.
// Enabling this flag has no effect unless `kWelcomeTour` is also enabled.
BASE_FEATURE(kWelcomeTourV3, "WelcomeTourV3", base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to enable MAC Address Randomization on WiFi connection.
BASE_FEATURE(kWifiConnectMacAddressRandomization,
"WifiConnectMacAddressRandomization",
base::FEATURE_DISABLED_BY_DEFAULT);
// Control whether the Wi-Fi concurrency Shill API is used when enable station
// Wi-Fi or tethering in Chrome Ash.
BASE_FEATURE(kWifiConcurrency,
"WifiConcurrency",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to enable the syncing of deletes of Wi-Fi configurations.
// This only controls sending delete events to the Chrome Sync server.
BASE_FEATURE(kWifiSyncAllowDeletes,
"WifiSyncAllowDeletes",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to enable syncing of Wi-Fi configurations between
// ChromeOS and a connected Android phone.
BASE_FEATURE(kWifiSyncAndroid,
"WifiSyncAndroid",
base::FEATURE_ENABLED_BY_DEFAULT);
// Controls whether to enable syncing of proxy configurations on
// Wi-Fi networks that are uploaded to Chrome Sync.
BASE_FEATURE(kWifiSyncUploadProxyConfigs,
"WifiSyncUploadProxyConfigs",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to enable syncing of proxy configurations on
// Wi-Fi networks that are received from Chrome Sync.
BASE_FEATURE(kWifiSyncApplyProxyConfigs,
"WifiSyncApplyProxyConfigs",
base::FEATURE_DISABLED_BY_DEFAULT);
// Controls whether to apply incoming Wi-Fi configuration delete events from
// the Chrome Sync server.
BASE_FEATURE(kWifiSyncApplyDeletes,
"WifiSyncApplyDeletes",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables an experimental feature that splits windows by dragging one window
// over another window.
BASE_FEATURE(kWindowSplitting,
"WindowSplitting",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables an experimental feature that lets users easily layout, resize and
// position their windows using only mouse and touch gestures.
BASE_FEATURE(kWmMode, "WmMode", base::FEATURE_DISABLED_BY_DEFAULT);
// Enables an experimental feature that overrides the specific holdback
// experiments on the M-129.
BASE_FEATURE(kIgnoreM129Holdback,
"IgnoreM129Holdback",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables PSM CheckMembership for 28 day device active pings
// on ChromeOS.
BASE_FEATURE(kDeviceActiveClient28DayActiveCheckMembership,
"DeviceActiveClient28DayActiveCheckMembership",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables PSM CheckMembership for the churn cohort device active
// pings on ChromeOS.
BASE_FEATURE(kDeviceActiveClientChurnCohortCheckMembership,
"DeviceActiveClientChurnCohortCheckMembership",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables PSM CheckMembership for the churn observation
// device active pings on ChromeOS.
BASE_FEATURE(kDeviceActiveClientChurnObservationCheckMembership,
"DeviceActiveClientChurnObservationCheckMembership",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enables or disables attaching first active week and last powerwash week to
// the churn observation check in ping.
BASE_FEATURE(kDeviceActiveClientChurnObservationNewDeviceMetadata,
"DeviceActiveClientChurnObservationNewDeviceMetadata",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables settings to be split per device.
BASE_FEATURE(kInputDeviceSettingsSplit,
"InputDeviceSettingsSplit",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables bug fix for dead keys where there's no input field.
// When enabled, keys are forwarded without dead key processing when there's no
// input field.
BASE_FEATURE(kInputMethodDeadKeyFixForNoInputField,
"InputMethodDeadKeyFixForNoInputField",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables bug fix for dead keys.
// When enabled, dead keys correctly emit the 'Dead' event on key down.
BASE_FEATURE(kInputMethodDeadKeyFix,
"InputMethodDeadKeyFix",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables bug fix for right alt keys for Korean input method.
// When enabled, Right Alt will immediately toggle between Korean and English on
// key down.
BASE_FEATURE(kInputMethodKoreanRightAltKeyDownFix,
"InputMethodKoreanRightAltKeyDownFix",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables peripheral customization to be split per device.
BASE_FEATURE(kPeripheralCustomization,
"PeripheralCustomization",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables or disables peripherals logging.
BASE_FEATURE(kEnablePeripheralsLogging,
"PeripheralsLogging",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable peripheral notification to notify users when a input device is
// connected to the user's chromebook for the first time.
BASE_FEATURE(kPeripheralNotification,
"PeripheralNotification",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enable fast ink for software cursor. Fast ink provides a low-latency
// cursor with possible tearing artifacts.
BASE_FEATURE(kEnableFastInkForSoftwareCursor,
"EnableFastInkForSoftwareCursor",
base::FEATURE_DISABLED_BY_DEFAULT);
// Enable the feature deferring vm_concierge startup until all the critical
// login tasks are finished.
BASE_FEATURE(kDeferConciergeStartup,
"DeferConciergeStartup",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kEnableDozeModePowerScheduler,
"EnableDozeModePowerScheduler",
base::FEATURE_ENABLED_BY_DEFAULT);
// Enables fwupd developer mode, disabling all firmware authentication checks.
BASE_FEATURE(kFwupdDeveloperMode,
"FwupdDeveloperMode",
base::FEATURE_DISABLED_BY_DEFAULT);
////////////////////////////////////////////////////////////////////////////////
bool AreDesksTemplatesEnabled() {
return base::FeatureList::IsEnabled(kDesksTemplates);
}
bool AreHelpAppWelcomeTipsEnabled() {
return base::FeatureList::IsEnabled(kHelpAppWelcomeTips) &&
base::FeatureList::IsEnabled(kScalableIph);
}
bool ArePromiseIconsEnabled() {
return base::FeatureList::IsEnabled(kPromiseIcons);
}
bool ArePromiseIconsForWebAppsEnabled() {
return base::FeatureList::IsEnabled(kPromiseIconsForWebApps) &&
ArePromiseIconsEnabled();
}
bool ForceOnDeviceAppControlsForAllRegions() {
return base::FeatureList::IsEnabled(kForceOnDeviceAppControlsForAllRegions);
}
bool IsAudioSelectionImprovementEnabled() {
return base::FeatureList::IsEnabled(kAudioSelectionImprovement);
}
bool Is16DesksEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagement16Desks);
}
bool IsAdaptiveChargingEnabled() {
return base::FeatureList::IsEnabled(kAdaptiveCharging);
}
bool IsOnDeviceAppControlsEnabled() {
return base::FeatureList::IsEnabled(kOnDeviceAppControls);
}
bool IsAllowAmbientEQEnabled() {
return base::FeatureList::IsEnabled(kAllowAmbientEQ);
}
bool IsAllowScrollSettingsEnabled() {
return IsInputDeviceSettingsSplitEnabled();
}
bool IsAltClickAndSixPackCustomizationEnabled() {
return IsInputDeviceSettingsSplitEnabled() &&
base::FeatureList::IsEnabled(kAltClickAndSixPackCustomization);
}
bool IsAmbientEQDefaultOff() {
return base::FeatureList::IsEnabled(kAmbientEQDefaultOff);
}
bool IsAmbientModeDevUseProdEnabled() {
return base::FeatureList::IsEnabled(kAmbientModeDevUseProdFeature);
}
bool IsAnnotatorModeEnabled() {
return base::FeatureList::IsEnabled(kAnnotatorMode);
}
bool IsAllowApnModificationPolicyEnabled() {
return base::FeatureList::IsEnabled(kAllowApnModificationPolicy);
}
bool IsApnRevampAndAllowApnModificationPolicyEnabled() {
return IsApnRevampEnabled() && IsAllowApnModificationPolicyEnabled();
}
bool IsApnRevampEnabled() {
return base::FeatureList::IsEnabled(kApnRevamp);
}
bool IsApnRevampAndPoliciesEnabled() {
return IsApnRevampEnabled() && chromeos::features::IsApnPoliciesEnabled();
}
bool IsAutoNightLightEnabled() {
return base::FeatureList::IsEnabled(kAutoNightLight);
}
bool IsBackgroundBlurEnabled() {
bool enabled_by_feature_flag =
base::FeatureList::IsEnabled(kEnableBackgroundBlur);
#if defined(ARCH_CPU_ARM_FAMILY)
// Enable background blur on Mali when GPU rasterization is enabled.
// See crbug.com/996858 for the condition.
return enabled_by_feature_flag &&
base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kAshEnableTabletMode);
#else
return enabled_by_feature_flag;
#endif
}
bool IsBabelOrcaAvailable() {
return base::FeatureList::IsEnabled(kBabelOrca);
}
bool IsBatteryChargeLimitAvailable() {
return base::FeatureList::IsEnabled(kBatteryChargeLimit);
}
bool IsBatterySaverAvailable() {
return base::FeatureList::IsEnabled(kBatterySaver);
}
bool IsBatterySaverAlwaysOn() {
return base::FeatureList::IsEnabled(kBatterySaverAlwaysOn);
}
bool IsBluetoothQualityReportEnabled() {
return base::FeatureList::IsEnabled(kBluetoothQualityReport);
}
bool IsBocaUberEnabled() {
return base::FeatureList::IsEnabled(kBocaUber);
}
bool IsBocaEnabled() {
return base::FeatureList::IsEnabled(kBoca);
}
bool IsBocaConsumerEnabled() {
return base::FeatureList::IsEnabled(kBocaConsumer);
}
bool IsBocaCustomPollingEnabled() {
return base::FeatureList::IsEnabled(kBocaCustomPolling);
}
bool IsBocaOnTaskLockedQuizMigrationEnabled() {
return base::FeatureList::IsEnabled(kBocaOnTaskLockedQuizMigration);
}
bool IsBocaOnTaskMuteArcAudioEnabled() {
return base::FeatureList::IsEnabled(kBocaOnTaskMuteArcAudio);
}
bool IsBocaOnTaskPodEnabled() {
return base::FeatureList::IsEnabled(kBocaOnTaskPod);
}
bool IsBocaOnTaskUnmuteBrowserTabsOnUnlockEnabled() {
return base::FeatureList::IsEnabled(kBocaOnTaskUnmuteBrowserTabsOnUnlock);
}
bool IsBocaLockedModeCustomCountdownDurationEnabled() {
return base::FeatureList::IsEnabled(kBocaLockedModeCustomCountdownDuration);
}
bool IsBocaStudentHeartbeatEnabled() {
return base::FeatureList::IsEnabled(kBocaStudentHeartbeat);
}
bool IsBocaStudentHeartbeatCustomIntervalEnabled() {
return base::FeatureList::IsEnabled(kBocaStudentHeartbeatCustomInterval);
}
bool IsBocaSpotlightEnabled() {
return base::FeatureList::IsEnabled(kBocaSpotlight);
}
bool IsBocaNetworkRestrictionEnabled() {
return base::FeatureList::IsEnabled(kBocaNetworkRestriction);
}
bool IsBocaClientTypeForSpeechRecognitionEnabled() {
return base::FeatureList::IsEnabled(kBocaClientTypeForSpeechRecognition);
}
bool IsBocaAdjustCaptionBubbleOnExpandEnabled() {
return base::FeatureList::IsEnabled(kBocaAdjustCaptionBubbleOnExpand);
}
bool IsBocaKeepSWAOpenOnSessionEndedEnabled() {
return base::FeatureList::IsEnabled(kBocaKeepSWAOpenOnSessionEnded);
}
bool IsBocaSequentialSessionLoadEnabled() {
return base::FeatureList::IsEnabled(kBocaSequentialSessionLoad);
}
bool IsBocaLockPauseUpdateEnabled() {
return base::FeatureList::IsEnabled(kBocaLockPauseUpdate);
}
bool IsBocaNavSettingsDialogEnabled() {
return base::FeatureList::IsEnabled(kBocaNavSettingsDialog);
}
bool IsBocaCaptionToggleEnabled() {
return base::FeatureList::IsEnabled(kBocaCaptionToggle);
}
bool IsBocaSpotlightRobotRequesterEnabled() {
return base::FeatureList::IsEnabled(kBocaSpotlightRobotRequester);
}
bool IsBocaSequentialInsertActivityEnabled() {
return base::FeatureList::IsEnabled(kBocaSequentialInsertActivity);
}
bool IsBocaTranslateToggleEnabled() {
return base::FeatureList::IsEnabled(kBocaTranslateToggle);
}
bool IsBrightnessControlInSettingsEnabled() {
return base::FeatureList::IsEnabled(kEnableBrightnessControlInSettings);
}
bool IsCaptureModeEducationEnabled() {
return base::FeatureList::IsEnabled(kCaptureModeEducation);
}
bool IsCaptureModeEducationBypassLimitsEnabled() {
return base::FeatureList::IsEnabled(kCaptureModeEducationBypassLimits);
}
bool IsCaptureModeOnDeviceOcrEnabled() {
return (IsScannerEnabled() || IsSunfishFeatureEnabled()) &&
base::FeatureList::IsEnabled(kCaptureModeOnDeviceOcr);
}
bool IsCheckPasswordsAgainstCryptohomeHelperEnabled() {
return base::FeatureList::IsEnabled(kCheckPasswordsAgainstCryptohomeHelper);
}
bool IsClipboardHistoryLongpressEnabled() {
return base::FeatureList::IsEnabled(kClipboardHistoryLongpress);
}
bool IsClipboardHistoryUrlTitlesEnabled() {
return base::FeatureList::IsEnabled(kClipboardHistoryUrlTitles);
}
bool IsContinuousOverviewScrollAnimationEnabled() {
return base::FeatureList::IsEnabled(kContinuousOverviewScrollAnimation);
}
bool IsCoralFeatureEnabled() {
return base::FeatureList::IsEnabled(kCoralFeature) &&
base::FeatureList::IsEnabled(kCoralFeatureAllowed);
}
bool IsCryptauthAttestationSyncingEnabled() {
return base::FeatureList::IsEnabled(kCryptauthAttestationSyncing);
}
bool IsCopyClientKeysCertsToChapsEnabled() {
return !IsNssDbClientCertsRollbackEnabled() &&
base::FeatureList::IsEnabled(kCopyClientKeysCertsToChaps);
}
bool IsCrosPrivacyHubLocationEnabled() {
return base::FeatureList::IsEnabled(kCrosPrivacyHub);
}
bool IsCrosSeparateGeoApiKeyEnabled() {
return base::FeatureList::IsEnabled(kCrosSeparateGeoApiKey);
}
bool IsCrosSafetyServiceEnabled() {
return base::FeatureList::IsEnabled(kCrosSafetyService) ||
switches::IsMantisSecretKeyMatched() || IsCoralFeatureEnabled();
}
bool IsCrossDeviceFeatureSuiteAllowed() {
if (switches::IsRevenBranding()) {
return false;
}
return base::FeatureList::IsEnabled(kAllowCrossDeviceFeatureSuite);
}
bool IsCrosSwitcherEnabled() {
return base::FeatureList::IsEnabled(kCrosSwitcher);
}
bool IsDemoModeAppResetWindowContainerEnable() {
return base::FeatureList::IsEnabled(kDemoModeAppResetWindowContainer);
}
bool IsDemoModeSignInEnabled() {
return base::FeatureList::IsEnabled(kDemoModeSignIn);
}
bool IsDemoModeWallpaperUpdateEnabled() {
return base::FeatureList::IsEnabled(kDemoModeWallpaperUpdate);
}
bool IsDemoModeSignInFileCleanupEnabled() {
return base::FeatureList::IsEnabled(kDemoModeSignInFileCleanup);
}
bool IsDeskTemplateSyncEnabled() {
return base::FeatureList::IsEnabled(kDeskTemplateSync);
}
bool IsDozeModePowerSchedulerEnabled() {
return base::FeatureList::IsEnabled(kEnableDozeModePowerScheduler);
}
bool IsDisplayPerformanceModeEnabled() {
return base::FeatureList::IsEnabled(kDisplayPerformanceMode);
}
bool IsInputDeviceSettingsSplitEnabled() {
return base::FeatureList::IsEnabled(kInputDeviceSettingsSplit);
}
bool IsPeripheralCustomizationEnabled() {
return base::FeatureList::IsEnabled(kPeripheralCustomization) &&
IsInputDeviceSettingsSplitEnabled();
}
bool IsPeripheralsLoggingEnabled() {
return base::FeatureList::IsEnabled(kEnablePeripheralsLogging);
}
bool IsDisplayAlignmentAssistanceEnabled() {
return base::FeatureList::IsEnabled(kDisplayAlignAssist);
}
bool IsDoNotDisturbShortcutEnabled() {
return base::FeatureList::IsEnabled(kDoNotDisturbShortcut);
}
bool IsDriveFsMirroringEnabled() {
return base::FeatureList::IsEnabled(kDriveFsMirroring);
}
int GetDriveFsBulkPinningQueueSize() {
return base::GetFieldTrialParamByFeatureAsInt(kDriveFsBulkPinningExperiment,
"queue_size", 5);
}
bool IsEapGtcWifiAuthenticationEnabled() {
return base::FeatureList::IsEnabled(kEapGtcWifiAuthentication);
}
bool IsDemoModeAppLandscapeLockedEnabled() {
return base::FeatureList::IsEnabled(kDemoModeAppLandscapeLocked);
}
bool IsDemoSessionToSNotificationEnabled() {
return base::FeatureList::IsEnabled(kDemoSessionToSNotification);
}
bool IsDemoModeSecondaryGoogleAccountSigninAllowedFalse() {
return base::FeatureList::IsEnabled(
kDemoModeSecondaryGoogleAccountSigninAllowedFalse);
}
bool IsEcheSWAEnabled() {
return base::FeatureList::IsEnabled(kEcheSWA);
}
bool IsEcheSWADebugModeEnabled() {
return base::FeatureList::IsEnabled(kEcheSWADebugMode);
}
bool IsEcheSWAMeasureLatencyEnabled() {
return base::FeatureList::IsEnabled(kEcheSWAMeasureLatency);
}
bool IsEOLIncentiveEnabled() {
return base::FeatureList::IsEnabled(kEolIncentive);
}
bool IsESimEmptyActivationCodeSupportEnabled() {
return base::FeatureList::IsEnabled(kESimEmptyActivationCodeSupported);
}
bool IsExperimentalRgbKeyboardPatternsEnabled() {
return base::FeatureList::IsEnabled(kExperimentalRgbKeyboardPatterns);
}
bool IsExtendedUpdatesOptInFeatureEnabled() {
return base::FeatureList::IsEnabled(kExtendedUpdatesOptInFeature);
}
bool IsExternalKeyboardInDiagnosticsAppEnabled() {
return base::FeatureList::IsEnabled(kEnableExternalKeyboardsInDiagnostics);
}
bool IsFamilyLinkOnSchoolDeviceEnabled() {
return base::FeatureList::IsEnabled(kFamilyLinkOnSchoolDevice);
}
bool IsFastInkForSoftwareCursorEnabled() {
return base::FeatureList::IsEnabled(kEnableFastInkForSoftwareCursor);
}
bool IsFastPairEnabled() {
return base::FeatureList::IsEnabled(kFastPair);
}
bool IsFastPairAdvertisingFormat2025Enabled() {
return base::FeatureList::IsEnabled(kFastPairAdvertisingFormat2025);
}
bool IsFastPairBleRotationEnabled() {
return base::FeatureList::IsEnabled(kFastPairBleRotation);
}
bool IsFastPairDebugMetadataEnabled() {
return base::FeatureList::IsEnabled(kFastPairDebugMetadata);
}
bool IsFastPairHandshakeLongTermRefactorEnabled() {
return base::FeatureList::IsEnabled(kFastPairHandshakeLongTermRefactor);
}
bool IsFastPairKeyboardsEnabled() {
return base::FeatureList::IsEnabled(kFastPairKeyboards);
}
bool IsFastPairSavedDevicesNicknamesEnabled() {
return base::FeatureList::IsEnabled(kFastPairSavedDevicesNicknames);
}
bool IsFastPairPwaCompanionEnabled() {
return base::FeatureList::IsEnabled(kFastPairPwaCompanion);
}
bool IsFastPairSavedDevicesEnabled() {
return base::FeatureList::IsEnabled(kFastPairSavedDevices);
}
bool IsFastPairSavedDevicesStrictOptInEnabled() {
return base::FeatureList::IsEnabled(kFastPairSavedDevicesStrictOptIn);
}
bool IsFederatedStringsServiceEnabled() {
return base::FeatureList::IsEnabled(kFederatedService) &&
base::FeatureList::IsEnabled(kFederatedStringsService);
}
bool IsFederatedStringsServiceScheduleTasksEnabled() {
return IsFederatedStringsServiceEnabled() &&
base::FeatureList::IsEnabled(kFederatedStringsServiceScheduleTasks);
}
bool IsFileManagerFuseBoxDebugEnabled() {
return base::FeatureList::IsEnabled(kFuseBoxDebug);
}
bool IsFilesConflictDialogEnabled() {
return base::FeatureList::IsEnabled(kFilesConflictDialog);
}
bool IsFilesLocalImageSearchEnabled() {
return base::FeatureList::IsEnabled(kFilesLocalImageSearch);
}
bool IsFingerprintAuthFactorEnabled() {
return base::FeatureList::IsEnabled(kFingerprintAuthFactor);
}
bool IsFirmwareUpdateUIV2Enabled() {
return base::FeatureList::IsEnabled(kFirmwareUpdateUIV2);
}
bool IsFjordOobeEnabled() {
return base::FeatureList::IsEnabled(kFjordOobe);
}
bool IsFjordOobeForceEnabled() {
return base::FeatureList::IsEnabled(kFjordOobeForceEnabled);
}
bool IsFlexAutoEnrollmentEnabled() {
return switches::IsRevenBranding() &&
base::FeatureList::IsEnabled(kFlexAutoEnrollment);
}
bool IsFlexFirmwareUpdateEnabled() {
return switches::IsRevenBranding() &&
base::FeatureList::IsEnabled(kFlexFirmwareUpdate);
}
bool ShouldIgnoreDeviceFlexArcEnabledPolicy() {
return base::FeatureList::IsEnabled(kIgnoreDeviceFlexArcEnabledPolicy);
}
bool IsFloatingSsoAllowed() {
return base::FeatureList::IsEnabled(kFloatingSso);
}
bool IsFloatingWorkspaceEnabled() {
return base::FeatureList::IsEnabled(kFloatingWorkspace);
}
bool IsFloatingWorkspaceV2Enabled() {
return base::FeatureList::IsEnabled(kFloatingWorkspaceV2);
}
bool ShouldForceEnableServerSideSpeechRecognition() {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
return base::FeatureList::IsEnabled(kForceEnableServerSideSpeechRecognition);
#else
return false;
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING);
}
bool IsForestFeatureEnabled() {
return base::FeatureList::IsEnabled(kForestFeature);
}
bool IsFullscreenAfterUnlockAllowed() {
return base::FeatureList::IsEnabled(kFullscreenAfterUnlockAllowed);
}
bool IsFullscreenAlertBubbleEnabled() {
return base::FeatureList::IsEnabled(kFullscreenAlertBubble);
}
bool IsBlockFwupdClientEnabled() {
return base::FeatureList::IsEnabled(kBlockFwupdClient);
}
bool IsGaiaRecordAccountCreationEnabled() {
return base::FeatureList::IsEnabled(kGaiaRecordAccountCreation);
}
bool IsGraduationEnabled() {
return base::FeatureList::IsEnabled(kGraduation);
}
bool IsGraduationUseEmbeddedTransferEndpointEnabled() {
return base::FeatureList::IsEnabled(kGraduationUseEmbeddedTransferEndpoint);
}
bool IsFeatureManagementGrowthFrameworkEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagementGrowthFramework);
}
bool IsGrowthFrameworkEnabled() {
return base::FeatureList::IsEnabled(kGrowthFramework);
}
bool IsGrowthCampaignsNudgeParentToAppWindow() {
return base::FeatureList::IsEnabled(kGrowthCampaignsNudgeParentToAppWindow);
}
bool IsGrowthCampaignsCrOSEventsEnabled() {
return base::FeatureList::IsEnabled(kGrowthCampaignsCrOSEvents);
}
bool IsGrowthCampaignsDemoModeSignInEnabled() {
return base::FeatureList::IsEnabled(kGrowthCampaignsDemoModeSignIn);
}
bool IsGrowthCampaignsExperimentTagTargetingEnabled() {
return base::FeatureList::IsEnabled(kGrowthCampaignsExperimentTagTargeting);
}
bool IsGrowthCampaignsInConsumerSessionEnabled() {
return IsGrowthFrameworkEnabled() &&
base::FeatureList::IsEnabled(kGrowthCampaignsInConsumerSession);
}
bool IsGrowthCampaignsInDemoModeEnabled() {
return IsGrowthFrameworkEnabled() &&
base::FeatureList::IsEnabled(kGrowthCampaignsInDemoMode);
}
bool IsGrowthCampaignsShowNudgeInsideWindowBoundsEnabled() {
return base::FeatureList::IsEnabled(
kGrowthCampaignsShowNudgeInsideWindowBounds);
}
bool IsGrowthCampaignsTriggerAtLoadComplete() {
return base::FeatureList::IsEnabled(kGrowthCampaignsTriggerAtLoadComplete);
}
bool IsGrowthCampaignsTriggerByAppOpenEnabled() {
return base::FeatureList::IsEnabled(kGrowthCampaignsTriggerByAppOpen);
}
bool IsGrowthCampaignsTriggerByBrowserEnabled() {
return base::FeatureList::IsEnabled(kGrowthCampaignsTriggerByBrowser);
}
bool IsGrowthCampaignsTriggerByEventEnabled() {
return base::FeatureList::IsEnabled(kGrowthCampaignsTriggerByEvent);
}
bool IsGrowthCampaignsTriggerByRecordEventEnabled() {
return base::FeatureList::IsEnabled(kGrowthCampaignsTriggerByRecordEvent);
}
bool IsGrowthCampaignsObserveTriggeringWidgetChangeEnabled() {
return base::FeatureList::IsEnabled(
kGrowthCampaignsObserveTriggeringWidgetChange);
}
bool IsGrowthInternalsEnabled() {
return base::FeatureList::IsEnabled(kGrowthInternals);
}
bool IsGlanceablesTimeManagementClassroomStudentViewEnabled() {
return base::FeatureList::IsEnabled(
kGlanceablesTimeManagementClassroomStudentView);
}
bool IsGlanceablesTimeManagementTasksViewEnabled() {
const bool device_enrolled_in_holdback =
!base::FeatureList::IsEnabled(
kFeatureManagementShouldExcludeFromSysUiHoldback) &&
base::FeatureList::IsEnabled(kSysUiShouldHoldbackTaskManagement);
if (device_enrolled_in_holdback) {
return false;
}
return base::FeatureList::IsEnabled(kGlanceablesTimeManagementTasksView);
}
bool IsGlanceablesTimeManagementTasksViewAssignedTasksEnabled() {
return base::FeatureList::IsEnabled(
kGlanceablesTimeManagementTasksViewAssignedTasks);
}
bool AreAnyGlanceablesTimeManagementViewsEnabled() {
return IsGlanceablesTimeManagementClassroomStudentViewEnabled() ||
IsGlanceablesTimeManagementTasksViewEnabled();
}
bool AreHealthdInternalsTabsEnabled() {
return base::FeatureList::IsEnabled(kHealthdInternalsTabs);
}
bool IsHeliumArcvmKioskEnabled() {
return base::FeatureList::IsEnabled(kHeliumArcvmKiosk);
}
bool IsHibernateEnabled() {
return base::FeatureList::IsEnabled(kHibernate);
}
bool IsHideShelfControlsInTabletModeEnabled() {
return base::FeatureList::IsEnabled(kHideShelfControlsInTabletMode);
}
bool IsHoldingSpaceSuggestionsEnabled() {
// If the holdback feature flag is enabled, the feature should be disabled,
// but only if the device is eligible for the study. Exclusion happens
// via hardware overlay, so it needs to be checked separately from the finch
// controlled holdback feature flag.
const bool device_excluded_from_holdback_study = base::FeatureList::IsEnabled(
kFeatureManagementShouldExcludeFromSysUiHoldback);
if (IsSysUiShouldHoldbackDriveIntegrationEnabled() &&
!device_excluded_from_holdback_study) {
return false;
}
return base::FeatureList::IsEnabled(kHoldingSpaceSuggestions);
}
bool IsHomeButtonQuickAppAccessEnabled() {
return base::FeatureList::IsEnabled(kHomeButtonQuickAppAccess) ||
base::FeatureList::IsEnabled(kQuickAppAccessTestUI);
}
bool IsHomeButtonWithTextEnabled() {
return base::FeatureList::IsEnabled(kHomeButtonWithText);
}
bool IsHostnameSettingEnabled() {
return base::FeatureList::IsEnabled(kEnableHostnameSetting);
}
bool IsInstantHotspotRebrandEnabled() {
return base::FeatureList::IsEnabled(kInstantHotspotRebrand);
}
bool IsSnoopingProtectionEnabled() {
return base::FeatureList::IsEnabled(kSnoopingProtection) &&
switches::HasHps();
}
bool IsInternalServerSideSpeechRecognitionEnabled() {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
// TODO(b/245614967): Once ready, enable this feature under
// kProjectorBleedingEdgeExperience flag as well.
return IsInternalServerSideSpeechRecognitionControlEnabled() &&
(ShouldForceEnableServerSideSpeechRecognition() ||
base::FeatureList::IsEnabled(kInternalServerSideSpeechRecognition));
#else
return false;
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
}
bool IsInternalServerSideSpeechRecognitionControlEnabled() {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
return base::FeatureList::IsEnabled(
kInternalServerSideSpeechRecognitionControl);
#else
return false;
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
}
bool IsInternalServerSideSpeechRecognitionEnabledByFinch() {
#if BUILDFLAG(GOOGLE_CHROME_BRANDING)
return base::FeatureList::IsEnabled(
kInternalServerSideSpeechRecognitionByFinch) ||
base::FeatureList::IsEnabled(
kInternalServerSideSpeechRecognitionUSMModelFinch);
#else
return false;
#endif // BUILDFLAG(GOOGLE_CHROME_BRANDING)
}
bool IsIppClientInfoEnabled() {
return base::FeatureList::IsEnabled(kIppClientInfo);
}
bool IsIsolatedWebAppKioskEnabled() {
return base::FeatureList::IsEnabled(kIsolatedWebAppKiosk);
}
bool IsKerberosRememberPasswordByDefaultEnabled() {
return base::FeatureList::IsEnabled(kKerberosRememberPasswordByDefault);
}
bool IsKeyboardBacklightControlInSettingsEnabled() {
return base::FeatureList::IsEnabled(
kEnableKeyboardBacklightControlInSettings);
}
bool IsKeyboardRewriterFixEnabled() {
return base::FeatureList::IsEnabled(kEnableKeyboardRewriterFix);
}
bool IsLanguagePacksInOobeEnabled() {
return base::FeatureList::IsEnabled(kLanguagePacksInOobe);
}
bool IsLauncherContinueSectionWithRecentsEnabled() {
// If the holdback feature flag is enabled, the feature should be disabled,
// but only if the device is eligible for the study. Exclusion happens
// via hardware overlay, so it needs to be checked separately from the finch
// controlled holdback feature flag.
const bool device_excluded_from_holdback_study = base::FeatureList::IsEnabled(
kFeatureManagementShouldExcludeFromSysUiHoldback);
if (IsSysUiShouldHoldbackDriveIntegrationEnabled() &&
!device_excluded_from_holdback_study) {
return false;
}
return base::FeatureList::IsEnabled(kLauncherContinueSectionWithRecents) ||
base::FeatureList::IsEnabled(
kLauncherContinueSectionWithRecentsRollout);
}
bool IsLauncherNudgeShortIntervalEnabled() {
return base::FeatureList::IsEnabled(kLauncherNudgeShortInterval);
}
bool IsLauncherNudgeSessionResetEnabled() {
return base::FeatureList::IsEnabled(kLauncherNudgeSessionReset);
}
bool IsLauncherSearchControlEnabled() {
return base::FeatureList::IsEnabled(kLauncherSearchControl);
}
bool IsLinkCrossDeviceDogfoodFeedbackEnabled() {
return base::FeatureList::IsEnabled(kLinkCrossDeviceDogfoodFeedback);
}
bool IsLinkCrossDeviceInternalsEnabled() {
return base::FeatureList::IsEnabled(kLinkCrossDeviceInternals);
}
bool IsLobsterEnabled() {
return base::FeatureList::IsEnabled(kLobsterDogfood) ||
(base::FeatureList::IsEnabled(kLobster) &&
base::FeatureList::IsEnabled(kFeatureManagementLobster));
}
bool IsLobsterDisabledByInvalidIME() {
return base::FeatureList::IsEnabled(kLobsterDisabledByInvalidIME);
}
bool IsLobsterUseRewrittenQuery() {
return base::FeatureList::IsEnabled(kLobsterUseRewrittenQuery);
}
bool IsLobsterI18nEnabled() {
return base::FeatureList::IsEnabled(kLobsterI18n);
}
bool IsLobsterAlwaysShowDisclaimerForTesting() {
return base::FeatureList::IsEnabled(kLobsterAlwaysShowDisclaimerForTesting);
}
bool IsLobsterEnabledForManagedUsers() {
return base::FeatureList::IsEnabled(kLobsterForManagedUsers);
}
bool IsLockScreenHideSensitiveNotificationsSupported() {
return base::FeatureList::IsEnabled(
kLockScreenHideSensitiveNotificationsSupport);
}
bool IsGameDashboardGamepadSupportEnabled() {
return base::FeatureList::IsEnabled(kGameDashboardGamepadSupport);
}
bool IsGameDashboardGamePWAsEnabled() {
return base::FeatureList::IsEnabled(kGameDashboardGamePWAs);
}
bool IsGameDashboardGamesInTestEnabled() {
return base::FeatureList::IsEnabled(kGameDashboardGamesInTest);
}
bool AreGameDashboardUtilitiesEnabled() {
return base::FeatureList::IsEnabled(kGameDashboardUtilities);
}
bool IsAppLaunchShortcutEnabled() {
return base::FeatureList::IsEnabled(kAppLaunchShortcut);
}
bool IsLockScreenNotificationsEnabled() {
return base::FeatureList::IsEnabled(kLockScreenNotifications);
}
bool IsProductivityLauncherImageSearchEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagementLocalImageSearch);
}
bool IsMacAddressRandomizationEnabled() {
return base::FeatureList::IsEnabled(kMacAddressRandomization);
}
bool IsMinimumChromeVersionEnabled() {
return base::FeatureList::IsEnabled(kMinimumChromeVersion);
}
bool IsMultiCalendarSupportEnabled() {
return base::FeatureList::IsEnabled(kMultiCalendarSupport);
}
bool IsMultiZoneRgbKeyboardEnabled() {
return base::FeatureList::IsEnabled(kMultiZoneRgbKeyboard);
}
bool IsEcheLauncherEnabled() {
return base::FeatureList::IsEnabled(kEcheLauncher) &&
base::FeatureList::IsEnabled(kEcheSWA);
}
bool IsEcheLauncherIconsInMoreAppsButtonEnabled() {
return base::FeatureList::IsEnabled(kEcheLauncherIconsInMoreAppsButton);
}
bool IsEcheLauncherListViewEnabled() {
return IsEcheLauncherEnabled() &&
base::FeatureList::IsEnabled(kEcheLauncherListView);
}
bool IsEcheNetworkConnectionStateEnabled() {
return base::FeatureList::IsEnabled(kEcheNetworkConnectionState) &&
base::FeatureList::IsEnabled(kEcheSWA);
}
bool IsEcheShorterScanningDutyCycleEnabled() {
return base::FeatureList::IsEnabled(kEcheShorterScanningDutyCycle);
}
bool AreEphemeralNetworkPoliciesEnabled() {
return base::FeatureList::IsEnabled(kEphemeralNetworkPolicies);
}
bool IsNearbyPresenceEnabled() {
return base::FeatureList::IsEnabled(kNearbyPresence);
}
bool IsNotificationLimitEnabled() {
return base::FeatureList::IsEnabled(kNotificationLimit);
}
bool IsOAuthIppEnabled() {
return base::FeatureList::IsEnabled(kEnableOAuthIpp);
}
bool IsNotificationCenterControllerEnabled() {
return base::FeatureList::IsEnabled(kNotificationCenterController) ||
// Ongoing processes must launch together with the new
// `NotificationCenterController`.
base::FeatureList::IsEnabled(kOngoingProcesses);
}
bool IsNotificationExpansionAnimationEnabled() {
return base::FeatureList::IsEnabled(kNotificationExpansionAnimation);
}
bool IsNotificationScrollBarEnabled() {
return base::FeatureList::IsEnabled(kNotificationScrollBar);
}
bool IsNotificationsInContextMenuEnabled() {
return base::FeatureList::IsEnabled(kNotificationsInContextMenu);
}
bool IsNssDbClientCertsRollbackEnabled() {
return base::FeatureList::IsEnabled(kEnableNssDbClientCertsRollback);
}
bool IsOfflineItemsInNotificationsEnabled() {
return base::FeatureList::IsEnabled(kOfflineItemsInNotifications);
}
bool AreOngoingProcessesEnabled() {
return base::FeatureList::IsEnabled(kOngoingProcesses);
}
bool IsOobeJellyEnabled() {
return base::FeatureList::IsEnabled(kOobeJelly);
}
bool IsModifierSplitEnabled() {
return IsInputDeviceSettingsSplitEnabled() &&
base::FeatureList::IsEnabled(kModifierSplit);
}
bool IsMouseImposterCheckEnabled() {
return base::FeatureList::IsEnabled(kMouseImposterCheck) &&
IsInputDeviceSettingsSplitEnabled();
}
bool IsSplitKeyboardRefactorEnabled() {
return base::FeatureList::IsEnabled(kSplitKeyboardRefactor) &&
IsModifierSplitEnabled();
}
bool IsOobeAiIntroEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagementOobeAiIntro);
}
bool IsOobeJellyModalEnabled() {
return IsOobeJellyEnabled() && base::FeatureList::IsEnabled(kOobeJellyModal);
}
bool IsBootAnimationEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagementOobeSimon);
}
bool IsOobeAddUserDuringEnrollmentEnabled() {
return base::FeatureList::IsEnabled(kOobeAddUserDuringEnrollment);
}
bool IsOobeSkipAssistantEnabled() {
return base::FeatureList::IsEnabled(kOobeSkipAssistant);
}
bool IsOobeChoobeEnabled() {
return base::FeatureList::IsEnabled(kOobeChoobe);
}
bool IsOobeCrosEventsEnabled() {
return base::FeatureList::IsEnabled(kOobeCrosEvents);
}
bool IsOobePersonalizedOnboardingEnabled() {
return base::FeatureList::IsEnabled(kOobePersonalizedOnboarding);
}
bool IsOobePreConsentMetricsEnabled() {
return base::FeatureList::IsEnabled(kOobePreConsentMetrics);
}
bool IsOobeSoftwareUpdateEnabled() {
return base::FeatureList::IsEnabled(kOobeSoftwareUpdate);
}
bool IsOobeLazyLoadingEnabled() {
return base::FeatureList::IsEnabled(kOobeLazyLoading);
}
bool IsOobePerksDiscoveryEnabled() {
return base::FeatureList::IsEnabled(kOobePerksDiscovery);
}
bool IsOobeQuickStartOnLoginScreenEnabled() {
return IsCrossDeviceFeatureSuiteAllowed() &&
base::FeatureList::IsEnabled(kOobeQuickStartOnLoginScreen);
}
bool IsOobeTouchpadScrollEnabled() {
return IsOobeChoobeEnabled() &&
base::FeatureList::IsEnabled(kOobeTouchpadScroll);
}
bool IsOobeDisplaySizeEnabled() {
return IsOobeChoobeEnabled() &&
base::FeatureList::IsEnabled(kOobeDisplaySize);
}
bool IsOobeInputMethodsEnabled() {
return IsOobeChoobeEnabled() &&
base::FeatureList::IsEnabled(kOobeInputMethods);
}
bool IsOobeSplitModifierKeyboardInfoEnabled() {
return base::FeatureList::IsEnabled(kOobeSplitModifierKeyboardInfo);
}
bool IsOsSyncConsentRevampEnabled() {
return base::FeatureList::IsEnabled(kOsSyncConsentRevamp);
}
bool IsParentAccessJellyEnabled() {
return base::FeatureList::IsEnabled(kParentAccessJelly);
}
bool IsPcieBillboardNotificationEnabled() {
return base::FeatureList::IsEnabled(kPcieBillboardNotification);
}
bool IsPerDeskShelfEnabled() {
return base::FeatureList::IsEnabled(kPerDeskShelf);
}
bool IsPeripheralNotificationEnabled() {
return base::FeatureList::IsEnabled(kPeripheralNotification) &&
IsPeripheralCustomizationEnabled();
}
bool IsPhoneHubCameraRollEnabled() {
return base::FeatureList::IsEnabled(kPhoneHubCameraRoll);
}
bool IsPhoneHubMonochromeNotificationIconsEnabled() {
return base::FeatureList::IsEnabled(kPhoneHubMonochromeNotificationIcons);
}
bool IsPhoneHubPingOnBubbleOpenEnabled() {
return base::FeatureList::IsEnabled(kPhoneHubPingOnBubbleOpen);
}
bool IsPhoneHubEnabled() {
return base::FeatureList::IsEnabled(kPhoneHub);
}
bool IsPhoneHubCallNotificationEnabled() {
return base::FeatureList::IsEnabled(kPhoneHubCallNotification);
}
bool IsPhoneHubShortQuickActionPodsTitlesEnabled() {
return base::FeatureList::IsEnabled(kPhoneHubShortQuickActionPodsTitles);
}
bool IsPinAutosubmitBackfillFeatureEnabled() {
return base::FeatureList::IsEnabled(kQuickUnlockPinAutosubmitBackfill);
}
bool IsPrinterPreviewCrosAppEnabled() {
return base::FeatureList::IsEnabled(kPrintPreviewCrosApp);
}
bool IsProjectorManagedUserEnabled() {
return base::FeatureList::IsEnabled(kProjectorManagedUser);
}
bool IsProjectorAppDebugMode() {
return base::FeatureList::IsEnabled(kProjectorAppDebug);
}
bool IsProjectorCustomThumbnailEnabled() {
return base::FeatureList::IsEnabled(kProjectorCustomThumbnail);
}
bool IsProjectorManagedUserIgnorePolicyEnabled() {
return base::FeatureList::IsEnabled(kProjectorManagedUserIgnorePolicy);
}
bool IsProjectorShowShortPseudoTranscript() {
return base::FeatureList::IsEnabled(kProjectorShowShortPseudoTranscript);
}
bool IsProjectorUpdateIndexableTextEnabled() {
return base::FeatureList::IsEnabled(kProjectorUpdateIndexableText);
}
bool IsProjectorServerSideRecognitionFallbackImplEnabled() {
return base::FeatureList::IsEnabled(
kProjectorServerSideRecognitionFallbackImpl);
}
bool IsProjectorMutingEnabled() {
return base::FeatureList::IsEnabled(kProjectorMuting);
}
bool IsProjectorRedirectToPwaEnabled() {
return base::FeatureList::IsEnabled(kProjectorRedirectToPwa);
}
bool IsProjectorV2Enabled() {
return base::FeatureList::IsEnabled(kProjectorV2);
}
bool IsProjectorUseUSMForS3Enabled() {
return base::FeatureList::IsEnabled(kProjectorUseUSMForS3);
}
bool IsProjectorDynamicColorsEnabled() {
// For Projector, Gm3 requires dynamic colors.
return base::FeatureList::IsEnabled(kProjectorDynamicColors) ||
base::FeatureList::IsEnabled(kProjectorGm3);
}
bool IsProjectorGm3Enabled() {
return base::FeatureList::IsEnabled(kProjectorGm3);
}
bool IsProjectorUseDVSPlaybackEndpointEnabled() {
return base::FeatureList::IsEnabled(kProjectorUseDVSPlaybackEndpoint);
}
bool IsQuickDimEnabled() {
return base::FeatureList::IsEnabled(kQuickDim) && switches::HasHps();
}
bool IsRenderArcNotificationsByChromeEnabled() {
return base::FeatureList::IsEnabled(kRenderArcNotificationsByChrome);
}
bool IsRemoveStalePolicyPinnedAppsFromShelfEnabled() {
return base::FeatureList::IsEnabled(kRemoveStalePolicyPinnedAppsFromShelf);
}
bool IsResetAudioSelectionImprovementPrefEnabled() {
return base::FeatureList::IsEnabled(kResetAudioSelectionImprovementPref);
}
bool IsResetShortcutCustomizationsEnabled() {
return base::FeatureList::IsEnabled(kResetShortcutCustomizations);
}
bool IsSameAppWindowCycleEnabled() {
return base::FeatureList::IsEnabled(kSameAppWindowCycle);
}
bool IsScalableIphEnabled() {
return base::FeatureList::IsEnabled(kScalableIph);
}
bool IsScalableIphDebugEnabled() {
return base::FeatureList::IsEnabled(kScalableIphDebug);
}
bool IsScalableIphTrackingOnlyEnabled() {
return base::FeatureList::IsEnabled(kScalableIphTrackingOnly);
}
bool IsScalableIphClientConfigEnabled() {
return base::FeatureList::IsEnabled(kScalableIphClientConfig);
}
bool IsScalableShelfPodsEnabled() {
return base::FeatureList::IsEnabled(kScalableShelfPods);
}
bool IsScannerEnabled() {
return base::FeatureList::IsEnabled(kScannerUpdate) ||
base::FeatureList::IsEnabled(kScannerDogfood);
}
bool IsScannerFeedbackToastEnabled() {
return base::FeatureList::IsEnabled(kScannerFeedbackToast);
}
bool IsSeaPenDemoModeEnabled() {
return IsSeaPenEnabled() && base::FeatureList::IsEnabled(kSeaPenDemoMode);
}
bool IsSeaPenQueryRewriteEnabled() {
return IsSeaPenTextInputEnabled() &&
base::FeatureList::IsEnabled(kSeaPenQueryRewrite);
}
bool IsSeaPenEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagementSeaPen);
}
bool IsSeaPenTextInputEnabled() {
return IsSeaPenEnabled() && base::FeatureList::IsEnabled(kSeaPenTextInput);
}
bool IsSeaPenTextInputTranslationEnabled() {
return IsSeaPenTextInputEnabled() &&
base::FeatureList::IsEnabled(kSeaPenTextInputTranslation);
}
bool IsSeaPenUseExptTemplateEnabled() {
return IsSeaPenEnabled() &&
base::FeatureList::IsEnabled(kSeaPenUseExptTemplate);
}
bool IsSeparateNetworkIconsEnabled() {
return base::FeatureList::IsEnabled(kSeparateNetworkIcons);
}
bool IsSeparateWebAppShortcutBadgeIconEnabled() {
return base::FeatureList::IsEnabled(kSeparateWebAppShortcutBadgeIcon);
}
bool IsSettingsAppNotificationSettingsEnabled() {
return base::FeatureList::IsEnabled(kSettingsAppNotificationSettings);
}
bool IsSettingsAppThemeChangeAnimationEnabled() {
return base::FeatureList::IsEnabled(kSettingsAppThemeChangeAnimation);
}
bool IsShelfLauncherNudgeEnabled() {
return base::FeatureList::IsEnabled(kShelfLauncherNudge);
}
bool IsShimlessRMAOsUpdateEnabled() {
return base::FeatureList::IsEnabled(kShimlessRMAOsUpdate);
}
bool IsShimlessRMA3pDiagnosticsEnabled() {
return base::FeatureList::IsEnabled(kShimlessRMA3pDiagnostics);
}
bool IsShimlessRMA3pDiagnosticsDevModeEnabled() {
return base::FeatureList::IsEnabled(kShimlessRMA3pDiagnosticsDevMode);
}
bool IsShimlessRMA3pDiagnosticsAllowPermissionPolicyEnabled() {
return base::FeatureList::IsEnabled(
kShimlessRMA3pDiagnosticsAllowPermissionPolicy);
}
bool IsShimlessRMAHardwareValidationSkipEnabled() {
return base::FeatureList::IsEnabled(kShimlessRMAHardwareValidationSkip);
}
bool IsShimlessRMADynamicDeviceInfoInputsEnabled() {
return base::FeatureList::IsEnabled(kShimlessRMADynamicDeviceInfoInputs);
}
bool IsShowSharingUserInLauncherContinueSectionEnabled() {
return IsLauncherContinueSectionWithRecentsEnabled() &&
base::FeatureList::IsEnabled(
kShowSharingUserInLauncherContinueSection);
}
bool IsSunfishFeatureEnabled() {
return base::FeatureList::IsEnabled(kSunfishFeature);
}
bool IsSuspendStateMachineEnabled() {
return base::FeatureList::IsEnabled(kSuspendStateMachine);
}
bool IsSystemNudgeMigrationEnabled() {
return base::FeatureList::IsEnabled(kSystemNudgeMigration);
}
bool IsSystemTrayShadowEnabled() {
return base::FeatureList::IsEnabled(kSystemTrayShadow);
}
bool IsSysUiShouldHoldbackDriveIntegrationEnabled() {
return base::FeatureList::IsEnabled(kSysUiShouldHoldbackDriveIntegration) &&
!base::FeatureList::IsEnabled(kIgnoreM129Holdback);
}
bool IsTetheringExperimentalFunctionalityEnabled() {
return base::FeatureList::IsEnabled(kTetheringExperimentalFunctionality);
}
bool IsTilingWindowResizeEnabled() {
return base::FeatureList::IsEnabled(kTilingWindowResize);
}
bool IsTimeOfDayScreenSaverEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagementTimeOfDayScreenSaver) &&
IsTimeOfDayWallpaperEnabled();
}
bool IsTimeOfDayWallpaperEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagementTimeOfDayWallpaper);
}
bool IsToggleCameraShortcutEnabled() {
return base::FeatureList::IsEnabled(kEnableToggleCameraShortcut);
}
bool IsTouchscreenMappingExperienceEnabled() {
return base::FeatureList::IsEnabled(kEnableTouchscreenMappingExperience);
}
bool IsTouchpadInDiagnosticsAppEnabled() {
return base::FeatureList::IsEnabled(kEnableTouchpadsInDiagnosticsApp);
}
bool IsTouchscreenInDiagnosticsAppEnabled() {
return base::FeatureList::IsEnabled(kEnableTouchscreensInDiagnosticsApp);
}
bool IsTouchscreenCalibrationEnabled() {
return base::FeatureList::IsEnabled(kEnableTouchscreenCalibration);
}
bool IsTrafficCountersEnabled() {
return base::FeatureList::IsEnabled(kTrafficCountersEnabled);
}
bool IsTrafficCountersForWiFiTestingEnabled() {
return IsTrafficCountersEnabled() &&
base::FeatureList::IsEnabled(kTrafficCountersForWiFiTesting);
}
bool IsTrilinearFilteringEnabled() {
static bool use_trilinear_filtering =
base::FeatureList::IsEnabled(kTrilinearFiltering);
return use_trilinear_filtering;
}
bool IsUnmanagedDeviceDeviceTrustConnectorFeatureEnabled() {
return base::FeatureList::IsEnabled(
kUnmanagedDeviceDeviceTrustConnectorEnabled);
}
bool ShouldUseAndroidStagingSmds() {
return base::FeatureList::IsEnabled(kUseAndroidStagingSmds);
}
bool ShouldUseStorkSmds() {
return base::FeatureList::IsEnabled(kUseStorkSmdsServerAddress);
}
bool IsUserEducationEnabled() {
return IsWelcomeTourEnabled();
}
bool IsLiveCaptionUserMicrophoneEnabled() {
return base::FeatureList::IsEnabled(kLiveCaptionUserMicrophone);
}
bool IsVideoConferenceEnabled() {
return base::FeatureList::IsEnabled(kFeatureManagementVideoConference);
}
bool IsBirchVideoConferenceSuggestionsEnabled() {
return base::FeatureList::IsEnabled(kBirchVideoConferenceSuggestions);
}
bool IsStopAllScreenShareEnabled() {
return base::FeatureList::IsEnabled(kVcStopAllScreenShare) &&
IsVideoConferenceEnabled();
}
bool IsVcBackgroundReplaceEnabled() {
return base::FeatureList::IsEnabled(kVcBackgroundReplace) &&
IsVideoConferenceEnabled();
}
bool IsVcResizeThumbnailEnabled() {
return base::FeatureList::IsEnabled(kVcResizeThumbnail);
}
bool IsVcDlcUiEnabled() {
return base::FeatureList::IsEnabled(kVcDlcUi) && IsVideoConferenceEnabled();
}
bool IsVcPortraitRelightEnabled() {
return base::FeatureList::IsEnabled(kVcPortraitRelight) &&
IsVideoConferenceEnabled();
}
bool IsVcControlsUiFakeEffectsEnabled() {
return base::FeatureList::IsEnabled(kVcControlsUiFakeEffects);
}
bool IsVcStudioLookEnabled() {
return base::FeatureList::IsEnabled(kVcStudioLook);
}
bool IsVcTrayMicIndicatorEnabled() {
return base::FeatureList::IsEnabled(kVcTrayMicIndicator);
}
bool IsVcTrayTitleHeaderEnabled() {
return base::FeatureList::IsEnabled(kVcTrayTitleHeader);
}
bool IsVcWebApiEnabled() {
return base::FeatureList::IsEnabled(kVcWebApi) && IsVideoConferenceEnabled();
}
bool IsWallpaperFastRefreshEnabled() {
return base::FeatureList::IsEnabled(kWallpaperFastRefresh);
}
bool IsWallpaperGooglePhotosSharedAlbumsEnabled() {
return base::FeatureList::IsEnabled(kWallpaperGooglePhotosSharedAlbums);
}
bool IsWelcomeExperienceEnabled() {
return IsPeripheralCustomizationEnabled() &&
base::FeatureList::IsEnabled(kWelcomeExperience);
}
bool IsWelcomeExperienceTestUnsupportedDevicesEnabled() {
return IsWelcomeExperienceEnabled() &&
base::FeatureList::IsEnabled(kWelcomeExperienceTestUnsupportedDevices);
}
bool IsWelcomeTourChromeVoxSupported() {
return IsWelcomeTourEnabled() &&
base::FeatureList::IsEnabled(kWelcomeTourChromeVoxSupported);
}
bool IsWelcomeTourCounterfactuallyEnabled() {
return IsWelcomeTourEnabled() &&
base::FeatureList::IsEnabled(kWelcomeTourCounterfactualArm);
}
bool IsWelcomeTourEnabled() {
return base::FeatureList::IsEnabled(kWelcomeTour);
}
bool IsWelcomeTourForceUserEligibilityEnabled() {
return IsWelcomeTourEnabled() &&
base::FeatureList::IsEnabled(kWelcomeTourForceUserEligibility);
}
bool IsWelcomeTourHoldbackEnabled() {
return IsWelcomeTourEnabled() &&
base::FeatureList::IsEnabled(kWelcomeTourHoldbackArm);
}
bool IsWelcomeTourV3Enabled() {
return IsWelcomeTourEnabled() && base::FeatureList::IsEnabled(kWelcomeTourV3);
}
bool IsWifiConcurrencyEnabled() {
return base::FeatureList::IsEnabled(kWifiConcurrency);
}
bool IsWifiSyncAndroidEnabled() {
return base::FeatureList::IsEnabled(kWifiSyncAndroid);
}
bool IsWindowSplittingEnabled() {
return base::FeatureList::IsEnabled(kWindowSplitting);
}
bool IsWmModeEnabled() {
return base::FeatureList::IsEnabled(kWmMode);
}
bool IsFeatureAwareDeviceDemoModeEnabled() {
return base::FeatureList::IsEnabled(
kFeatureManagementFeatureAwareDeviceDemoMode);
}
bool ShouldUseKcerClientCertStore() {
return base::FeatureList::IsEnabled(kUseKcerClientCertStore);
}
bool IsUseAuthPanelInSessionEnabled() {
return base::FeatureList::IsEnabled(kUseAuthPanelInSession);
}
bool IsAuthPanelUsingAuthHub() {
return base::FeatureList::IsEnabled(kAuthPanelUsingAuthHub);
}
bool IsAllowPasswordlessSetupEnabled() {
return base::FeatureList::IsEnabled(kAllowPasswordlessSetup);
}
bool IsAllowPasswordlessRecoveryEnabled() {
return base::FeatureList::IsEnabled(kAllowPasswordlessRecovery);
}
bool IsLocalAuthenticationWithPinEnabled() {
return base::FeatureList::IsEnabled(kLocalAuthenticationWithPin);
}
bool IsWebAuthNAuthDialogMergeEnabled() {
return base::FeatureList::IsEnabled(kWebAuthNAuthDialogMerge);
}
bool ShouldEnterOverviewFromWallpaper() {
return base::FeatureList::IsEnabled(kEnterOverviewFromWallpaper);
}
bool UseMixedFileLauncherContinueSection() {
return (base::FeatureList::IsEnabled(kLauncherContinueSectionWithRecents) &&
base::GetFieldTrialParamByFeatureAsBool(
features::kLauncherContinueSectionWithRecents,
"mix_local_and_drive", false)) ||
(base::FeatureList::IsEnabled(
kLauncherContinueSectionWithRecentsRollout) &&
base::GetFieldTrialParamByFeatureAsBool(
features::kLauncherContinueSectionWithRecentsRollout,
"mix_local_and_drive", false));
}
bool IsUseTokenHandleStoreEnabled() {
return base::FeatureList::IsEnabled(kUseTokenHandleStore);
}
bool IsFwupdDeveloperModeEnabled() {
return base::FeatureList::IsEnabled(kFwupdDeveloperMode);
}
} // namespace ash::features
|