Commit 7ed70812 authored by Jun Choi's avatar Jun Choi Committed by Commit Bot

Add chrome://enable-web-authentication-ctap2-support

This patch addes UI flag that enables by default support of CTAP2
security keys.

Bug: 780078
Change-Id: Ib182644ddf98ebc80e7ffe9fb4bc66c76c44a98b
Reviewed-on: https://chromium-review.googlesource.com/1101900
Commit-Queue: Jun Choi <hongjunchoi@chromium.org>
Reviewed-by: default avatarKim Paulhamus <kpaulhamus@chromium.org>
Reviewed-by: default avatarBalazs Engedy <engedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#567792}
parent 4fee1097
......@@ -3608,6 +3608,13 @@ const FeatureEntry kFeatureEntries[] = {
kOsDesktop, SINGLE_VALUE_TYPE(switches::kEnableWebAuthTestingAPI)},
#endif // !defined(OS_ANDROID)
#if !defined(OS_ANDROID)
{"enable-web-authentication-ctap2-support",
flag_descriptions::kEnableWebAuthenticationCtap2SupportName,
flag_descriptions::kEnableWebAuthenticationCtap2SupportDescription,
kOsDesktop, FEATURE_VALUE_TYPE(device::kNewCtap2Device)},
#endif // !defined(OS_ANDROID)
#if defined(OS_ANDROID)
{"enable-sole-integration", flag_descriptions::kSoleIntegrationName,
flag_descriptions::kSoleIntegrationDescription, kOsAndroid,
......
......@@ -2544,6 +2544,11 @@ const char kEnableWebAuthenticationAPIName[] = "Web Authentication API";
const char kEnableWebAuthenticationAPIDescription[] =
"Enable Web Authentication API support";
const char kEnableWebAuthenticationCtap2SupportName[] =
"Enable Web Authentication API support for CTAP2 security keys";
const char kEnableWebAuthenticationCtap2SupportDescription[] =
"Enable CTAP2 security keys for the Web Authenication API.";
const char kEnableWebAuthenticationTestingAPIName[] =
"Web Authentication Testing API";
const char kEnableWebAuthenticationTestingAPIDescription[] =
......
......@@ -1551,6 +1551,9 @@ extern const char kEnableWebAuthenticationAPIDescription[];
extern const char kEnableWebAuthenticationTestingAPIName[];
extern const char kEnableWebAuthenticationTestingAPIDescription[];
extern const char kEnableWebAuthenticationCtap2SupportName[];
extern const char kEnableWebAuthenticationCtap2SupportDescription[];
#if defined(GOOGLE_CHROME_BUILD)
extern const char kGoogleBrandedContextMenuName[];
......
......@@ -27187,6 +27187,7 @@ from previous Chrome versions.
<int value="-1377186702" label="DesktopIOSPromotion:disabled"/>
<int value="-1376510363" label="ServiceWorkerScriptFullCodeCache:disabled"/>
<int value="-1375111024" label="enable-fixed-position-compositing"/>
<int value="-1373942769" label="WebAuthenticationCtap2:disabled"/>
<int value="-1373705581" label="ManualSaving:enabled"/>
<int value="-1365503870" label="enable-simplified-fullscreen-ui"/>
<int value="-1363709707" label="MaterialDesignHistory:disabled"/>
......@@ -27371,6 +27372,7 @@ from previous Chrome versions.
<int value="-972425050" label="gesture-editing"/>
<int value="-969332901" label="stop-non-timers-in-background:disabled"/>
<int value="-968010468" label="SharedArrayBuffer:disabled"/>
<int value="-966290456" label="WebAuthenticationCtap2:enabled"/>
<int value="-965842218" label="MultiDeviceApi:disabled"/>
<int value="-964676765" label="enable-accelerated-mjpeg-decode"/>
<int value="-951394314" label="top-chrome-md"/>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment