[webauthn] Policy to enable with broken TLS cert

Add an enterprise policy "AllowWebAuthnWithBrokenCerts" to allow
WebAuthn on sites with broken TLS certificates, even after the
DisableWebAuthnWithBrokenCerts feature is turned on.

See go/turning-down-webauthn-bad-certs

Bug: 1371244
Change-Id: I0f03937828c0517434e3918830c82a908ad718c5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4015061
Reviewed-by: Dominic Battré <[email protected]>
Reviewed-by: Owen Min <[email protected]>
Commit-Queue: Nina Satragno <[email protected]>
Reviewed-by: Ken Buchanan <[email protected]>
Auto-Submit: Nina Satragno <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1069965}
diff --git a/chrome/browser/BUILD.gn b/chrome/browser/BUILD.gn
index 03a8059..79c0fa1 100644
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -1869,6 +1869,8 @@
     "webapps/web_app_offline.h",
     "webauthn/webauthn_metrics_util.cc",
     "webauthn/webauthn_metrics_util.h",
+    "webauthn/webauthn_pref_names.cc",
+    "webauthn/webauthn_pref_names.h",
     "webid/federated_identity_account_keyed_permission_context.cc",
     "webid/federated_identity_account_keyed_permission_context.h",
     "webid/federated_identity_active_session_permission_context.cc",
@@ -4435,8 +4437,6 @@
       "webauthn/local_credential_management.h",
       "webauthn/observable_authenticator_list.cc",
       "webauthn/observable_authenticator_list.h",
-      "webauthn/webauthn_pref_names.cc",
-      "webauthn/webauthn_pref_names.h",
       "webauthn/webauthn_switches.cc",
       "webauthn/webauthn_switches.h",
     ]