| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_SAVE_PAGE_MODEL_H__ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_PAGE_MODEL_H__ |
| 6 #define CHROME_BROWSER_SAVE_PAGE_MODEL_H__ | 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_PAGE_MODEL_H__ |
| 7 | 7 |
| 8 #include "chrome/browser/views/download_item_view.h" | 8 #include "chrome/browser/views/download_item_view.h" |
| 9 | 9 |
| 10 class DownloadItem; | 10 class DownloadItem; |
| 11 class SavePackage; | 11 class SavePackage; |
| 12 | 12 |
| 13 // This class is a model class for DownloadItemView. It provides cancel | 13 // This class is a model class for DownloadItemView. It provides cancel |
| 14 // functionality for saving page, and also the text for displaying saving | 14 // functionality for saving page, and also the text for displaying saving |
| 15 // status. | 15 // status. |
| 16 class SavePageModel : public DownloadItemView::BaseDownloadItemModel { | 16 class SavePageModel : public DownloadItemView::BaseDownloadItemModel { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 27 private: | 27 private: |
| 28 // Saving page management. | 28 // Saving page management. |
| 29 SavePackage* save_; | 29 SavePackage* save_; |
| 30 | 30 |
| 31 // A fake download item for saving page use. | 31 // A fake download item for saving page use. |
| 32 DownloadItem* download_; | 32 DownloadItem* download_; |
| 33 | 33 |
| 34 DISALLOW_EVIL_CONSTRUCTORS(SavePageModel); | 34 DISALLOW_EVIL_CONSTRUCTORS(SavePageModel); |
| 35 }; | 35 }; |
| 36 | 36 |
| 37 #endif // CHROME_BROWSER_SAVE_PAGE_MODEL_H__ | 37 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_PAGE_MODEL_H__ |
| 38 | 38 |
| OLD | NEW |