diff options
Diffstat (limited to 'components/autofill/core/browser/autofill_profile.h')
-rw-r--r-- | components/autofill/core/browser/autofill_profile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/autofill/core/browser/autofill_profile.h b/components/autofill/core/browser/autofill_profile.h index c01b0f1..49a488f 100644 --- a/components/autofill/core/browser/autofill_profile.h +++ b/components/autofill/core/browser/autofill_profile.h @@ -85,6 +85,10 @@ class AutofillProfile : public AutofillDataModel { // Returns true if there are no values (field types) set. bool IsEmpty(const std::string& app_locale) const; + // Returns true if the |type| of data in this profile is present, but invalid. + // Otherwise returns false. + bool IsPresentButInvalid(AutofillFieldType type) const; + // Comparison for Sync. Returns 0 if the profile is the same as |this|, // or < 0, or > 0 if it is different. The implied ordering can be used for // culling duplicates. The ordering is based on collation order of the |