#include "components/autofill/core/browser/form_autofill_history.h"
#include "components/autofill/core/browser/autofill_field.h"
#include "components/autofill/core/browser/field_types.h"
#include "components/autofill/core/browser/filling_product.h"
#include "components/autofill/core/common/autofill_constants.h"
#include "components/autofill/core/common/form_field_data.h"
#include "components/autofill/core/common/unique_ids.h"
namespace autofill {
FormAutofillHistory::FieldFillingEntry::FieldFillingEntry(
std::u16string field_value,
bool field_is_autofilled,
std::optional<std::string> field_autofill_source_profile_guid,
std::optional<FieldType> field_autofilled_type,
FillingProduct field_filling_product)
: … { … }
FormAutofillHistory::FieldFillingEntry::~FieldFillingEntry() = default;
FormAutofillHistory::FieldFillingEntry::FieldFillingEntry(
const FieldFillingEntry&) = default;
FormAutofillHistory::FieldFillingEntry::FieldFillingEntry(FieldFillingEntry&&) =
default;
const FormAutofillHistory::FieldFillingEntry&
FormAutofillHistory::FillOperation::GetFieldFillingEntry(
FieldGlobalId field_id) const { … }
FormAutofillHistory::FormFillingEntry::FormFillingEntry() = default;
FormAutofillHistory::FormFillingEntry::~FormFillingEntry() = default;
FormAutofillHistory::FormAutofillHistory() = default;
FormAutofillHistory::~FormAutofillHistory() = default;
void FormAutofillHistory::AddFormFillEntry(
base::span<const FormFieldData* const> filled_fields,
base::span<const AutofillField* const> filled_autofill_fields,
FillingProduct filling_product,
bool is_refill) { … }
void FormAutofillHistory::EraseFormFillEntry(FillOperation fill_operation) { … }
FormAutofillHistory::FillOperation
FormAutofillHistory::GetLastFillingOperationForField(
FieldGlobalId field_id) const { … }
bool FormAutofillHistory::HasHistory(FieldGlobalId field_id) const { … }
void FormAutofillHistory::Reset() { … }
}