summaryrefslogtreecommitdiffstats
path: root/components/webdata
diff options
context:
space:
mode:
authorestade <estade@chromium.org>2015-02-12 16:38:46 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-13 00:39:43 +0000
commit4f3e8aa077394ed644a4ec931659cfebddb5396e (patch)
tree4cfda0f1eee16a7e76f5124ae98312853cb324af /components/webdata
parent79974df3d6fe4d7a56954fb2bd6758e5f4e7cc8e (diff)
downloadchromium_src-4f3e8aa077394ed644a4ec931659cfebddb5396e.zip
chromium_src-4f3e8aa077394ed644a4ec931659cfebddb5396e.tar.gz
chromium_src-4f3e8aa077394ed644a4ec931659cfebddb5396e.tar.bz2
Log last use date and total use count for autofill profiles and credit
cards. This CL does not actually impose any new ordering on suggestions; it's just an update to data types and the database. Updates to wallet cards will come later. Unfortunately the usage metadata for those won't be syncable. BUG=342426 Review URL: https://codereview.chromium.org/896893002 Cr-Commit-Position: refs/heads/master@{#316103}
Diffstat (limited to 'components/webdata')
-rw-r--r--components/webdata/common/web_database.cc4
-rw-r--r--components/webdata/common/web_database_migration_unittest.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/components/webdata/common/web_database.cc b/components/webdata/common/web_database.cc
index 2969f64..93cc65a 100644
--- a/components/webdata/common/web_database.cc
+++ b/components/webdata/common/web_database.cc
@@ -14,11 +14,11 @@
// corresponding changes must happen in the unit tests, and new migration test
// added. See |WebDatabaseMigrationTest::kCurrentTestedVersionNumber|.
// static
-const int WebDatabase::kCurrentVersionNumber = 60;
+const int WebDatabase::kCurrentVersionNumber = 61;
namespace {
-const int kCompatibleVersionNumber = 59;
+const int kCompatibleVersionNumber = 61;
// Change the version number and possibly the compatibility version of
// |meta_table_|.
diff --git a/components/webdata/common/web_database_migration_unittest.cc b/components/webdata/common/web_database_migration_unittest.cc
index bc209b2..eb04c2a 100644
--- a/components/webdata/common/web_database_migration_unittest.cc
+++ b/components/webdata/common/web_database_migration_unittest.cc
@@ -248,7 +248,7 @@ class WebDatabaseMigrationTest : public testing::Test {
DISALLOW_COPY_AND_ASSIGN(WebDatabaseMigrationTest);
};
-const int WebDatabaseMigrationTest::kCurrentTestedVersionNumber = 60;
+const int WebDatabaseMigrationTest::kCurrentTestedVersionNumber = 61;
void WebDatabaseMigrationTest::LoadDatabase(
const base::FilePath::StringType& file) {