#include "components/autofill/core/browser/payments/iban_manager.h"
#include "base/containers/contains.h"
#include "components/autofill/core/browser/autofill_optimization_guide.h"
#include "components/autofill/core/browser/browser_autofill_manager.h"
#include "components/autofill/core/browser/metrics/payments/iban_metrics.h"
#include "components/autofill/core/browser/payments_suggestion_generator.h"
#include "components/autofill/core/browser/personal_data_manager.h"
#include "components/autofill/core/common/autofill_clock.h"
namespace autofill {
IbanSuggestionsEvent;
namespace {
constexpr int kFieldLengthLimitOnServerIbanSuggestion = …;
}
IbanManager::IbanManager(PersonalDataManager* personal_data_manager)
: … { … }
IbanManager::~IbanManager() = default;
bool IbanManager::OnGetSingleFieldSuggestions(
const FormStructure* form_structure,
const FormFieldData& field,
const AutofillField* autofill_field,
const AutofillClient& client,
OnSuggestionsReturnedCallback on_suggestions_returned) { … }
void IbanManager::OnSingleFieldSuggestionSelected(
const Suggestion& suggestion) { … }
void IbanManager::UmaRecorder::OnIbanSuggestionsShown(
FieldGlobalId field_global_id) { … }
void IbanManager::UmaRecorder::OnIbanSuggestionSelected(
const Suggestion& suggestion) { … }
std::vector<Suggestion> IbanManager::GetIbanSuggestions(
std::vector<Iban> ibans,
const FormFieldData& field) { … }
void IbanManager::FilterIbansToSuggest(const std::u16string& field_value,
std::vector<Iban>& ibans) { … }
}