blob: 5f9f040624a2f2e05d284e504ed43c07f84ae4c0 [file] [log] [blame]
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "components/autofill/core/common/autofill_constants.h"
#include "build/build_config.h"
#include "components/autofill/core/common/autofill_clock.h"
#include "components/autofill/core/common/autofill_features.h"
namespace autofill {
const char kSettingsOrigin[] = "Chrome settings";
bool IsAutofillEntryWithUseDateDeletable(const base::Time& use_date) {
return use_date < AutofillClock::Now() - kDisusedDataModelDeletionTimeDelta;
}
} // namespace autofill