Index: components/autofill/core/browser/test_personal_data_manager.cc |
diff --git a/components/autofill/core/browser/test_personal_data_manager.cc b/components/autofill/core/browser/test_personal_data_manager.cc |
index 0a517d7655bf652350db7f780e982c4161f0772f..7ce487bd24dbc4daa993e1f0392074c216603134 100644 |
--- a/components/autofill/core/browser/test_personal_data_manager.cc |
+++ b/components/autofill/core/browser/test_personal_data_manager.cc |
@@ -34,9 +34,16 @@ const std::vector<CreditCard*>& TestPersonalDataManager:: |
return credit_cards_; |
} |
-void TestPersonalDataManager::SaveImportedProfile( |
+std::string TestPersonalDataManager::SaveImportedProfile( |
const AutofillProfile& imported_profile) { |
imported_profile_ = imported_profile; |
+ return imported_profile.guid(); |
+} |
+ |
+std::string TestPersonalDataManager::SaveImportedCreditCard( |
+ const CreditCard& imported_credit_card) { |
+ imported_credit_card_ = imported_credit_card; |
+ return imported_credit_card.guid(); |
} |
} // namespace autofill |