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

Unified Diff: components/autofill/core/browser/webdata/autofill_table.h

Issue 2619423002: [Payments] Preserve Wallet's card to billing address link after sync. (Closed)
Patch Set: Fixed comment Created 3 years, 11 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/webdata/autofill_table.h
diff --git a/components/autofill/core/browser/webdata/autofill_table.h b/components/autofill/core/browser/webdata/autofill_table.h
index e223d5cfb23240259713b0497a780a380f537626..c01775f0caca2013391fc8c0f19a31eac0cfe95c 100644
--- a/components/autofill/core/browser/webdata/autofill_table.h
+++ b/components/autofill/core/browser/webdata/autofill_table.h
@@ -167,10 +167,10 @@ struct FormFieldData;
// with locally stored cards and generating descriptions.
// exp_month Expiration month: 1-12
// exp_year Four-digit year: 2017
-// billing_address_id The guid string that identifies the local profile which
-// is the billing address for this card. Can be null in the
-// database, but always returned as an empty string in
-// CreditCard. Added in version 67.
+// billing_address_id The string that identifies the local or server profile
+// which is the billing address for this card. Can be null
+// in the database, but always returned as an empty string
+// in CreditCard. Added in version 67.
//
// unmasked_credit_cards
// When a masked credit credit card is unmasked and the
@@ -339,7 +339,7 @@ class AutofillTable : public WebDatabaseTable {
virtual bool GetAutofillProfiles(
std::vector<std::unique_ptr<AutofillProfile>>* profiles);
virtual bool GetServerProfiles(
- std::vector<std::unique_ptr<AutofillProfile>>* profiles);
+ std::vector<std::unique_ptr<AutofillProfile>>* profiles) const;
// Sets the server profiles. All old profiles are deleted and replaced with
// the given ones.
@@ -362,7 +362,7 @@ class AutofillTable : public WebDatabaseTable {
virtual bool GetCreditCards(
std::vector<std::unique_ptr<CreditCard>>* credit_cards);
virtual bool GetServerCreditCards(
- std::vector<std::unique_ptr<CreditCard>>* credit_cards);
+ std::vector<std::unique_ptr<CreditCard>>* credit_cards) const;
// Replaces all server credit cards with the given vector. Unmasked cards
// present in the new list will be preserved (even if the input is MASKED).
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | components/autofill/core/browser/webdata/autofill_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698