Index: components/autofill/core/browser/personal_data_manager.h |
diff --git a/components/autofill/core/browser/personal_data_manager.h b/components/autofill/core/browser/personal_data_manager.h |
index e0a86900c278ded9167a9176179322c6c8556b36..b71a0efe0377f98e503c68a4f476ff48e00dfe52 100644 |
--- a/components/autofill/core/browser/personal_data_manager.h |
+++ b/components/autofill/core/browser/personal_data_manager.h |
@@ -167,6 +167,12 @@ class PersonalDataManager : public KeyedService, |
// Sets a server credit card for test. |
void AddServerCreditCardForTest(std::unique_ptr<CreditCard> credit_card); |
+ // Sets a server credit card for test. |
+ void UpdateCreditCardForTest(const CreditCard& credit_card); |
+ |
+ // Sets a server credit card for test. |
+ void UpdateProfileForTest(const AutofillProfile& profile); |
+ |
// Returns the credit card with the specified |guid|, or NULL if there is |
// no credit card with the specified |guid|. |
CreditCard* GetCreditCardByGUID(const std::string& guid); |