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

Unified Diff: components/autofill/core/browser/autofill_test_utils.cc

Issue 2719723002: [Autofill] Split server card data and metadata updates. (Closed)
Patch Set: Addressed comments Created 3 years, 10 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
« no previous file with comments | « no previous file | components/autofill/core/browser/webdata/autofill_table.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/browser/autofill_test_utils.cc
diff --git a/components/autofill/core/browser/autofill_test_utils.cc b/components/autofill/core/browser/autofill_test_utils.cc
index 78b1f0e09edf86d11bcee070a4e641dfb01d8dd3..a50328cde54c23e4c9513d4d73cedad9f6b3322a 100644
--- a/components/autofill/core/browser/autofill_test_utils.cc
+++ b/components/autofill/core/browser/autofill_test_utils.cc
@@ -325,6 +325,7 @@ void SetServerCreditCards(AutofillTable* table,
std::string type = card.type();
card.SetNumber(card.LastFourDigits());
card.SetTypeForMaskedCard(type.c_str());
+ table->UpdateServerCardMetadata(card);
}
table->SetServerCreditCards(as_masked_cards);
« no previous file with comments | « no previous file | components/autofill/core/browser/webdata/autofill_table.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698