Index: chrome/browser/autofill/credit_card.h |
=================================================================== |
--- chrome/browser/autofill/credit_card.h (revision 54215) |
+++ chrome/browser/autofill/credit_card.h (working copy) |
@@ -59,6 +59,9 @@ |
// validate the number. |
static bool IsCreditCardNumber(const string16& text); |
+ // Returns true if there are no values (field types) set. |
+ bool IsEmpty() const; |
+ |
private: |
// The month and year are zero if not present. |
int Expiration4DigitYear() const { return expiration_year_; } |