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

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

Issue 2728733002: Revert of [Autofill] Split server card data and metadata updates. (Closed)
Patch Set: 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
Index: components/autofill/core/browser/webdata/autofill_table.cc
diff --git a/components/autofill/core/browser/webdata/autofill_table.cc b/components/autofill/core/browser/webdata/autofill_table.cc
index b908cae860121f7a57577212878d0db3a1e4ce2b..72cf35b3c7b95d449836df720b1cda51042b3a57 100644
--- a/components/autofill/core/browser/webdata/autofill_table.cc
+++ b/components/autofill/core/browser/webdata/autofill_table.cc
@@ -1324,6 +1324,9 @@
masked_insert.Run();
masked_insert.Reset(true);
+
+ // Save the use count and use date of the card.
+ UpdateServerCardMetadata(card);
}
// Delete all items in the unmasked table that aren't in the new set.

Powered by Google App Engine
This is Rietveld 408576698