| 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 cf6384eba294e8b1a23a2366959d6b14b1a1dbf3..d5bf1a0f7d74a69e42585c5964313b189ff509ae 100644
|
| --- a/components/autofill/core/browser/credit_card.h
|
| +++ b/components/autofill/core/browser/credit_card.h
|
| @@ -12,7 +12,6 @@
|
| #include "base/compiler_specific.h"
|
| #include "base/strings/string16.h"
|
| #include "components/autofill/core/browser/autofill_data_model.h"
|
| -#include "components/autofill/core/browser/field_types.h"
|
|
|
| namespace autofill {
|
|
|
| @@ -47,15 +46,16 @@ class CreditCard : public AutofillDataModel {
|
| static std::string GetCreditCardType(const base::string16& number);
|
|
|
| // FormGroup:
|
| - virtual void GetMatchingTypes(const base::string16& text,
|
| - const std::string& app_locale,
|
| - FieldTypeSet* matching_types) const OVERRIDE;
|
| - virtual base::string16 GetRawInfo(AutofillFieldType type) const OVERRIDE;
|
| - virtual void SetRawInfo(AutofillFieldType type,
|
| + virtual void GetMatchingTypes(
|
| + const base::string16& text,
|
| + const std::string& app_locale,
|
| + ServerFieldTypeSet* matching_types) const OVERRIDE;
|
| + virtual base::string16 GetRawInfo(ServerFieldType type) const OVERRIDE;
|
| + virtual void SetRawInfo(ServerFieldType type,
|
| const base::string16& value) OVERRIDE;
|
| - virtual base::string16 GetInfo(AutofillFieldType type,
|
| + virtual base::string16 GetInfo(const AutofillType& type,
|
| const std::string& app_locale) const OVERRIDE;
|
| - virtual bool SetInfo(AutofillFieldType type,
|
| + virtual bool SetInfo(const AutofillType& type,
|
| const base::string16& value,
|
| const std::string& app_locale) OVERRIDE;
|
|
|
| @@ -122,7 +122,8 @@ class CreditCard : public AutofillDataModel {
|
|
|
| private:
|
| // FormGroup:
|
| - virtual void GetSupportedTypes(FieldTypeSet* supported_types) const OVERRIDE;
|
| + virtual void GetSupportedTypes(
|
| + ServerFieldTypeSet* supported_types) const OVERRIDE;
|
|
|
| // The month and year are zero if not present.
|
| int Expiration4DigitYear() const { return expiration_year_; }
|
|
|