Chromium Code Reviews| 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 cb0f0cc83862d4f9ce3d742460486b3de100291f..0a1252a42f3e2b18a14d5c921eb4809216987ff5 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, |
| base::Time last_access, |
| + bool transient, |
|
brettw
2017/03/29 22:54:13
This constructor has gotten absurd. I took too lon
shaktisahu
2017/03/29 23:46:47
I agree, it is really big constructor! But, in my
brettw
2017/03/30 16:44:43
I agree there is some benefit as you decribe, but
|
| 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 transient. |
|
brettw
2017/03/29 22:54:13
Can this comment define what transient means? I'm
shaktisahu
2017/03/29 23:46:47
Done.
|
| + bool transient; |
| + |
| // The id and name of the extension that created this download. |
| std::string by_ext_id; |
| std::string by_ext_name; |