Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Unified Diff: components/autofill/core/browser/personal_data_manager.h

Issue 2109643003: Add billing address to masked server credit cards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add version_66.sql to the build file. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 75ba46b65b1f2ce16e0bd195ea65c82c5bbbb291..c913506b341c460db6f7e48b3af5be01a53fb67c 100644
--- a/components/autofill/core/browser/personal_data_manager.h
+++ b/components/autofill/core/browser/personal_data_manager.h
@@ -138,9 +138,13 @@ class PersonalDataManager : public KeyedService,
virtual void UpdateCreditCard(const CreditCard& credit_card);
// Update a server card. Only the full number and masked/unmasked
- // status can be changed.
+ // status can be changed. Looks up the card by server ID.
virtual void UpdateServerCreditCard(const CreditCard& credit_card);
+ // Updates the billing address for the server |credit_card|. Looks up the card
+ // by GUID.
+ void UpdateServerCardBillingAddress(const CreditCard& credit_card);
+
// Resets the card for |guid| to the masked state.
void ResetFullServerCard(const std::string& guid);

Powered by Google App Engine
This is Rietveld 408576698