chromium/components/autofill/core/browser/profile_requirement_utils.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/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;

// Stores the collection of AddressImportRequirement that are violated. These
// violation prevents the import of a profile.
constexpr AddressImportRequirement kMinimumAddressRequirementViolations[] =;

}  // anonymous namespace

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) {}

}  // namespace autofill