| Index: chrome/browser/resources/md_downloads/item.js
|
| diff --git a/chrome/browser/resources/md_downloads/item.js b/chrome/browser/resources/md_downloads/item.js
|
| index 3321dcd70f7a675f3bb6cbff98d061698887ae7f..bb6389fed7ada837f846f4fc8c22146c712fd050 100644
|
| --- a/chrome/browser/resources/md_downloads/item.js
|
| +++ b/chrome/browser/resources/md_downloads/item.js
|
| @@ -31,9 +31,16 @@ cr.define('downloads', function() {
|
| observer: 'onScrollbarWidthChange_',
|
| },
|
|
|
| + /** @private */
|
| isDangerous_: {type: Boolean, value: false},
|
|
|
| - /** Only set when |isDangerous| is true. */
|
| + /** @private */
|
| + isIncognito_: {type: Boolean, value: false},
|
| +
|
| + /**
|
| + * Only set when |isDangerous| is true.
|
| + * @private
|
| + */
|
| isMalware_: Boolean,
|
| },
|
|
|
| @@ -42,6 +49,8 @@ cr.define('downloads', function() {
|
| assert(!this.id_ || data.id == this.id_);
|
| this.id_ = data.id; // This is the only thing saved from |data|.
|
|
|
| + this.isIncognito_ = data.otr;
|
| +
|
| // Danger-independent UI and controls.
|
| this.ensureTextIs_(this.$.since, data.since_string);
|
| this.ensureTextIs_(this.$.date, data.date_string);
|
|
|