#include "components/autofill/core/browser/webdata/addresses/contact_info_sync_util.h"
#include "base/hash/hash.h"
#include "base/memory/raw_ref.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
#include "base/uuid.h"
#include "components/autofill/core/browser/country_type.h"
#include "components/autofill/core/browser/field_types.h"
#include "components/autofill/core/browser/geo/country_names.h"
#include "components/autofill/core/browser/profile_token_quality.h"
#include "components/autofill/core/common/autofill_features.h"
namespace autofill {
namespace {
ContactInfoSpecifics;
ContactInfoSpecifics::VerificationStatus
ConvertProfileToSpecificsVerificationStatus(VerificationStatus status) { … }
VerificationStatus ConvertSpecificsToProfileVerificationStatus(
ContactInfoSpecifics::VerificationStatus status) { … }
class EntryTokenDeleter { … };
uint32_t GetProfileValueHash(const AutofillProfile& profile, FieldType type) { … }
}
class ContactInfoEntryDataSetter { … };
class ContactInfoProfileSetter { … };
sync_pb::ContactInfoSpecifics ContactInfoSpecificsFromAutofillProfile(
const AutofillProfile& profile,
const sync_pb::ContactInfoSpecifics& base_contact_info_specifics) { … }
std::unique_ptr<syncer::EntityData>
CreateContactInfoEntityDataFromAutofillProfile(
const AutofillProfile& profile,
const sync_pb::ContactInfoSpecifics& base_contact_info_specifics) { … }
std::optional<AutofillProfile> CreateAutofillProfileFromContactInfoSpecifics(
const ContactInfoSpecifics& specifics) { … }
bool AreContactInfoSpecificsValid(
const sync_pb::ContactInfoSpecifics& specifics) { … }
sync_pb::ContactInfoSpecifics TrimContactInfoSpecificsDataForCaching(
const sync_pb::ContactInfoSpecifics& contact_info_specifics) { … }
}