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

Unified Diff: chrome/test/data/History/Favicons.v8.sql

Issue 1004373002: Add last_requested field to the favicon_bitmaps table of the favicons database. (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
Index: chrome/test/data/History/Favicons.v8.sql
diff --git a/chrome/test/data/History/Favicons.v7.sql b/chrome/test/data/History/Favicons.v8.sql
similarity index 88%
copy from chrome/test/data/History/Favicons.v7.sql
copy to chrome/test/data/History/Favicons.v8.sql
index 8b0fd2c220e4ae2136663b841b94330fa84cdb59..f9388c1d424c653c00acf92ebf69e28e8d0680b7 100644
--- a/chrome/test/data/History/Favicons.v7.sql
+++ b/chrome/test/data/History/Favicons.v8.sql
@@ -1,6 +1,6 @@
--- unit_tests --gtest_filter=ThumbnailDatabaseTest.Version7
+-- unit_tests --gtest_filter=ThumbnailDatabaseTest.Version8
--
--- .dump of a version 7 Favicons database.
+-- .dump of a version 8 Favicons database.
BEGIN TRANSACTION;
CREATE TABLE meta(key LONGVARCHAR NOT NULL UNIQUE PRIMARY KEY, value LONGVARCHAR);
INSERT INTO "meta" VALUES('version','7');
@@ -13,6 +13,8 @@ CREATE TABLE favicon_bitmaps(id INTEGER PRIMARY KEY,icon_id INTEGER NOT NULL,las
INSERT INTO "favicon_bitmaps" VALUES(1,1,1287424416,X'313233343631303233353631323033393437353136333435313635393133343837313034373831323336343931363534313932333435313932333435313233343931333400',32,32);
INSERT INTO "favicon_bitmaps" VALUES(2,2,1287424428,X'676F6977756567727172636F6D697A71797A6B6A616C697462616878666A7974727176707165726F6963786D6E6C6B686C7A756E616378616E65766961777274786379776867656600',32,32);
INSERT INTO "favicon_bitmaps" VALUES(3,3,1287424428,X'676F6977756567727172636F6D697A71797A6B6A616C697462616878666A7974727176707165726F6963786D6E6C6B686C7A756E616378616E65766961777274786379776867656600',32,32);
+CREATE TABLE favicon_bitmap_usage(bitmap_id INTEGER PRIMARY KEY,last_requested INTEGER);
+INSERT INTO "favicon_bitmap_usage" VALUES(2,1287454416);
CREATE TABLE icon_mapping(id INTEGER PRIMARY KEY,page_url LONGVARCHAR NOT NULL,icon_id INTEGER);
INSERT INTO "icon_mapping" VALUES(1,'http://google.com/',1);
INSERT INTO "icon_mapping" VALUES(2,'http://www.google.com/',1);

Powered by Google App Engine
This is Rietveld 408576698