Add a chrome://flags flag for WebAuthn ChromeOS Authenticator
The ChromeOS Authenticator for WebAuthn is hidden behind a feature
flag "base::Feature kWebAuthCrosPlatformAuthenticator". This change
exposes the flag in chrome://flags so that developers can test it
without entering dev mode.
when the flag is "default", and shows up if the flag is "enabled"
Bug: b:156258540, b:144861739
Test: Tested on Nami device, ChromeOS Authenticator doen't show up
Change-Id: I1fc5e8d24fc25004aaba413968295fb1843070a0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354676
Commit-Queue: Yicheng Li <[email protected]>
Reviewed-by: Martin Kreichgauer <[email protected]>
Cr-Commit-Position: refs/heads/master@{#797922}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index ac06474..c7740b2 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4250,6 +4250,14 @@
flag_descriptions::kEnableWebAuthenticationCableV2SupportDescription,
kOsDesktop | kOsAndroid, FEATURE_VALUE_TYPE(device::kWebAuthPhoneSupport)},
+#if defined(OS_CHROMEOS)
+ {"enable-web-authentication-chromeos-authenticator",
+ flag_descriptions::kEnableWebAuthenticationChromeOSAuthenticatorName,
+ flag_descriptions::
+ kEnableWebAuthenticationChromeOSAuthenticatorDescription,
+ kOsCrOS, FEATURE_VALUE_TYPE(device::kWebAuthCrosPlatformAuthenticator)},
+#endif
+
{"use-preferred-interval-for-video",
flag_descriptions::kUsePreferredIntervalForVideoName,
flag_descriptions::kUsePreferredIntervalForVideoDescription, kOsDesktop,