#include "components/password_manager/core/common/password_manager_util.h"
#include "base/containers/contains.h"
#include "base/ranges/algorithm.h"
#include "components/autofill/core/common/autofill_regexes.h"
#include "components/autofill/core/common/form_data.h"
#include "components/autofill/core/common/form_field_data.h"
#include "components/password_manager/core/common/password_manager_constants.h"
namespace password_manager::util {
const size_t kMinInputNameLengthForSingleUsername = …;
bool IsRendererRecognizedCredentialForm(const autofill::FormData& form) { … }
bool CanFieldBeConsideredAsSingleUsername(const std::u16string& name,
const std::u16string& id,
const std::u16string& label) { … }
bool CanValueBeConsideredAsSingleUsername(const std::u16string& value) { … }
bool IsLikelyOtp(std::u16string_view name,
std::u16string_view id,
std::string_view autocomplete) { … }
}