Index: components/history/core/browser/download_row.cc |
diff --git a/components/history/core/browser/download_row.cc b/components/history/core/browser/download_row.cc |
index 8c14601feede955e19930788e4f5775fe11f2159..f4e7462068b0fd9640ace7c0b8d18bf541814799 100644 |
--- a/components/history/core/browser/download_row.cc |
+++ b/components/history/core/browser/download_row.cc |
@@ -44,7 +44,8 @@ DownloadRow::DownloadRow(const base::FilePath& current_path, |
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) |
: current_path(current_path), |
target_path(target_path), |
url_chain(url_chain), |
@@ -69,7 +70,8 @@ DownloadRow::DownloadRow(const base::FilePath& current_path, |
guid(guid), |
opened(download_opened), |
by_ext_id(ext_id), |
- by_ext_name(ext_name) {} |
+ by_ext_name(ext_name), |
+ download_job_info(download_job_info) {} |
DownloadRow::DownloadRow(const DownloadRow& other) = default; |
@@ -89,7 +91,8 @@ bool DownloadRow::operator==(const DownloadRow& rhs) const { |
danger_type == rhs.danger_type && |
interrupt_reason == rhs.interrupt_reason && hash == rhs.hash && |
id == rhs.id && guid == rhs.guid && opened == rhs.opened && |
- by_ext_id == rhs.by_ext_id && by_ext_name == rhs.by_ext_name; |
+ by_ext_id == rhs.by_ext_id && by_ext_name == rhs.by_ext_name && |
+ download_job_info == rhs.download_job_info; |
} |
} // namespace history |