| 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 5fe5751dc8fa5269eb7e6f8e60db473ddd086909..c374ba19cd516be85e88f27b4ba8d0da475ffceb 100644 | 
| --- a/chrome/browser/download/download_item_model.h | 
| +++ b/chrome/browser/download/download_item_model.h | 
| @@ -165,6 +165,14 @@ class DownloadItemModel { | 
| // Set whether the download is being revived. | 
| void SetIsBeingRevived(bool is_being_revived); | 
|  | 
| +  // Returns |true| if user opened or shown download item in shell. Download | 
| +  // shelf checks this for autohide. | 
| +  bool GetOpenedOrShown() const; | 
| + | 
| +  // Sets whether download was opened or shown in shell. Download shelf marks | 
| +  // downloads as shown or opened if user manually closes the shelf. | 
| +  void SetOpenedOrShown(bool opened_or_shown); | 
| + | 
| content::DownloadItem* download() { return download_; } | 
|  | 
| // Returns a string representations of the current download progress sizes. If | 
|  |