| 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_ITEM_H__ | 5 #ifndef CHROME_BROWSER_DOWNLOAD_SAVE_ITEM_H__ |
| 6 #define CHROME_BROWSER_SAVE_ITEM_H__ | 6 #define CHROME_BROWSER_DOWNLOAD_SAVE_ITEM_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "chrome/browser/save_types.h" | 11 #include "chrome/browser/download/save_types.h" |
| 12 | 12 |
| 13 class SavePackage; | 13 class SavePackage; |
| 14 | 14 |
| 15 // One SaveItem per save file. This is the model class that stores all the | 15 // One SaveItem per save file. This is the model class that stores all the |
| 16 // state for one save file. | 16 // state for one save file. |
| 17 class SaveItem { | 17 class SaveItem { |
| 18 public: | 18 public: |
| 19 enum SaveState { | 19 enum SaveState { |
| 20 WAIT_START, | 20 WAIT_START, |
| 21 IN_PROGRESS, | 21 IN_PROGRESS, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 bool is_success_; | 101 bool is_success_; |
| 102 | 102 |
| 103 SaveFileCreateInfo::SaveFileSource save_source_; | 103 SaveFileCreateInfo::SaveFileSource save_source_; |
| 104 | 104 |
| 105 // Our owning object. | 105 // Our owning object. |
| 106 SavePackage* package_; | 106 SavePackage* package_; |
| 107 | 107 |
| 108 DISALLOW_EVIL_CONSTRUCTORS(SaveItem); | 108 DISALLOW_EVIL_CONSTRUCTORS(SaveItem); |
| 109 }; | 109 }; |
| 110 | 110 |
| 111 #endif // CHROME_BROWSER_SAVE_ITEM_H__ | 111 #endif // CHROME_BROWSER_DOWNLOAD_SAVE_ITEM_H__ |
| 112 | 112 |
| OLD | NEW |