#include "components/autofill/core/browser/strike_databases/history_clearable_strike_database.h"
#include <optional>
#include "base/files/scoped_temp_dir.h"
#include "base/test/task_environment.h"
#include "base/time/time.h"
#include "components/autofill/core/browser/strike_databases/autofill_profile_save_strike_database.h"
#include "components/autofill/core/browser/strike_databases/strike_database.h"
#include "components/history/core/browser/history_types.h"
#include "components/history/core/browser/url_row.h"
#include "components/leveldb_proto/public/proto_database_provider.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace autofill {
namespace {
struct TestStrikeDatabaseTraits { … };
class HistoryClearableStrikeDatabaseTest : public ::testing::Test { … };
TEST_F(HistoryClearableStrikeDatabaseTest,
RemoveStrikesByOriginWithinDeletionWindow) { … }
TEST_F(HistoryClearableStrikeDatabaseTest, RemoveStrikesByOrigin) { … }
TEST_F(HistoryClearableStrikeDatabaseTest,
DoNotRemoveStrikeAfterDeletionWindow) { … }
TEST_F(HistoryClearableStrikeDatabaseTest,
DoNotRemoveStrikeBeforeDeletionWindow) { … }
}
}