| Index: components/autofill/core/browser/credit_card.h
|
| diff --git a/components/autofill/core/browser/credit_card.h b/components/autofill/core/browser/credit_card.h
|
| index 6c077638afc7f68a75d36c31d765373e09e12d4d..2eff627bcc9c0dedec27abb0c69dcd935c2a3c43 100644
|
| --- a/components/autofill/core/browser/credit_card.h
|
| +++ b/components/autofill/core/browser/credit_card.h
|
| @@ -152,6 +152,10 @@ class CreditCard : public AutofillDataModel {
|
| // Determines if |this| is a local version of the server card |other|.
|
| bool IsLocalDuplicateOfServerCard(const CreditCard& other) const;
|
|
|
| + // Determines if |this| has the same number as |other|. If either is a masked
|
| + // server card, compares the last four digits only.
|
| + bool HasSameNumberAs(const CreditCard& other) const;
|
| +
|
| // Equality operators compare GUIDs, origins, and the contents.
|
| // Usage metadata (use count, use date, modification date) are NOT compared.
|
| bool operator==(const CreditCard& credit_card) const;
|
|
|