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

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

Issue 967453005: Delete unmasked credit cards when clearing data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/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 3f8093c909b8498b0ad771ef01a5588b97cd2d5e..81a2916277e7ab0a26978ccb04f32ed49d0296bd 100644
--- a/components/autofill/core/browser/webdata/autofill_table.h
+++ b/components/autofill/core/browser/webdata/autofill_table.h
@@ -167,6 +167,8 @@ struct FormFieldData;
// a form. Added in version 62.
// use_date The date this card was last used to fill a form, in
// internal time format (NOT time_t). Added in version 62.
+// unmask_date The date this card was unmasked in units of
+// Time::ToInternalValue. Added in version 64.
//
// server_addresses This table contains Autofill address data synced from
// the wallet server. It's basically the same as the
@@ -194,7 +196,8 @@ struct FormFieldData;
// display. For example, a JP address with "ja" language
// code starts with the postal code, but a JP address with
// "ja-latn" language code starts with the recipient name.
-//
+// phone_number Phone number. This is a string and has no formatting
+// constraints. Added in version 64.
class AutofillTable : public WebDatabaseTable {
public:
explicit AutofillTable(const std::string& app_locale);
@@ -366,6 +369,7 @@ class AutofillTable : public WebDatabaseTable {
bool MigrateToVersion61AddUsageStats();
bool MigrateToVersion62AddUsageStatsForUnmaskedCards();
bool MigrateToVersion63AddServerRecipientName();
+ bool MigrateToVersion64AddUnmaskDate();
// Max data length saved in the table;
static const size_t kMaxDataLength;
« 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