chromium/components/autofill/core/browser/strike_databases/address_suggestion_strike_database.h

// Copyright 2024 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_STRIKE_DATABASES_ADDRESS_SUGGESTION_STRIKE_DATABASE_H_
#define COMPONENTS_AUTOFILL_CORE_BROWSER_STRIKE_DATABASES_ADDRESS_SUGGESTION_STRIKE_DATABASE_H_

#include <optional>
#include <set>
#include <string>

#include "components/autofill/core/browser/strike_databases/history_clearable_strike_database.h"
#include "components/autofill/core/browser/strike_databases/strike_database_integrator_base.h"
#include "components/autofill/core/common/autofill_features.h"
#include "components/autofill/core/common/signatures.h"
#include "url/gurl.h"

namespace autofill {

struct AddressSuggestionStrikeDatabaseTraits {};

// Records the number of times a user ignores address suggestions shown via the
// Autofill popup and stops automatically showing address suggestions to the
// user after reaching a strike limit.
class AddressSuggestionStrikeDatabase
    : public HistoryClearableStrikeDatabase<
          AddressSuggestionStrikeDatabaseTraits> {};

}  // namespace autofill

#endif  // COMPONENTS_AUTOFILL_CORE_BROWSER_STRIKE_DATABASES_ADDRESS_SUGGESTION_STRIKE_DATABASE_H_