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

Unified Diff: chrome/browser/download/download_history.cc

Issue 2665243003: add a download slices table into history download db (Closed)
Patch Set: rename download_job_info to download_slice_info Created 3 years, 10 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/browser/download/download_history.cc
diff --git a/chrome/browser/download/download_history.cc b/chrome/browser/download/download_history.cc
index e79dec2caeda511682db87b022712705cafe716c..337acc40382f7dc561c9511bebb1abc51a4720dc 100644
--- a/chrome/browser/download/download_history.cc
+++ b/chrome/browser/download/download_history.cc
@@ -140,7 +140,9 @@ history::DownloadRow GetDownloadRow(
history::ToHistoryDownloadInterruptReason(item->GetLastReason()),
std::string(), // Hash value (not available yet)
history::ToHistoryDownloadId(item->GetId()), item->GetGuid(),
- item->GetOpened(), by_ext_id, by_ext_name);
+ item->GetOpened(), by_ext_id, by_ext_name,
+ // TODO(qinmin): get the slice information.
+ std::vector<history::DownloadSlicenfo>());
}
enum class ShouldUpdateHistoryResult {

Powered by Google App Engine
This is Rietveld 408576698