#include "chrome/browser/webauthn/local_credential_management.h"
#include <string_view>
#include "base/i18n/string_compare.h"
#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "components/prefs/pref_service.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
CredentialComparator::CredentialComparator() { … }
CredentialComparator::~CredentialComparator() = default;
bool CredentialComparator::operator()(
const device::DiscoverableCredentialMetadata& a,
const device::DiscoverableCredentialMetadata& b) { … }
std::u16string CredentialComparator::ETLDPlus1(const std::string& rp_id) { … }
std::u16string CredentialComparator::LabelReverse(const std::string& rp_id) { … }