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

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

Issue 2720613002: Downloads: Added transient flag to download item and download database (Closed)
Patch Set: Fixed migration unit test 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 9c0539748757b1e361ae451e8509639de0623a4f..c72c90320931d8f037373fe3c3ec22b08dcc9df0 100644
--- a/components/history/core/browser/download_row.h
+++ b/components/history/core/browser/download_row.h
@@ -47,6 +47,7 @@ struct 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);
@@ -138,6 +139,9 @@ struct DownloadRow {
// The time when the download was last accessed.
base::Time last_access_time;
+ // Whether this download is visible.
+ bool visible;
+
// The id and name of the extension that created this download.
std::string by_ext_id;
std::string by_ext_name;

Powered by Google App Engine
This is Rietveld 408576698