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

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

Issue 1781983002: [Downloads] Introduce GUIDs for downloads. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 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: 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 70f8ec8d04960661b736d9af94c48739097cbf19..799101614855a7ae7e61944d0a40fdf99b6ec7bf 100644
--- a/components/history/core/browser/download_database.h
+++ b/components/history/core/browser/download_database.h
@@ -79,6 +79,10 @@ class DownloadDatabase {
// to the downloads table.
bool MigrateDownloadValidators();
+ // Returns true if able to add GUID, hash and HTTP method columns to the
+ // download table.
+ bool MigrateHashHttpMethodAndGenerateGuids();
+
// Creates the downloads table if needed.
bool InitDownloadTable();

Powered by Google App Engine
This is Rietveld 408576698