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 a8470a9030050dd69c32e54a7a0052fa9677ddbd..9d8e674cb026b27de6b5b67c6301e9bccc835938 100644 |
--- a/components/history/core/browser/download_row.cc |
+++ b/components/history/core/browser/download_row.cc |
@@ -45,6 +45,7 @@ DownloadRow::DownloadRow( |
const std::string& guid, |
bool download_opened, |
const base::Time& last_access, |
+ bool visible, |
const std::string& ext_id, |
const std::string& ext_name, |
const std::vector<DownloadSliceInfo>& download_slice_info) |
@@ -72,6 +73,7 @@ DownloadRow::DownloadRow( |
guid(guid), |
opened(download_opened), |
last_access_time(last_access), |
+ visible(visible), |
by_ext_id(ext_id), |
by_ext_name(ext_name), |
download_slice_info(download_slice_info) {} |
@@ -94,7 +96,7 @@ 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 && |
- last_access_time == rhs.last_access_time && |
+ last_access_time == rhs.last_access_time && visible == rhs.visible && |
by_ext_id == rhs.by_ext_id && by_ext_name == rhs.by_ext_name && |
download_slice_info == rhs.download_slice_info; |
} |