#include "components/autofill/core/browser/form_data_importer_utils.h"
#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/geo/autofill_country.h"
#include "components/autofill/core/browser/profile_requirement_utils.h"
#include "components/autofill/core/common/autofill_features.h"
#include "components/autofill/core/common/autofill_internals/log_message.h"
namespace autofill {
namespace {
bool IsOriginPartOfDeletionInfo(const std::optional<url::Origin>& origin,
const history::DeletionInfo& deletion_info) { … }
}
MultiStepImportMerger::MultiStepImportMerger(
const std::string& app_locale,
const GeoIpCountryCode& variation_country_code)
: … { … }
MultiStepImportMerger::~MultiStepImportMerger() = default;
void MultiStepImportMerger::ProcessMultiStepImport(
AutofillProfile& profile,
ProfileImportMetadata& import_metadata) { … }
void MultiStepImportMerger::AddMultiStepImportCandidate(
const AutofillProfile& profile,
const ProfileImportMetadata& import_metadata,
bool is_imported) { … }
bool MultiStepImportMerger::MergeProfileWithMultiStepCandidates(
AutofillProfile& profile,
ProfileImportMetadata& import_metadata) { … }
void MultiStepImportMerger::MergeImportMetadata(
const ProfileImportMetadata& source,
ProfileImportMetadata& target) const { … }
void MultiStepImportMerger::OnBrowsingHistoryCleared(
const history::DeletionInfo& deletion_info) { … }
void MultiStepImportMerger::OnAddressDataChanged(
AddressDataManager& address_data_manager) { … }
FormAssociator::FormAssociator() = default;
FormAssociator::~FormAssociator() = default;
void FormAssociator::TrackFormAssociations(const url::Origin& origin,
FormSignature form_signature,
FormType form_type) { … }
std::optional<FormStructure::FormAssociations>
FormAssociator::GetFormAssociations(FormSignature form_signature) const { … }
const std::optional<url::Origin>& FormAssociator::origin() const { … }
void FormAssociator::Clear() { … }
void FormAssociator::OnBrowsingHistoryCleared(
const history::DeletionInfo& deletion_info) { … }
}