| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_ | 5 #ifndef CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_ |
| 6 #define CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_ | 6 #define CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_ |
| 7 | 7 |
| 8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 9 | 9 |
| 10 #include "base/scoped_nsobject.h" | 10 #include "base/scoped_nsobject.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 | 44 |
| 45 // The download item model we represent. | 45 // The download item model we represent. |
| 46 scoped_ptr<BaseDownloadItemModel> download_model_; | 46 scoped_ptr<BaseDownloadItemModel> download_model_; |
| 47 | 47 |
| 48 // The objective-c controller object. | 48 // The objective-c controller object. |
| 49 DownloadItemController* item_controller_; // weak, owns us. | 49 DownloadItemController* item_controller_; // weak, owns us. |
| 50 | 50 |
| 51 // For canceling an in progress icon request. | 51 // For canceling an in progress icon request. |
| 52 CancelableRequestConsumerT<int, 0> icon_consumer_; | 52 CancelableRequestConsumerT<int, 0> icon_consumer_; |
| 53 | 53 |
| 54 // Stores the last known name where the file will be saved. |
| 55 FilePath lastFilePath_; |
| 56 |
| 54 DISALLOW_COPY_AND_ASSIGN(DownloadItemMac); | 57 DISALLOW_COPY_AND_ASSIGN(DownloadItemMac); |
| 55 }; | 58 }; |
| 56 | 59 |
| 57 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_ | 60 #endif // CHROME_BROWSER_COCOA_DOWNLOAD_ITEM_MAC_H_ |
| OLD | NEW |