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 d8247d526c04241b0b4457c9fd66939ebf77a1c6..583e3a0ba24b5a3b7cc8e68d0710fc52df80d3d4 100644 |
--- a/components/autofill/core/browser/personal_data_manager.h |
+++ b/components/autofill/core/browser/personal_data_manager.h |
@@ -145,13 +145,16 @@ class PersonalDataManager : public KeyedService, |
const std::string& guid, |
const std::vector<AutofillProfile*>& profiles); |
- // Adds |credit_card| to the web database. |
+ // Adds |credit_card| to the web database as a local card. |
virtual void AddCreditCard(const CreditCard& credit_card); |
// Updates |credit_card| which already exists in the web database. This |
// can only be used on local credit cards. |
virtual void UpdateCreditCard(const CreditCard& credit_card); |
+ // Adds |credit_card| to the web database as a full server card. |
+ virtual void AddFullServerCreditCard(const CreditCard& credit_card); |
+ |
// Update a server card. Only the full number and masked/unmasked |
// status can be changed. Looks up the card by server ID. |
virtual void UpdateServerCreditCard(const CreditCard& credit_card); |