// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_WEBAUTHN_LOCAL_CREDENTIAL_MANAGEMENT_H_ #define CHROME_BROWSER_WEBAUTHN_LOCAL_CREDENTIAL_MANAGEMENT_H_ #include <vector> #include "base/functional/callback.h" #include "chrome/browser/profiles/profile_observer.h" #include "device/fido/discoverable_credential_metadata.h" #include "third_party/icu/source/i18n/unicode/coll.h" class Profile; // CredentialComparator compares two credentials based on their RP ID's eTLD + // 1, then on the label-reversed RP ID, then on user.name, and finally on // credential ID if the previous values are equal. class CredentialComparator { … }; // LocalCredentialManagement provides functions for managing local WebAuthn // credentials, i.e. those kept in a platform authenticator like Windows Hello // or Chrome's TouchId authenticator. This is in contrast to the classes in // //device/fido/credential_management.h that aid in managing credentials on // security keys. class LocalCredentialManagement { … }; #endif // CHROME_BROWSER_WEBAUTHN_LOCAL_CREDENTIAL_MANAGEMENT_H_