// 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. #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_AUTOFILL_HISTORY_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_AUTOFILL_HISTORY_H_ #include <list> #include <map> #include <optional> #include <string> #include "components/autofill/core/browser/filling_product.h" #include "components/autofill/core/common/form_field_data.h" #include "components/autofill/core/common/unique_ids.h" namespace autofill { class AutofillField; // Holds history of Autofill filling operations so that they can be undone // later. The class is used to add, remove and access filling operations, which // are maps from fields to their corresponding value and state before filling. // It is assumed here that between a fill and a refill no user interaction // happens with the form. Owned by `BrowserAutofillManager`. class FormAutofillHistory { … }; } // namespace autofill #endif // COMPONENTS_AUTOFILL_CORE_BROWSER_FORM_AUTOFILL_HISTORY_H_