diff options
Diffstat (limited to 'chromium/components/autofill/core/browser/autofill_data_model.cc')
-rw-r--r-- | chromium/components/autofill/core/browser/autofill_data_model.cc | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/chromium/components/autofill/core/browser/autofill_data_model.cc b/chromium/components/autofill/core/browser/autofill_data_model.cc index 913bfe22e69..59f83e57b3e 100644 --- a/chromium/components/autofill/core/browser/autofill_data_model.cc +++ b/chromium/components/autofill/core/browser/autofill_data_model.cc @@ -37,8 +37,9 @@ bool AutofillDataModel::UseDateEqualsInSeconds( return !((other->use_date() - use_date()).InSeconds()); } -bool AutofillDataModel::CompareFrecency(const AutofillDataModel* other, - base::Time comparison_time) const { +bool AutofillDataModel::HasGreaterFrecencyThan( + const AutofillDataModel* other, + base::Time comparison_time) const { double score = GetFrecencyScore(comparison_time); double other_score = other->GetFrecencyScore(comparison_time); @@ -79,4 +80,15 @@ bool AutofillDataModel::IsDeletable() const { return use_date_ < AutofillClock::Now() - kDisusedDataModelDeletionTimeDelta; } +AutofillDataModel::ValidityState AutofillDataModel::GetValidityState( + ServerFieldType type, + AutofillDataModel::ValidationSource source) const { + return AutofillDataModel::UNSUPPORTED; +} + +bool AutofillDataModel::ShouldSkipFillingOrSuggesting( + ServerFieldType type) const { + return false; +} + } // namespace autofill |