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

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

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
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..d446cf09e2f84325036560ea843a4f60c1e35418 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_slice_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<DownloadSliceInfo>& download_slice_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<DownloadSliceInfo> download_slice_info;
};
} // namespace history
« no previous file with comments | « components/history/core/browser/download_database.cc ('k') | components/history/core/browser/download_row.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698