Chromium Code Reviews

Unified Diff: components/history/core/browser/download_database.h

Issue 2705283003: Added last_access_time to DownloadItem and History DB (Closed)
Patch Set: rebase + Java accessor Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: components/history/core/browser/download_database.h
diff --git a/components/history/core/browser/download_database.h b/components/history/core/browser/download_database.h
index 931ad5c03c62346e6fdf4c0ac31b8b7a2237f426..421218d9bbad452d5fcfd2398f7507171199a108 100644
--- a/components/history/core/browser/download_database.h
+++ b/components/history/core/browser/download_database.h
@@ -93,6 +93,9 @@ class DownloadDatabase {
// table.
bool MigrateDownloadSiteInstanceUrl();
+ // Returns true if able to add last_access_time column to the download table.
+ bool MigrateDownloadLastAccessTime();
+
// Creates the downloads table if needed.
bool InitDownloadTable();

Powered by Google App Engine