blob: e151ded2ca6f5dd98f6e8ade63b7ce7dfafe7eef [file] [log] [blame]
// Copyright 2013 The Chromium Authors
// 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