Chromium Code Reviews| 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..86448e44a55f0a60464fc0e08838e5ff7b198e3d 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 AddServerCreditCard(const CreditCard& credit_card); |
|
sebsg
2017/04/24 19:18:23
Maybe name it AddFullServerCreditCard? This would
csashi
2017/04/24 20:09:02
Done.
|
| + |
| // 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); |