#include "components/autofill/core/browser/profile_requirement_utils.h"
#include <string_view>
#include <vector>
#include "base/containers/contains.h"
#include "base/strings/utf_string_conversions.h"
#include "components/autofill/core/browser/address_data_manager.h"
#include "components/autofill/core/browser/field_types.h"
#include "components/autofill/core/browser/geo/autofill_country.h"
#include "components/autofill/core/common/autofill_internals/log_message.h"
namespace autofill {
namespace {
AddressImportRequirement;
constexpr AddressImportRequirement kMinimumAddressRequirementViolations[] = …;
}
std::vector<autofill_metrics::AddressProfileImportRequirementMetric>
ValidateProfileImportRequirements(const AutofillProfile& profile,
LogBuffer* import_log_buffer) { … }
bool ValidateNonEmptyValues(const AutofillProfile& profile,
LogBuffer* log_buffer) { … }
bool IsMinimumAddress(const AutofillProfile& profile, LogBuffer* log_buffer) { … }
bool IsEligibleForMigrationToAccount(
const AddressDataManager& address_data_manager,
const AutofillProfile& profile) { … }
}