features.cc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "device/fido/features.h"
  5. #include <vector>
  6. #include "base/feature_list.h"
  7. #include "base/strings/string_split.h"
  8. #include "build/build_config.h"
  9. #include "build/chromeos_buildflags.h"
  10. #include "url/origin.h"
  11. namespace device {
  12. #if BUILDFLAG(IS_WIN)
  13. const base::Feature kWebAuthUseNativeWinApi{"WebAuthenticationUseNativeWinApi",
  14. base::FEATURE_ENABLED_BY_DEFAULT};
  15. #endif // BUILDFLAG(IS_WIN)
  16. extern const base::Feature kWebAuthCableExtensionAnywhere{
  17. "WebAuthenticationCableExtensionAnywhere",
  18. base::FEATURE_DISABLED_BY_DEFAULT};
  19. #if BUILDFLAG(IS_CHROMEOS)
  20. const base::Feature kWebAuthCrosPlatformAuthenticator{
  21. "WebAuthenticationCrosPlatformAuthenticator",
  22. base::FEATURE_ENABLED_BY_DEFAULT};
  23. #endif // BUILDFLAG(IS_CHROMEOS)
  24. extern const base::Feature kU2fPermissionPrompt{
  25. "U2fPermissionPrompt", base::FEATURE_ENABLED_BY_DEFAULT};
  26. extern const base::Feature kWebAuthnGoogleCorpRemoteDesktopClientPrivilege{
  27. "WebAuthenticationGoogleCorpRemoteDesktopClientPrivilege",
  28. base::FEATURE_ENABLED_BY_DEFAULT};
  29. extern const base::Feature kWebAuthPasskeysUI{
  30. "WebAuthenticationPasskeysUI", base::FEATURE_DISABLED_BY_DEFAULT};
  31. extern const base::Feature kWebAuthnNewDiscoverableCredentialsUi{
  32. "WebAuthenticationNewDiscoverableCredentialsUi",
  33. base::FEATURE_DISABLED_BY_DEFAULT};
  34. } // namespace device