| Index: chrome/browser/download/download_item_model.h
|
| diff --git a/chrome/browser/download/download_item_model.h b/chrome/browser/download/download_item_model.h
|
| index 367e9ef677d515ff83640d87146a4d508e1c58b0..8c91231f00f29a605eb9a2c2b5447840ce0c3d04 100644
|
| --- a/chrome/browser/download/download_item_model.h
|
| +++ b/chrome/browser/download/download_item_model.h
|
| @@ -142,6 +142,14 @@ class DownloadItemModel {
|
| // ShouldPreferOpeningInBrowser().
|
| void OpenUsingPlatformHandler();
|
|
|
| + // Changes what is returned by GetUserActed(). The download shelf uses this to
|
| + // mark remaining downloads as acted when user manually closes the shelf.
|
| + void SetUserActed(bool acted);
|
| +
|
| + // Returns |true| if user acted on download item (shown it in shell or
|
| + // opened). Download shelf checks this to autohide.
|
| + bool GetUserActed() const;
|
| +
|
| content::DownloadItem* download() { return download_; }
|
|
|
| private:
|
|
|