chromium/components/password_manager/core/common/password_manager_util.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 {

// The minimum length of the input name that allows considering it as potential
// single username field.
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) {}

}  // namespace password_manager::util