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

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

Issue 2665243003: add a download slices table into history download db (Closed)
Patch Set: addressing comments Created 3 years, 11 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_row.h
diff --git a/components/history/core/browser/download_row.h b/components/history/core/browser/download_row.h
index a14ed7c842c64c856ca0f0451908c41468960fb0..2a0b0320c75784be0013b514d16880dcbbe2f392 100644
--- a/components/history/core/browser/download_row.h
+++ b/components/history/core/browser/download_row.h
@@ -12,6 +12,7 @@
#include "base/files/file_path.h"
#include "base/time/time.h"
+#include "components/history/core/browser/download_job_info.h"
#include "components/history/core/browser/download_types.h"
#include "url/gurl.h"
@@ -46,7 +47,8 @@ struct DownloadRow {
const std::string& guid,
bool download_opened,
const std::string& ext_id,
- const std::string& ext_name);
+ const std::string& ext_name,
+ const std::vector<DownloadJobInfo>& download_job_info);
DownloadRow(const DownloadRow& other);
~DownloadRow();
@@ -135,6 +137,8 @@ struct DownloadRow {
// The id and name of the extension that created this download.
std::string by_ext_id;
std::string by_ext_name;
+
+ std::vector<DownloadJobInfo> download_job_info;
};
} // namespace history

Powered by Google App Engine
This is Rietveld 408576698