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

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

Issue 2665243003: add a download slices table into history download db (Closed)
Patch Set: add test file to BUILD.gn 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
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f0865e2db43ad7c8315b1307266cd616d0e9cbe6 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::DownloadSliceInfo>());
}
enum class ShouldUpdateHistoryResult {
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/incident_reporting/last_download_finder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698