Index: components/autofill/core/browser/test_personal_data_manager.h |
diff --git a/components/autofill/core/browser/test_personal_data_manager.h b/components/autofill/core/browser/test_personal_data_manager.h |
index c9f9a43d4a44fab2020dd096f3a740a3e58cf716..9d6767a60827f61c511eaa45920d689d7b8f402a 100644 |
--- a/components/autofill/core/browser/test_personal_data_manager.h |
+++ b/components/autofill/core/browser/test_personal_data_manager.h |
@@ -27,16 +27,21 @@ class TestPersonalDataManager : public PersonalDataManager { |
void AddTestingCreditCard(CreditCard* credit_card); |
virtual const std::vector<AutofillProfile*>& GetProfiles() OVERRIDE; |
- virtual void SaveImportedProfile(const AutofillProfile& imported_profile) |
- OVERRIDE; |
+ virtual const std::vector<CreditCard*>& GetCreditCards() const OVERRIDE; |
+ |
+ virtual std::string SaveImportedProfile( |
+ const AutofillProfile& imported_profile) OVERRIDE; |
+ virtual std::string SaveImportedCreditCard( |
+ const CreditCard& imported_credit_card) OVERRIDE; |
const AutofillProfile& imported_profile() { return imported_profile_; } |
- virtual const std::vector<CreditCard*>& GetCreditCards() const OVERRIDE; |
+ const CreditCard& imported_credit_card() { return imported_credit_card_; } |
private: |
std::vector<AutofillProfile*> profiles_; |
std::vector<CreditCard*> credit_cards_; |
AutofillProfile imported_profile_; |
+ CreditCard imported_credit_card_; |
}; |
} // namespace autofill |